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

Commit b978e884 authored by Justin DeMartino's avatar Justin DeMartino Committed by dianlujitao
Browse files

Fix Build Credentials refactored to use byte[]

Bug: 127810705
Change-Id: I766b553aef0479c286c0eee7302bb5e3b04b85bf
parent d7254545
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1794,7 +1794,9 @@ public class LockSettingsService extends ILockSettings.Stub {
                                        false, 0, userId, progressCallback);
        if ((response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) &&
                                           (userId == UserHandle.USER_OWNER)) {
                retainPassword(credential);
                //TODO(b/127810705): Update to credentials to use byte[]
                String credentialString = credential == null ? null : new String(credential);
                retainPassword(credentialString);
        }
        return response;
    }