diff options
author | Jeff Chang <chengjeff@google.com> | 2022-01-18 18:29:52 +0800 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-18 05:08:49 +0000 |
commit | d1fd3145d0af96da07ab9536f44c142936b06683 (patch) | |
tree | 953875829d718ac20dd1fe30b16f4a51f229f611 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e534e768b17c5e7535bbf9907e373917067e45dc (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 2c87a8a7cec276a9e4cf88e0ae410fd43ffb0b38)
Merged-In:Ia1a1ae0dc451e04bf5c31e3cb8cf30a0d8e32991
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions