[Panlingual] Only set description for STS and TB in remove mode
Bug: 301715723 Test: manual Change-Id: I09403830cad362b4f839645f645cf620e33047fa
This commit is contained in:
@@ -192,6 +192,9 @@ class LocaleDragAndDropAdapter
|
|||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
protected void setCheckBoxDescription(LocaleDragCell dragCell, CheckBox checkbox,
|
protected void setCheckBoxDescription(LocaleDragCell dragCell, CheckBox checkbox,
|
||||||
boolean isChecked) {
|
boolean isChecked) {
|
||||||
|
if (!mRemoveMode) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
CharSequence checkedStatus = mContext.getText(
|
CharSequence checkedStatus = mContext.getText(
|
||||||
isChecked ? com.android.internal.R.string.checked
|
isChecked ? com.android.internal.R.string.checked
|
||||||
: com.android.internal.R.string.not_checked);
|
: com.android.internal.R.string.not_checked);
|
||||||
|
Reference in New Issue
Block a user