am 158fbd3a: Fix bug where pebble app triggers accessibility mode in navbar camera
* commit '158fbd3ab80eb75241fda9ada84eea43016d40ed': Fix bug where pebble app triggers accessibility mode in navbar camera
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user