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

@@ -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;
}