bugfixes:修复应用安装开关问题,修改打开之后不会删除应用,id管控默认写入一条无效数据,修复应用安装之后不能联网的问题
This commit is contained in:
2024-10-15 09:30:58 +08:00
parent c6bec5cd43
commit c360344acc
12 changed files with 158 additions and 53 deletions

View File

@@ -986,7 +986,8 @@ public class SysSettingUtils {
}
}
int is_storeinstall = snSetting.getIs_storeinstall();
Settings.System.putInt(context.getContentResolver(), CommonConfig.AOLE_APP_ALLOW_INSTALL, is_storeinstall);
// TODO: 2024/10/12 待更换为 AOLEYUN_APPSTORE_INSTALL
Settings.System.putInt(context.getContentResolver(), CommonConfig.AOLEYUN_APPSTORE_INSTALL, is_storeinstall);
int is_usb = snSetting.getIs_usb();
setUsb(context, is_usb);
int is_bluetooth_file = snSetting.getIs_bluetooth_file();
@@ -1008,7 +1009,7 @@ public class SysSettingUtils {
if (null != c) {
Log.e("getTimeControl", c.toString());
}
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLE_APP_ALLOW_INSTALL, 1);
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLEYUN_APPSTORE_INSTALL, 1);
setUsb(context, 0);
setBluetoothTransmission(context, 0);
// JGYUtils.getInstance().setDeveloperOptions(0);