Add locale recommendation metrics

Bug: 275306065
Test: atest SettingsRoboTests:com.android.settings.localepicker
Change-Id: I7263c292eee51475274585fe4c0864f82fabf7d2
This commit is contained in:
Allen Su
2023-12-25 02:56:30 +00:00
parent b1ab7f0373
commit 30e1bf61b7
7 changed files with 31 additions and 0 deletions

View File

@@ -176,6 +176,8 @@ public class AppLocalePickerActivity extends SettingsBaseActivity
localeInfo.getFullNameNative()),
getString(R.string.desc_system_locale_addition),
localeTag);
mMetricsFeatureProvider.action(this,
SettingsEnums.ACTION_NOTIFICATION_FOR_SYSTEM_LOCALE);
}
} catch (PackageManager.NameNotFoundException e) {
Log.e(TAG, "Unable to find info for package: " + mPackageName);