mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This commit is contained in:
parent
8f7b183454
commit
8b0df6ded5
@ -694,7 +694,7 @@ public class FlutterView extends SurfaceView implements BinaryMessenger, Texture
|
||||
|
||||
@Override
|
||||
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
|
||||
if (mAccessibilityNodeProvider.isAccessibilityEnabled()) {
|
||||
if (mAccessibilityNodeProvider != null && mAccessibilityNodeProvider.isAccessibilityEnabled()) {
|
||||
return mAccessibilityNodeProvider;
|
||||
} else {
|
||||
// TODO(goderbauer): when a11y is off this should return a one-off snapshot of
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user