diff options
| author | 2022-01-27 16:20:46 +0000 | |
|---|---|---|
| committer | 2022-02-16 18:58:24 +0000 | |
| commit | 122c4d2da0405be75ae8c249e19ba692722c6e13 (patch) | |
| tree | 53e321573049b1300ef4af87b4463034a795f2b8 /libs/gui/BLASTBufferQueue.cpp | |
| parent | eb59e4756dd3b5518ad2ca8a99ebdf53daaccfee (diff) | |
SurfaceControl: Add setDropInputMode api
Introduces an API to drop input events on this SurfaceControl. This
policy will be inherited by its children. The caller must hold the
ACCESS_SURFACE_FLINGER permission.
Options include:
ALL: SurfaceControl and its children will not receive any
input regardless of whether it has a valid input channel.
These policies are used to enable features that allow for a less trusted
interaction model between apps. See the bug for more details.
Note: this backport does not include the OBSCURED option since its
not needed for the security fix.
Test: atest libgui_test InputDispatcherDropInputFeatureTest
Bug: 197296414
Merged-In: I443741d5ab51a45d37fb865f11c433c436d96c1e
Change-Id: I443741d5ab51a45d37fb865f11c433c436d96c1e
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions