Skip to content

Commit

Permalink
Ensure assistiveTechnologyEnabled is initialized when the android vie…
Browse files Browse the repository at this point in the history
…w is set up (#5793)
  • Loading branch information
jonahwilliams committed Jul 18, 2018
1 parent 3054f31 commit 55b423f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell/platform/android/io/flutter/view/FlutterView.java
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,9 @@ protected void onAttachedToWindow() {
if (mAccessibilityEnabled || mTouchExplorationEnabled) {
ensureAccessibilityEnabled();
}
if (mTouchExplorationEnabled) {
nativeSetAssistiveTechnologyEnabled(mNativeView.get(), true);
}
resetWillNotDraw();
mAccessibilityManager.addAccessibilityStateChangeListener(this);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
Expand Down

0 comments on commit 55b423f

Please sign in to comment.