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 int userId = UserHandle.getCallingUserId();
|
||||||
|
|
||||||
final IpMemoryStore ipMemoryStore = IpMemoryStore.getMemoryStore(mContext);
|
Binder.withCleanCallingIdentity(() -> {
|
||||||
ipMemoryStore.factoryReset();
|
final IpMemoryStore ipMemoryStore = IpMemoryStore.getMemoryStore(mContext);
|
||||||
|
ipMemoryStore.factoryReset();
|
||||||
|
});
|
||||||
|
|
||||||
// Turn airplane mode off
|
// Turn airplane mode off
|
||||||
setAirplaneMode(false);
|
setAirplaneMode(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user