[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:
@@ -78,16 +78,16 @@ public class ChooseLockPassword extends SettingsActivity {
|
||||
|
||||
public static Intent createIntent(Context context, int quality,
|
||||
int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) {
|
||||
Intent intent = createIntent(context, quality, minLength, maxLength, requirePasswordToDecrypt,
|
||||
false);
|
||||
Intent intent = createIntent(context, quality, minLength, maxLength,
|
||||
requirePasswordToDecrypt, false);
|
||||
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, password);
|
||||
return intent;
|
||||
}
|
||||
|
||||
public static Intent createIntent(Context context, int quality,
|
||||
int minLength, final int maxLength, boolean requirePasswordToDecrypt, long challenge) {
|
||||
Intent intent = createIntent(context, quality, minLength, maxLength, requirePasswordToDecrypt,
|
||||
false);
|
||||
Intent intent = createIntent(context, quality, minLength, maxLength,
|
||||
requirePasswordToDecrypt, false);
|
||||
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true);
|
||||
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge);
|
||||
return intent;
|
||||
|
Reference in New Issue
Block a user