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