Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 143f2e4c authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

am 1654f847: am 158fbd3a: Fix bug where pebble app triggers accessibility mode in navbar camera

* commit '1654f847':
  Fix bug where pebble app triggers accessibility mode in navbar camera
parents 06aecf1b 1654f847
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ public class NavigationBarView extends LinearLayout {

        final AccessibilityManager accessibilityManager =
                (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE);
        if (accessibilityManager.isEnabled()) {
        if (accessibilityManager.isEnabled() && accessibilityManager.isTouchExplorationEnabled()) {
            // In accessibility mode, we add a simple click handler since swipe is tough to
            // trigger near screen edges.
            View camera = getCameraButton();