Log start of sign in flow
Test: statsd_testdrive https://paste.googleplex.com/4692799132270592 Bug: 315947418 Change-Id: I94a1a44596206c15a5497fd8aec1d8a2628f03e3
This commit is contained in:
@@ -97,6 +97,8 @@ public class PrivateSpaceSetLockFragment extends InstrumentedFragment {
|
|||||||
mMetricsFeatureProvider.action(
|
mMetricsFeatureProvider.action(
|
||||||
getContext(), SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_USE_SCREEN_LOCK);
|
getContext(), SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_USE_SCREEN_LOCK);
|
||||||
// Simply Use default screen lock. No need to handle
|
// Simply Use default screen lock. No need to handle
|
||||||
|
mMetricsFeatureProvider.action(
|
||||||
|
getContext(), SettingsEnums.ACTION_PRIVATE_SPACE_SETUP_ACCOUNT_LOGIN_START);
|
||||||
launchActivityForAction(ACCOUNT_LOGIN_ACTION);
|
launchActivityForAction(ACCOUNT_LOGIN_ACTION);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -66,6 +66,8 @@ public class PrivateSpaceSetupActivity extends FragmentActivity {
|
|||||||
if (userHandle != null) {
|
if (userHandle != null) {
|
||||||
Intent intent = new Intent(this, PrivateProfileContextHelperActivity.class);
|
Intent intent = new Intent(this, PrivateProfileContextHelperActivity.class);
|
||||||
intent.putExtra(EXTRA_ACTION_TYPE, ACCOUNT_LOGIN_ACTION);
|
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);
|
startActivityForResultAsUser(intent, ACCOUNT_LOGIN_ACTION, userHandle);
|
||||||
} else {
|
} else {
|
||||||
Log.w(TAG, "Private profile user handle is null");
|
Log.w(TAG, "Private profile user handle is null");
|
||||||
|
Reference in New Issue
Block a user