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)
(cherry picked from commit f63ee3bb84b6a6ebf34475f433471cf4c28fb3c7)
Merged-In: I73abb9ec05af95bc14f887ae825a9ada9600f771
1 file changed