Merge "add settings log to user creation actions"

This commit is contained in:
Anna Bauza
2022-12-06 15:25:51 +00:00
committed by Android (Google) Code Review

View File

@@ -1582,6 +1582,7 @@ public class UserSettings extends SettingsPreferenceFragment
openUserDetails(userInfo, false);
return true;
} else if (pref == mAddUser) {
mMetricsFeatureProvider.action(getActivity(), SettingsEnums.ACTION_USER_ADD);
// If we allow both types, show a picker, otherwise directly go to
// flow for full user.
if (mUserCaps.mCanAddRestrictedProfile) {