mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Ensure assistiveTechnologyEnabled is initialized when the android view is set up (flutter/engine#5793)
This commit is contained in:
parent
c649bff5af
commit
9f7eec7f7a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user