version:1.5.0719

bugfixes:
add:优化websocket,增加锁定显示,优化解锁加锁恢复出厂设置
This commit is contained in:
2025-07-23 14:32:46 +08:00
parent 81e4f050ca
commit a03e8b8613
12 changed files with 189 additions and 115 deletions

View File

@@ -804,6 +804,9 @@ public class JgyUtils {
} else {
Settings.System.putString(context.getContentResolver(), "aole_app_info", String.join(",", pkgSet));
}
if (JgyUtils.isAllWinnerDevice()) {
AllwinnerCubeMdmManager.getInstance().setDisallowNotification(new ArrayList<>(pkgSet));
}
}
public void setAllowPermissionsPackage() {
@@ -816,6 +819,9 @@ public class JgyUtils {
} else {
Settings.System.putString(crv, "aole_app_privilege", String.join(",", pkgSet));
}
if (JgyUtils.isAllWinnerDevice()) {
AllwinnerCubeMdmManager.getInstance().setDefaultPermissions(new ArrayList<>(pkgSet));
}
}
public static final Set<String> DEFAULT_ALLOW_NETWORK_APP_SET = new HashSet<String>() {{
@@ -1384,7 +1390,10 @@ public class JgyUtils {
public void SettingSysData(String data) {
if (TextUtils.isEmpty(data)) {
Log.e(TAG, "SettingSysData: " + "data is empty");
SysSettingUtils.setDisableSetting(mContext);
int locked = Settings.System.getInt(crv, JGYActions.ACTION_QCH_UNLOCK_IPAD, JGYActions.FRAME_CODE_LOCKED);
if (locked==JGYActions.FRAME_CODE_LOCKED) {
SysSettingUtils.setDisableSetting(mContext);
}
SPUtils.put(mContext, JGYActions.ACTION_STATUSBAR_STATUS, "");
} else {
if (JgyUtils.getInstance().getAppPlatform().equals(JgyUtils.ZR6016Tag)) {
@@ -3705,7 +3714,7 @@ public class JgyUtils {
}
Log.e(TAG, "setAllwinnerDefaulBrowser: " + pkg);
if (JgyUtils.isAllWinnerDevice()) {
AllwinnerCubeMdmManager.getInstance().setDefaultInputMethod(pkg);
AllwinnerCubeMdmManager.getInstance().setDefaultBrowser(pkg);
}
}
}