Revert fixing the style of Choose screen lock wasn’t consistent
in initial setup and deferred setup Bug: 301383804 Test: manually test with reproduciable steps in PO mode: 1. Set up offline and skip initial setup. 2. Navigate to home screen. 4. Connect to WiFi. 3. Sign in corp account during deferred setup. 5. Navigate to screen lock setup. 4. When landing on Choose screen lock, observe the behavior. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fdf80bd5c945f142e8529f104ca8b6d38d66d158) Merged-In: I5d9d1d30d280311875d8bd8604aed0fd0c08ab2c Change-Id: I5d9d1d30d280311875d8bd8604aed0fd0c08ab2c
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
7db0b66d9a
commit
5c7a73a8fb
@@ -121,7 +121,9 @@ public class SetNewPasswordActivity extends Activity implements SetNewPasswordCo
|
||||
|
||||
@Override
|
||||
public void launchChooseLock(Bundle chooseLockFingerprintExtras) {
|
||||
Intent intent = new Intent(this, SetupChooseLockGeneric.class);
|
||||
final boolean isInSetupWizard = WizardManagerHelper.isAnySetupWizard(getIntent());
|
||||
Intent intent = isInSetupWizard ? new Intent(this, SetupChooseLockGeneric.class)
|
||||
: new Intent(this, ChooseLockGeneric.class);
|
||||
intent.setAction(mNewPasswordAction);
|
||||
intent.putExtras(chooseLockFingerprintExtras);
|
||||
if (mCallerAppName != null) {
|
||||
|
||||
@@ -256,12 +256,6 @@ public class SetupChooseLockGeneric extends ChooseLockGeneric {
|
||||
return InternalSetupChooseLockGenericFragment.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isToolbarEnabled() {
|
||||
// Hide the action bar from this page.
|
||||
return false;
|
||||
}
|
||||
|
||||
public static class InternalSetupChooseLockGenericFragment
|
||||
extends ChooseLockGenericFragment {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user