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

Commit af35434a authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Throw exception when gatekeeper fails"

parents 456ffd24 95f3c1db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -590,8 +590,8 @@ public class SyntheticPasswordManager {
            throw new IllegalStateException("Failed to create new SID for user", e);
        }
        if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) {
            Slog.e(TAG, "Fail to create new SID for user " + userId);
            return;
            throw new IllegalStateException("Fail to create new SID for user " + userId
                    + " response: " + response.getResponseCode());
        }
        saveSyntheticPasswordHandle(response.getPayload(), userId);
    }