version:MTK 2.3
fix:优化解锁后不能打开管控app update:解锁后显示应用市场等
This commit is contained in:
@@ -257,5 +257,11 @@ public class JGYUtils {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isUnlocked(Context context) {
|
||||
int locked = Settings.System.getInt(context.getContentResolver(), "qch_unlock_ipad", 0);
|
||||
int aihuaUnlock = Settings.System.getInt(context.getContentResolver(), "Aihua_unlock_state", 0);
|
||||
return locked == 1 || aihuaUnlock == 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user