diff options
| author | 2022-09-05 21:38:50 +0800 | |
|---|---|---|
| committer | 2022-09-19 04:07:08 +0000 | |
| commit | f63ee3bb84b6a6ebf34475f433471cf4c28fb3c7 (patch) | |
| tree | 34c399d0d6ceb2ca5c485869d4b515eb5bfd0d64 /libs/androidfw/StringPool.cpp | |
| parent | 1ee47fe22436ae0bcb7fbeb705b34c5f9ac38212 (diff) | |
Allow activity to be reparent while allowTaskReparenting is applied
Any malicious application could hijack tasks by
android:allowTaskReparenting. This vulnerability can perform UI
spoofing or spying on user’s activities.
This CL only allows activities to be reparent while
android:allowTaskReparenting is applied and the affinity of activity
is same with the target task.
Bug: 240663194
Test: atest IntentTests
Change-Id: I73abb9ec05af95bc14f887ae825a9ada9600f771
Merged-In: I73abb9ec05af95bc14f887ae825a9ada9600f771
(cherry picked from commit f19d69f26fefb95d2f349cc66459691f434ac0a6)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions