Added extra to launchFingerprintSetitngs

Enrolling a fingerprint on a provisioned profile would not
show up on the Pixel Imprint screen. The user would need to exit and re-enter
settings in order to see it.

Fixes: 139644416
Test: Verified that the fingerprint shows up after enrolling
with a provisioned profile.

Change-Id: Ic1fb79a90088c73c3aed9d855941ecd890fed793
This commit is contained in:
joshmccloskey
2019-08-23 14:25:07 -07:00
parent f0c69d3b5c
commit df3c6c6b51

View File

@@ -152,6 +152,7 @@ public class FingerprintEnrollFinish extends BiometricEnrollBase {
intent.setPackage(Utils.SETTINGS_PACKAGE_NAME);
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
intent.putExtra(Intent.EXTRA_USER_ID, mUserId);
startActivity(intent);
}