version:1.5.0723
bugfixes: add:优化开发者选项
This commit is contained in:
@@ -1488,6 +1488,7 @@ public class JgyUtils {
|
||||
HashSet<String> pkgSet = new HashSet<>(defaultPackages);
|
||||
if (BuildConfig.DEBUG) {
|
||||
pkgSet.add("com.reqable.android");
|
||||
pkgSet.add("com.ttstd.codetest1");
|
||||
}
|
||||
pkgSet.addAll(pkgs);
|
||||
pkgSet.addAll(getWhitePkgList());
|
||||
@@ -1514,6 +1515,7 @@ public class JgyUtils {
|
||||
HashSet<String> pkgSet = new HashSet<>(defaultPackages);
|
||||
if (BuildConfig.DEBUG) {
|
||||
pkgSet.add("com.reqable.android");
|
||||
pkgSet.add("com.ttstd.codetest1");
|
||||
}
|
||||
pkgSet.addAll(getWhitePkgList());
|
||||
pkgSet.removeIf(TextUtils::isEmpty);
|
||||
@@ -2090,7 +2092,7 @@ public class JgyUtils {
|
||||
* @param state 1打开 0关闭
|
||||
*/
|
||||
public void setDeveloperOptions(int state) {
|
||||
Log.e(TAG, "getDeveloper: state = " + state);
|
||||
Log.e(TAG, "setDeveloperOptions: state = " + state);
|
||||
|
||||
int oldStatu = Settings.System.getInt(crv, CommonConfig.AOLE_ACTION_DEVELOPER_OPTIONS, 0);
|
||||
if (oldStatu == state) {
|
||||
|
||||
Reference in New Issue
Block a user