diff options
author | Conley Owens <cco3@android.com> | 2014-04-23 13:50:03 -0700 |
---|---|---|
committer | Conley Owens <cco3@android.com> | 2014-04-23 13:51:20 -0700 |
commit | 51eb29fa9a2ffe9c5adb9ea25bfbd51992ff16a4 (patch) | |
tree | 2ca1f594e71fa7b8a0b0bd1c1989818eade1f0c1 /services/inputflinger/InputWindow.h | |
parent | e4d9761196beb35ad225e8d3fb60ba3582c86cc6 (diff) | |
download | frameworks_native-51eb29fa9a2ffe9c5adb9ea25bfbd51992ff16a4.zip frameworks_native-51eb29fa9a2ffe9c5adb9ea25bfbd51992ff16a4.tar.gz frameworks_native-51eb29fa9a2ffe9c5adb9ea25bfbd51992ff16a4.tar.bz2 |
Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay
This fixes a bug where a View with filterTouchesWhenObscured will have
all touches filtered when in magnification accessibility mode. This is
due to magnification being a separate Window over top of the running
Activity. The method onFilterTouchEventForSecurity in View will then
always return false when filterTouchesWhenObscured is enabled on the
View. By adding the magnification Window to the list of Trusted Overlays
we can ensure that touches will work properly with this property
enabled.
This corresponds to AOSP change
I07706588a625682d05da5cb19f401139eb08a54c
Change-Id: Iba095433a1f9045349d1b47a58a33b850ed31c97
Diffstat (limited to 'services/inputflinger/InputWindow.h')
-rw-r--r-- | services/inputflinger/InputWindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/inputflinger/InputWindow.h b/services/inputflinger/InputWindow.h index 9618ffe..5879c84 100644 --- a/services/inputflinger/InputWindow.h +++ b/services/inputflinger/InputWindow.h @@ -106,6 +106,7 @@ struct InputWindowInfo { TYPE_NAVIGATION_BAR = FIRST_SYSTEM_WINDOW+19, TYPE_VOLUME_OVERLAY = FIRST_SYSTEM_WINDOW+20, TYPE_BOOT_PROGRESS = FIRST_SYSTEM_WINDOW+21, + TYPE_MAGNIFICATION_OVERLAY = FIRST_SYSTEM_WINDOW+22, LAST_SYSTEM_WINDOW = 2999, }; |