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

Commit e3912533 authored by Michele Berionne's avatar Michele Berionne
Browse files

SharedPreferences may not be committed.

Bug: 188847503
Test: make
Change-Id: If34aee33c97566b332fe10cae9caeb48d6c82ce3
Merged-In: If34aee33c97566b332fe10cae9caeb48d6c82ce3
parent 6895ab85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -757,7 +757,7 @@ public class PinStorage extends Handler {
            logv("Deleting PIN for slot %d (if existed)", slotId);
        }

        mLastCommitResult = result && editor.commit();
        mLastCommitResult = editor.commit() && result;
        return mLastCommitResult;
    }