version:1.5.0723

bugfixes:
add:优化开发者选项
This commit is contained in:
2025-07-30 09:35:36 +08:00
parent a03e8b8613
commit 64620b4778
3 changed files with 6 additions and 4 deletions

View File

@@ -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) {