Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d2d3542 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by android-build-merger
Browse files

Merge "Change factoryReset to succeed for Settings" into qt-dev

am: 7fc7f9ce

Change-Id: Iaec2ead1a4ba9a947d00d4dd92a303889b16147d
parents 24c57b6a 7fc7f9ce
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -6901,8 +6901,10 @@ public class ConnectivityService extends IConnectivityManager.Stub

        final int userId = UserHandle.getCallingUserId();

        Binder.withCleanCallingIdentity(() -> {
            final IpMemoryStore ipMemoryStore = IpMemoryStore.getMemoryStore(mContext);
            ipMemoryStore.factoryReset();
        });

        // Turn airplane mode off
        setAirplaneMode(false);