Improves flow for fingerprint

This reduces the # of screens, and makes the backup lock choice
for fingerprint more obvious that it is a backup.

bug:26377096
Change-Id: I4e75e1f3302c286587de106bcdf43537bda03390
This commit is contained in:
Udam Saini
2016-01-25 08:06:57 -08:00
parent 3833c6f8ec
commit bf1483c383
4 changed files with 70 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ import android.widget.Button;
import com.android.internal.logging.MetricsLogger;
import com.android.settings.R;
import com.android.settings.SetupChooseLockGeneric;
import com.android.settings.SetupWizardUtils;
import com.android.setupwizardlib.view.NavigationBar;
@@ -30,8 +31,8 @@ public class SetupFingerprintEnrollIntroduction extends FingerprintEnrollIntrodu
implements NavigationBar.NavigationBarListener {
@Override
protected Intent getOnboardIntent() {
final Intent intent = new Intent(this, SetupFingerprintEnrollOnboard.class);
protected Intent getChooseLockIntent() {
Intent intent = new Intent(this, SetupChooseLockGeneric.class);
SetupWizardUtils.copySetupExtras(getIntent(), intent);
return intent;
}