version:3.0

fix:
update:文件夹增加默认名字
This commit is contained in:
2022-03-07 18:08:51 +08:00
parent f43e348a75
commit e33b21142f
6 changed files with 10 additions and 7 deletions

View File

@@ -2084,6 +2084,7 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
FolderIcon addFolder(CellLayout layout, int container, final int screenId, int cellX,
int cellY) {
final FolderInfo folderInfo = new FolderInfo();
/*修改默认文件夹名*/
folderInfo.title = getText(R.string.folder_name);
// Update the model

View File

@@ -279,9 +279,11 @@ public class LoaderTask implements Runnable {
this.add("com.android.documentsui");
// this.add("com.android.messaging");
this.add("com.android.music");
this.add("com.android.calendar");
this.add("com.android.gallery3d");
this.add("com.android.camera");
this.add("com.android.camera2");
this.add("com.android.calculator");
this.add("com.android.calculator2");
this.add("com.android.settings");
this.add("com.android.stk");
@@ -317,7 +319,7 @@ public class LoaderTask implements Runnable {
} else {
if (TextUtils.isEmpty(whiteList)) {
continue;
} else if (!whiteList.contains(app.getApplicationInfo().packageName)){
} else if (!whiteList.contains(app.getApplicationInfo().packageName)) {
continue;
}
}

View File

@@ -185,7 +185,7 @@ public class ItemClickHandler {
switch (pkg) {
case "com.mediatek.camera":
case "com.android.camera2":
if (Settings.System.getInt(context.getContentResolver(), "qch_app_camera", 1) == 1) {
if (Settings.System.getInt(context.getContentResolver(), "qch_app_camera", 0) == 1) {
ToastUtil.show( "摄像头已禁止使用");
return true;
}
@@ -203,7 +203,7 @@ public class ItemClickHandler {
}
break;
case "com.android.deskclock":
if (Settings.System.getInt(context.getContentResolver(), "qch_app_deskclock", 1) == 1) {
if (Settings.System.getInt(context.getContentResolver(), "qch_app_deskclock", 0) == 1) {
ToastUtil.show( "时钟已禁止使用");
return true;
}