diff options
author | Jeff Chang <chengjeff@google.com> | 2022-02-08 18:02:34 +0800 |
---|---|---|
committer | Jeff Chang <chengjeff@google.com> | 2022-02-08 18:04:03 +0800 |
commit | f2d4787451c80b47e6af8ebf274394e2388b713b (patch) | |
tree | 200e5a7d8aa592b3dd0f11811cf7919142ea92ef /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | f1dc5b1ee15cd8e4876239d20512dd17bb340999 (diff) |
[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task
The top-focusable activity resides in the RESUMED state while the app
process is newly created and attached. The behavior may enable UI
hijacking attacks against apps implementing authentication.
This CL disallows the system to resume the activity for the case if it
is not visible or is occluded by other translucent tasks.
Bug: 211481342
Test: atest CtsWindowManagerDeviceTestCases:ActivityLifecycleTests
Change-Id: I7903494cf928b5b5613700262b7c5fff10f3c5a0
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions