diff options
| author | 2022-11-16 14:44:27 +0100 | |
|---|---|---|
| committer | 2022-12-16 10:35:42 +0000 | |
| commit | e8be9e6c628438be499d00ec6d9194ce69c03086 (patch) | |
| tree | ab4232a813e5bcb0f93d28a9bd94282b9d08c58c /libs/androidfw/ApkParsing.cpp | |
| parent | baeececa8bb66aedae8532b554ea4c8f8c0b1e27 (diff) | |
Tell input System Application Overlays are trusted
They can only be created by applications holding
SYSTEM_APPLICATION_OVERLAY permission, which is signature|recents|role
and it was specifically designed to only be used by compontents tightly
integrated with the system, such as device intelligence and digital
wellbeing.
Without this change SAO overlays are in a weird state where they can
stay visible on top of apps that are hiding overlays, but the are
generating FLAG_WINDOW_IS_PARTIALLY_OBSCURED touch events, causing
security sensitve apps to drop the touches.
Bug: 199325240
Bug: 200938390
Test: Manully verified that system caption doesn't block interaction
with permission dialog
Test: atest CtsWindowManagerDeviceTestCases:HideOverlayWindowsTest
Change-Id: I2c88bcd1d064758b901dda7d0ef30bc92b9cd56d
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions