diff options
author | Jeff Chang <chengjeff@google.com> | 2022-01-25 10:37:29 +0800 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-15 18:16:13 +0000 |
commit | 9a1dfd9a9de3bb33cd81e3003251b49f7862f276 (patch) | |
tree | ff00e7c8a81b8bfe3d1a97f15d8e6cefa932c5ee /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | abb41637225c95d5530bff275531a446be66a18c (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 0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457)
Merged-In: I7903494cf928b5b5613700262b7c5fff10f3c5a0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions