am d21301e6: Cancelling the stateannouncer when entering button drop target
* commit 'd21301e674377ecd72bd14f32b52c68fabcfd3be': Cancelling the stateannouncer when entering button drop target
This commit is contained in:
commit
1f604dfbc7
2 files changed
+7
No files matched your search
@@ -127,6 +127,9 @@ public abstract class ButtonDropTarget extends TextView
|
||||
mDrawable.setColorFilter(new ColorMatrixColorFilter(mCurrentFilter));
|
||||
setTextColor(mHoverColor);
|
||||
}
|
||||
if (d.stateAnnouncer != null) {
|
||||
d.stateAnnouncer.cancel();
|
||||
}
|
||||
sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_SELECTED);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user