[LockScreenSetup] Start SUW-style screens in setup flow
Implement the new overloaded methods in the setup-specific screens so that the SUW-styled screens will be started instead of the regular ones as seen in Settings. Bug: 20304053 Change-Id: I68e778e6421cfe08e20c9b4af9ed98e0f5ebcee1
This commit is contained in:
@@ -403,7 +403,7 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
maxLength, requirePasswordToDecrypt, challenge);
|
||||
}
|
||||
|
||||
private Intent getLockPasswordIntent(Context context, int quality, int minLength,
|
||||
protected Intent getLockPasswordIntent(Context context, int quality, int minLength,
|
||||
final int maxLength, boolean requirePasswordToDecrypt, String password) {
|
||||
return ChooseLockPassword.createIntent(context, quality, minLength, maxLength,
|
||||
requirePasswordToDecrypt, password);
|
||||
@@ -420,7 +420,7 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
return ChooseLockPattern.createIntent(context, requirePassword, challenge);
|
||||
}
|
||||
|
||||
private Intent getLockPatternIntent(Context context, final boolean requirePassword,
|
||||
protected Intent getLockPatternIntent(Context context, final boolean requirePassword,
|
||||
final String pattern) {
|
||||
return ChooseLockPattern.createIntent(context, requirePassword, pattern);
|
||||
}
|
||||
|
Reference in New Issue
Block a user