diff options
author | Jeff Chang <chengjeff@google.com> | 2022-03-07 16:47:21 +0800 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-21 17:07:48 +0000 |
commit | ce1d35867d89e382c1ca56e29d8b1a52487bd760 (patch) | |
tree | 7bc40db79e7ee66dc40f3c76cfa169dceeb9f01d /rs/java/android/renderscript/ProgramFragment.java | |
parent | f20ddf162aa78db83917ab70d1c9c05a6ab59677 (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
(cherry picked from commit 8b7e0c52e883475bd78a4bd1e0ad05c2f3941704)
Merged-In: I7903494cf928b5b5613700262b7c5fff10f3c5a0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions