version:3.3.9
fix:修复断网问题 update:
This commit is contained in:
@@ -74,8 +74,8 @@ android {
|
||||
|
||||
official {
|
||||
flavorDimensions "default"
|
||||
versionCode 78
|
||||
versionName "3.3.8"
|
||||
versionCode 79
|
||||
versionName "3.3.9"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user