summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2025-01-31 10:06:29 +0900
committer Kazuki Takise <takise@google.com> 2025-02-05 18:50:14 +0900
commit8d487e5a40a26fcaf31e3b5b0f2bc40c92cd9831 (patch)
treec0a18d3bb53b627d1163de32df5150c3ae414d94 /packages/Shell
parente9c2327ceacd6559dfb1dc9746d370f92a10fe90 (diff)
Stop all activities behind presentation
There's a security concern with Presentation API and Connected Displays (CD), where malicious apps can show a presentation on other apps and do "tap jacking". This is a new scenario with CD because apps can now be launched on external displays in extended/projected mode. To prevent this problem, we've agreed that we should stop all the activities below a presentation on the same display. This way, even if a transparent presentation is created, other apps become completely hidden, and the user won't inject input events intended for other apps. Flag: com.android.window.flags.enable_presentation_for_connected_displays Bug: 393454633 Test: WindowManagerServiceTests#testPresentationHidesActivitiesBehind Change-Id: I26108aa0bc0cac320c8fb50ea67543981ab77e23
Diffstat (limited to 'packages/Shell')
0 files changed, 0 insertions, 0 deletions