forked from firka/flutter
Ensure assistiveTechnologyEnabled is initialized when the android view is set up (flutter/engine#5793)
This commit is contained in:
@@ -745,6 +745,9 @@ public class FlutterView
|
||||
if (mAccessibilityEnabled || mTouchExplorationEnabled) {
|
||||
ensureAccessibilityEnabled();
|
||||
}
|
||||
if (mTouchExplorationEnabled) {
|
||||
nativeSetAssistiveTechnologyEnabled(mNativeView.get(), true);
|
||||
}
|
||||
resetWillNotDraw();
|
||||
mAccessibilityManager.addAccessibilityStateChangeListener(this);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
|
||||
Reference in New Issue
Block a user