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

Commit 9ea8f390 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Explore by touch enabled when screen magnification is on.

1. A recently added check was preventing touch exploration being
   disabled when the last touch exploring service was turned off.
   As a consequence enabling explore by touch was initializing the
   input filter with the magnification and the not disabled
   screen magnification features.
bug:7256223

Change-Id: I9ed5457705d625805462e4d316b2c8a5af9aabca
parent a995b6e3
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1206,9 +1206,6 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
    }

    private void tryDisableTouchExplorationLocked(Service service) {
        if (!service.canReceiveEvents()) {
            return;
        }
        UserState userState = getUserStateLocked(service.mUserId);
        if (userState.mIsTouchExplorationEnabled) {
            final int serviceCount = userState.mServices.size();