[Panlingual] Only set description for STS and TB in remove mode

Bug: 301715723
Test: manual
Change-Id: I09403830cad362b4f839645f645cf620e33047fa
This commit is contained in:
Zoey Chen
2023-11-09 03:26:05 +00:00
parent 1742fa2ed0
commit 192d379ace

View File

@@ -192,6 +192,9 @@ class LocaleDragAndDropAdapter
@VisibleForTesting
protected void setCheckBoxDescription(LocaleDragCell dragCell, CheckBox checkbox,
boolean isChecked) {
if (!mRemoveMode) {
return;
}
CharSequence checkedStatus = mContext.getText(
isChecked ? com.android.internal.R.string.checked
: com.android.internal.R.string.not_checked);