Merge "Change factoryReset to succeed for Settings" into qt-dev
am: 015f25c3fa
Change-Id: Iea895d4bbbae2fd6ddaf0c7627c8066c0a7e6033
This commit is contained in:
@@ -6899,8 +6899,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