Merge "Log start of sign in flow" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb49d847a2
@@ -97,6 +97,8 @@ public class PrivateSpaceSetLockFragment extends InstrumentedFragment {
|
||||
mMetricsFeatureProvider.action(
|
||||
getContext(), SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_USE_SCREEN_LOCK);
|
||||
// Simply Use default screen lock. No need to handle
|
||||
mMetricsFeatureProvider.action(
|
||||
getContext(), SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_ACCOUNT_LOGIN_START);
|
||||
launchActivityForAction(ACCOUNT_LOGIN_ACTION);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -66,6 +66,8 @@ public class PrivateSpaceSetupActivity extends FragmentActivity {
|
||||
if (userHandle != null) {
|
||||
Intent intent = new Intent(this, PrivateProfileContextHelperActivity.class);
|
||||
intent.putExtra(EXTRA_ACTION_TYPE, ACCOUNT_LOGIN_ACTION);
|
||||
mMetricsFeatureProvider.action(
|
||||
this, SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_ACCOUNT_LOGIN_START);
|
||||
startActivityForResultAsUser(intent, ACCOUNT_LOGIN_ACTION, userHandle);
|
||||
} else {
|
||||
Log.w(TAG, "Private profile user handle is null");
|
||||
|
||||
Reference in New Issue
Block a user