Skip to content

Commit 9ea8f39

Browse files
committed
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
1 parent a995b6e commit 9ea8f39

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

services/java/com/android/server/accessibility/AccessibilityManagerService.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,9 +1206,6 @@ private void tryEnableTouchExplorationLocked(final Service service) {
12061206
}
12071207

12081208
private void tryDisableTouchExplorationLocked(Service service) {
1209-
if (!service.canReceiveEvents()) {
1210-
return;
1211-
}
12121209
UserState userState = getUserStateLocked(service.mUserId);
12131210
if (userState.mIsTouchExplorationEnabled) {
12141211
final int serviceCount = userState.mServices.size();

0 commit comments

Comments
 (0)