summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputWindow.cpp
diff options
context:
space:
mode:
author Phil Weaver <pweaver@google.com> 2017-06-26 16:22:26 -0700
committer Phil Weaver <pweaver@google.com> 2017-06-27 00:26:48 +0000
commit5a071983db5269ecaee05da640cfe4aba266863f (patch)
tree0cd36b056c0ca5c3c03c4696b77715417ceed8b7 /services/inputflinger/InputWindow.cpp
parentbe2e363c9ec415056a4716675875e080494ed787 (diff)
Trust navbar panel and accessibility overlays
Fixes: 62048165 Fixes: 62341768 Test: Enable maximum screen display and font size, enable TalkBack. Enable Select to Speak with FAB, enable TalkBack. Change-Id: Ia96373200adf9c5d306e9c61da9c65ba412c9430
Diffstat (limited to 'services/inputflinger/InputWindow.cpp')
-rw-r--r--services/inputflinger/InputWindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/inputflinger/InputWindow.cpp b/services/inputflinger/InputWindow.cpp
index 5e82d75c94..b54752b08b 100644
--- a/services/inputflinger/InputWindow.cpp
+++ b/services/inputflinger/InputWindow.cpp
@@ -46,8 +46,10 @@ bool InputWindowInfo::isTrustedOverlay() const {
|| layoutParamsType == TYPE_MAGNIFICATION_OVERLAY
|| layoutParamsType == TYPE_STATUS_BAR
|| layoutParamsType == TYPE_NAVIGATION_BAR
+ || layoutParamsType == TYPE_NAVIGATION_BAR_PANEL
|| layoutParamsType == TYPE_SECURE_SYSTEM_OVERLAY
- || layoutParamsType == TYPE_DOCK_DIVIDER;
+ || layoutParamsType == TYPE_DOCK_DIVIDER
+ || layoutParamsType == TYPE_ACCESSIBILITY_OVERLAY;
}
bool InputWindowInfo::supportsSplitTouch() const {