Merge "Change factoryReset to succeed for Settings"
This commit is contained in:
@@ -6892,8 +6892,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
|
||||
final int userId = UserHandle.getCallingUserId();
|
||||
|
||||
final IpMemoryStore ipMemoryStore = IpMemoryStore.getMemoryStore(mContext);
|
||||
ipMemoryStore.factoryReset();
|
||||
Binder.withCleanCallingIdentity(() -> {
|
||||
final IpMemoryStore ipMemoryStore = IpMemoryStore.getMemoryStore(mContext);
|
||||
ipMemoryStore.factoryReset();
|
||||
});
|
||||
|
||||
// Turn airplane mode off
|
||||
setAirplaneMode(false);
|
||||
|
||||
Reference in New Issue
Block a user