[Regional Preference] Remove string from metrics

Bug: 296544040
Test: atest NumberingSystemItemControllerTest
Change-Id: I1e1dd678011a15bc22b167ddd12651a22f62dea9
This commit is contained in:
Zoey Chen
2023-11-21 04:44:35 +00:00
parent 1ffc3df42a
commit a76af961b2
5 changed files with 13 additions and 17 deletions

View File

@@ -232,8 +232,7 @@ class LocaleDragAndDropAdapter
if (fromPosition != toPosition) {
FeatureFactory.getFeatureFactory().getMetricsFeatureProvider()
.action(mContext, SettingsEnums.ACTION_REORDER_LANGUAGE,
mDragLocale.getLocale().toLanguageTag() + " move to " + toPosition);
.action(mContext, SettingsEnums.ACTION_REORDER_LANGUAGE);
}
notifyItemChanged(fromPosition); // to update the numbers
@@ -275,8 +274,7 @@ class LocaleDragAndDropAdapter
localeInfo = mFeedItemList.get(i);
if (localeInfo.getChecked()) {
FeatureFactory.getFeatureFactory().getMetricsFeatureProvider()
.action(mContext, SettingsEnums.ACTION_REMOVE_LANGUAGE,
localeInfo.getLocale().toLanguageTag());
.action(mContext, SettingsEnums.ACTION_REMOVE_LANGUAGE);
mFeedItemList.remove(i);
}
}