Make BadgedImageView selectable when talkback is on

The bubble icons can be focused when using a11y service.

Bug: 152009675
Test: manual test
Change-Id: I39e0a6ea6f1d47fa266e9675d7020fbfd1b48235
This commit is contained in:
mincheli
2020-03-27 12:49:26 +08:00
committed by Mady Mellor
parent 01be396381
commit 7f17c70d03

View File

@@ -98,6 +98,8 @@ public class BadgedImageView extends ImageView {
Path iconPath = PathParser.createPathFromPathData(
getResources().getString(com.android.internal.R.string.config_icon_mask));
mDotRenderer = new DotRenderer(mBubbleBitmapSize, iconPath, DEFAULT_PATH_SIZE);
setFocusable(true);
}
/**