OSDN Git Service

Rewire BiometricEnrollActivity to setup pages
authorpastychang <pastychang@google.com>
Thu, 7 Mar 2019 03:27:31 +0000 (11:27 +0800)
committerMaurice Lam <yukl@google.com>
Fri, 8 Mar 2019 00:48:35 +0000 (16:48 -0800)
commit046a97eddeaeacdaaf86c8346c55371bad053deb
treedde523a80bd48491709055fcf63b0942d5f10607
parentf574d22f2348fd47ead9b70162e12590a6d91454
Rewire BiometricEnrollActivity to setup pages

When running in setup flow:
- If fingerprint enrollment is desired, go to
  SetupFingerprintEnrollIntroduction
- Makes sure WizardManagerHelper.copyWizardManagerExtras is called
  to propagate the extras from the incoming intent, propagating
  extras like whether we are in initial / deferred setup flow, theme,
  etc.
- Forward the result code in BiometricEnrollActivity using
  FLAG_ACTIVITY_FORWARD_RESULT

Bug: 120797018
Test: Manual
Change-Id: Ibc0ecc035141d62339f5f664346ed108570e0905
src/com/android/settings/biometrics/BiometricEnrollActivity.java
src/com/android/settings/biometrics/BiometricEnrollIntroduction.java
src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java