Add handoff activity to parental consent flow.
Bug: 188847063 Test: manual Change-Id: Ib6f38aae487a536fb8e85d608a22378a17c1bc64
This commit is contained in:
@@ -176,6 +176,19 @@ public class BiometricUtils {
|
||||
return intent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start an activity that prompts the user to hand the device to their parent or guardian.
|
||||
* @param context caller's context
|
||||
* @param activityIntent The intent that started the caller's activity
|
||||
* @return Intent for starting BiometricHandoffActivity
|
||||
*/
|
||||
public static Intent getHandoffToParentIntent(@NonNull Context context,
|
||||
@NonNull Intent activityIntent) {
|
||||
final Intent intent = new Intent(context, BiometricHandoffActivity.class);
|
||||
WizardManagerHelper.copyWizardManagerExtras(activityIntent, intent);
|
||||
return intent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param activity Reference to the calling activity, used to startActivity
|
||||
* @param intent Intent pointing to the enrollment activity
|
||||
|
Reference in New Issue
Block a user