Fixing Cancel target being seen as Remove by accessibility
Bug: 115854326 Change-Id: Ic52d7253ea47d65b18cc38c4a2242ab15c4e35fd
This commit is contained in:
1 parent
5616670a5a
commit
422885d2ca
1 file changed
+1
@@ -91,6 +91,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
mText = getResources().getString(canRemove(item)
|
||||
? R.string.remove_drop_target_label
|
||||
: android.R.string.cancel);
|
||||
setContentDescription(mText);
|
||||
requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user