commit | 1d6897040099570cbce5c2540418f5c88ca54963 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Wed Feb 24 14:28:24 2021 +0800 |
committer | Louis Chang <louischang@google.com> | Thu Feb 25 18:31:26 2021 +0800 |
tree | 6ed889b2ac572bb51f507da7d5fb28d51165bbff | |
parent | 09f52aa440ab32e66dfabeb4cb40b72166930b4f [diff] |
Do not update calling pid/uid if the task cannot be relinquished The calling pid/uid was updated by the new task root activity while the original task root activity finished. Since the updated uid doesn't have the Uri permission to restart the task, so user cannot launch the task from Recents. Bug: 156335070 Test: atest RecentTasksTest, start tasks from Recents Change-Id: Idc7d9ba03b0eea4e2ba979ab65a79b0f1e5b272a