mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 22:13:31 +00:00
Bug 812480 - [AccessFu] Fix accessibility announcements in Android 4.2, r=blassey
This commit is contained in:
parent
2075bb969a
commit
16066aef0e
@ -166,7 +166,10 @@ public class GeckoAccessibility {
|
||||
view.performAccessibilityAction(AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null);
|
||||
break;
|
||||
case AccessibilityEvent.TYPE_ANNOUNCEMENT:
|
||||
sendDirectAccessibilityEvent(eventType, message);
|
||||
final AccessibilityEvent accEvent = AccessibilityEvent.obtain(eventType);
|
||||
view.onInitializeAccessibilityEvent(accEvent);
|
||||
populateEventFromJSON(accEvent, message);
|
||||
view.getParent().requestSendAccessibilityEvent(view, accEvent);
|
||||
break;
|
||||
default:
|
||||
view.sendAccessibilityEvent(eventType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user