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

Commit 8a9be07f authored by Jason Chang's avatar Jason Chang
Browse files

Fix the style of Choose screen lock wasn’t consistent in initial

setup and deferred setup

Make the style the same as DO mode SUW's Choose screen lock.

Bug: 237347124

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.

Change-Id: I03c7ba5e129fab121b4144fef0aa9a32dd95bcb5
parent 94f75923
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -121,9 +121,7 @@ public class SetNewPasswordActivity extends Activity implements SetNewPasswordCo

    @Override
    public void launchChooseLock(Bundle chooseLockFingerprintExtras) {
        final boolean isInSetupWizard = WizardManagerHelper.isAnySetupWizard(getIntent());
        Intent intent = isInSetupWizard ? new Intent(this, SetupChooseLockGeneric.class)
                : new Intent(this, ChooseLockGeneric.class);
        Intent intent = new Intent(this, SetupChooseLockGeneric.class);
        intent.setAction(mNewPasswordAction);
        intent.putExtras(chooseLockFingerprintExtras);
        if (mCallerAppName != null) {
+6 −0
Original line number Diff line number Diff line
@@ -256,6 +256,12 @@ 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