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

Commit b8f90a0e authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Test the correct return code from call to cryptfs."

parents 478e45be da6aedf7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1792,7 +1792,7 @@ class MountService extends IMountService.Stub
        try {
            event = mConnector.execute("cryptfs", "checkpw", password);

            final int code = event.getCode();
            final int code = Integer.parseInt(event.getMessage());
            if (code == 0) {
                // Decrypt was successful. Post a delayed message before restarting in order
                // to let the UI to clear itself