summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorJeff Chang <chengjeff@google.com>2022-03-07 16:47:21 +0800
committerJeff Chang <chengjeff@google.com>2022-03-07 16:48:32 +0800
commit8b7e0c52e883475bd78a4bd1e0ad05c2f3941704 (patch)
treee0a695740aba1a5da2ca86e97c0caa6ec5d182a7 /core/java/android/util/SparseSetArray.java
parent3837076d8451673341a1d5e7c995a28155ea78e8 (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 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions