summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Chang <chengjeff@google.com>2022-01-18 18:29:52 +0800
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-14 23:12:52 +0000
commite74a2a320bf896bc30618ce486203bafe453c469 (patch)
tree13de69dc701059a7c0f315c6d05f2cd159fc5beb /tools/aapt2/java/JavaClassGenerator.cpp
parentf2387994151fb5c22c9e645647945e1471fe8ac1 (diff)
[RESTRICT AUTOMERGE] Add hide-non-system-overlay flag for HarmfulAppWarningActivity
A malicious application could overlay the activity. The overlay is able to be tapped through, which can trick the user into starting a harmful activity. The CL added the flag SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS for the activity to prevent the tapjacking/overlay attack. Bug: 205595291 Test: atest CtsHarmfulAppWarningHostTestCases Change-Id: Ia1a1ae0dc451e04bf5c31e3cb8cf30a0d8e32991 (cherry picked from commit a04b3666b8619e09e08646c6d5c529d016cbfb47) (cherry picked from commit f36b7b9f80fde732aa102b04cd8ce6a6db1a3616) Merged-In:Ia1a1ae0dc451e04bf5c31e3cb8cf30a0d8e32991
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions