Merge "Revert fixing the style of Choose screen lock wasn’t consistent in initial setup and deferred setup" into udc-qpr-dev
This commit is contained in:
commit
2943132aff
2 changed files with 3 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue