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

Commit 7aaf27bd authored by Toni Barzic's avatar Toni Barzic Committed by android-build-merger
Browse files

Merge \\"Clear calling identity before calling mountService\\" into nyc-dev am: b2a45c00

am: 0fd4da49

Change-Id: I6dac848a3d431917e8b6cdbc6f75617c2330cdda
parents 0447574d 0fd4da49
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1145,7 +1145,13 @@ public class LockSettingsService extends ILockSettings.Stub {

    private void fixateNewestUserKeyAuth(int userId)
            throws RemoteException {
        getMountService().fixateNewestUserKeyAuth(userId);
        final IMountService mountService = getMountService();
        final long callingId = Binder.clearCallingIdentity();
        try {
            mountService.fixateNewestUserKeyAuth(userId);
        } finally {
            Binder.restoreCallingIdentity(callingId);
        }
    }

    @Override