[Panlingual] Change the metric's string in Languages

Bug: 279915462
Test: manual
Change-Id: I8e59f9acb068640da64d2a29cc6074b388994554
This commit is contained in:
Zoey Chen
2023-06-30 02:59:10 +00:00
parent 81edf4d6f1
commit 6358f613cf
2 changed files with 4 additions and 4 deletions

View File

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