Skip to content
Commit 59db899f authored by Jeff Chang's avatar Jeff Chang
Browse files

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
parent 32729dac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment