version:3.3.9

fix:修复断网问题
update:
This commit is contained in:
2025-07-31 09:51:39 +08:00
parent 87f728c386
commit 350349a94d
3 changed files with 6 additions and 3 deletions

View File

@@ -74,8 +74,8 @@ android {
official {
flavorDimensions "default"
versionCode 78
versionName "3.3.8"
versionCode 79
versionName "3.3.9"
}
}

View File

@@ -145,6 +145,9 @@ public class MainService extends BaseRxService implements MainSContact.MainView,
// Settings.Global.putInt(getContentResolver(), Settings.Global.ADB_ENABLED, 1);
// Settings.System.putInt(getContentResolver(), CommonConfig.AOLE_ACTION_DEVELOPER_OPTIONS, 1);
// }
// TODO: 2025/7/25 网络问题修复 ,接口弃用
Settings.System.putString(getContentResolver(), CommonConfig.AOLE_ACTION_NETWORK_DISALLOW, "");
Settings.System.putString(getContentResolver(), CommonConfig.AOLE_ACTION_NETWORK_ALLOW, "");
boolean reboot = mMMKV.decodeBool(CommonConfig.DEVICES_REBOOT, false);
Log.e(TAG, "onCreate: reboot = " + reboot);

View File

@@ -1294,7 +1294,7 @@ public class JGYUtils {
}).collect(Collectors.toCollection(HashSet::new));
String disString = String.join(",", packageSet);
Log.e(TAG, "oneKeyDisconnection: " + disString);
Settings.System.putString(mContext.getContentResolver(), CommonConfig.AOLE_ACTION_NETWORK_DISALLOW, disString);
// Settings.System.putString(mContext.getContentResolver(), CommonConfig.AOLE_ACTION_NETWORK_DISALLOW, disString);
}
public void restorrNetwork() {