Merge "[Panlingual] Only set description for STS and TB in remove mode" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
34bca0fc59
@@ -194,6 +194,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