diff options
author | Jeff Chang <chengjeff@google.com> | 2020-04-22 20:27:46 +0800 |
---|---|---|
committer | Jeff Chang <chengjeff@google.com> | 2020-04-29 14:47:10 +0800 |
commit | 59db899f1b09ddd81ffe8a87fa6b4ab10ddf7fe3 (patch) | |
tree | 33519648bc12e5592eea279ac47206b1819b4209 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 32729dacab32f0c45319d98afd3e92d8f28f743b (diff) |
Update taskAffinity with application uid.
F365d3a8e, Limit Activity taskAffinity to application uid for
security vulnerability issue. It modifies the taskAffinity during
ActivityRecord created, but the format of taskAffinity is also
compared in shouldUpRecreateTaskLocked. AppCompactActivity uses
this function to judge if it should recreate the task when
navigating up or not.
The CL update taskAffinity format with application uid to align
above changed.
Bug: 153390756
Fixes: 153570741
Test: atest ActivityStackTests ActivityTaskAffinityTests
Change-Id: I6a5c062d4869fbda46ae70096ee1d2be7140efe5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions