summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-09-03 16:07:44 -0700
committer Vishnu Nair <vishnun@google.com> 2021-09-15 18:22:56 +0000
commit062a867e94dbf811ccca02e7a6a0f0e36465694a (patch)
tree356f0f9348df4127e2f3f01f10daa4fc4ff9662a /services/surfaceflinger/RegionSamplingThread.cpp
parent880ca6d5e8d2d73bde500910c437c5020154e93f (diff)
InputFlinger: Add DROP_INPUT and DROP_INPUT_IF_OBSCURED feature flags
If a window has the feature DROP_INPUT set, then all touch and key events directed to the window will be dropped. For touch events, the events will not go to the window behind it. If a window has the feature DROP_INPUT_IF_OBSCURED set, then all touch and key events directed to the window will be dropped if the window is considered partially or fully obscured. These flags are used to enable features that allow for a less trusted interaction model between apps. See the bug for more details. Test: atest libgui_test InputDispatcherDropInputFeatureTest Bug:197364677 Change-Id: I71d7cf5064c8ce4626cff09b92e15ca38b39cbbe
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions