version:2.9
fix: update:爱华解锁后不删除应用
This commit is contained in:
@@ -2,6 +2,9 @@ package com.aoleyun.sn.comm;
|
||||
|
||||
|
||||
public class CommonConfig {
|
||||
/*爱华解锁标识*/
|
||||
public final static String AIHUA_UNLOCK = "Aihua_unlock_state";
|
||||
|
||||
//保存的用户信息
|
||||
/*用户id*/
|
||||
public final static String ADMIN_ID = "admin_id";
|
||||
@@ -52,6 +55,8 @@ public class CommonConfig {
|
||||
* 管控系统指令
|
||||
*/
|
||||
|
||||
/*电话白名单*/
|
||||
|
||||
/*USB模式-充电*/
|
||||
public final static String AOLE_ACTION_USB_USB_CHARGE = "aole_action_usb_usb_charge";
|
||||
/*USB模式-MTP*/
|
||||
|
||||
@@ -1315,6 +1315,10 @@ public class JGYUtils {
|
||||
if (locked == 1) {
|
||||
return;
|
||||
}
|
||||
int aihuaUnlock = Settings.Global.getInt(mContext.getContentResolver(), CommonConfig.AIHUA_UNLOCK, 0);
|
||||
if (aihuaUnlock == 1) {
|
||||
return;
|
||||
}
|
||||
Log.e(TAG, "deleteOtherApp: " + "start");
|
||||
String[] result_white = new String[]{};
|
||||
String[] result_forbid = new String[]{};
|
||||
|
||||
Reference in New Issue
Block a user