Introduce LockscreenCredential
Bug: 65239740 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password Change-Id: Icb73d639291d6d2eda8015e18e93d0906f916bb2
This commit is contained in:
@@ -727,7 +727,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
|
||||
public void onPatternDetected(List<LockPatternView.Cell> pattern) {
|
||||
mLockPatternView.setEnabled(false);
|
||||
if (pattern.size() >= MIN_LENGTH_BEFORE_REPORT) {
|
||||
new DecryptTask().execute(LockPatternUtils.patternToString(pattern));
|
||||
new DecryptTask().execute(new String(LockPatternUtils.patternToByteArray(pattern)));
|
||||
} else {
|
||||
// Allow user to make as many of these as they want.
|
||||
fakeUnlockAttempt(mLockPatternView);
|
||||
|
Reference in New Issue
Block a user