1.4.0320 修复yxpd1 不删除默认桌面,默认写入sn为激活码,默认启动九学王服务

This commit is contained in:
2024-03-21 10:16:32 +08:00
parent 124696a9dd
commit ba91b973e7
11 changed files with 101 additions and 24 deletions

View File

@@ -899,7 +899,10 @@ public class SysSettingUtils {
Settings.Global.putInt(context.getContentResolver(), CommonConfig.AOLEYUN_APPSTORE_INSTALL, 1);
setUsb(context, 0);
setBluetooth(context, 0);
JGYUtils.getInstance().setDeveloperOptions(1);
int status = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_DEVELOPER_OPTIONS, 1);
if (status != 0) {
JGYUtils.getInstance().setDeveloperOptions(1);
}
setCanReset(context, 0);
setActionBar(context, 0);
setNavigationBar(context, 0);