From 6170cca05eb13cfb44c8d13e7a447cd24f27a62c Mon Sep 17 00:00:00 2001 From: Svetoslav Date: Tue, 17 Jun 2014 14:47:16 -0700 Subject: Not touchable windows should not hide windows behind When computing which windows to report for accessibility we were not reporting windows behind non touchable ones. However, if a window is not-touchable the touch events go to the window behind it. Hence, a not-touchable window should not affect the reproted windows for accessibility. Change-Id: I213a32b33b0986a73d8bbdf0a3e40e6ca6e4261b --- services/core/java/com/android/server/wm/AccessibilityController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/core/java/com/android/server/wm/AccessibilityController.java b/services/core/java/com/android/server/wm/AccessibilityController.java index 6cb6b7690d66..d05d0c714126 100644 --- a/services/core/java/com/android/server/wm/AccessibilityController.java +++ b/services/core/java/com/android/server/wm/AccessibilityController.java @@ -961,8 +961,6 @@ final class AccessibilityController { // If the window is not touchable, do not report it but take into account // the space it takes since the content behind it cannot be touched. if ((flags & WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE) != 0) { - unaccountedSpace.op(boundsInScreen, unaccountedSpace, - Region.Op.DIFFERENCE); continue; } -- cgit v1.2.3-59-g8ed1b