1.4.0329 G10p增加 com.gaomuxuexi34

This commit is contained in:
2024-04-02 16:25:55 +08:00
parent ba91b973e7
commit 08f5867864
3 changed files with 13 additions and 7 deletions

View File

@@ -874,9 +874,9 @@ public class SysSettingUtils {
}
}
int is_storeinstall = snSetting.getIs_storeinstall();
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLEYUN_APPSTORE_INSTALL, is_storeinstall);
Settings.System.putInt(context.getContentResolver(), CommonConfig.AOLE_APP_ALLOW_INSTALL, is_storeinstall);
int is_usb = snSetting.getIs_usb();
setUsb(context, changeNum(is_usb));
setUsb(context, is_usb);
int is_bluetooth_file = snSetting.getIs_bluetooth_file();
setBluetooth(context, changeNum(is_bluetooth_file));
int is_developer = snSetting.getIs_developer();
@@ -896,7 +896,7 @@ public class SysSettingUtils {
if (null != c) {
Log.e("getTimeControl", c.toString());
}
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLEYUN_APPSTORE_INSTALL, 1);
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLE_APP_ALLOW_INSTALL, 1);
setUsb(context, 0);
setBluetooth(context, 0);
int status = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_DEVELOPER_OPTIONS, 1);