diff options
author | Chris Li <lihongyu@google.com> | 2021-06-29 20:05:26 -0700 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2021-07-07 21:09:24 -0700 |
commit | 1245aefa497169abbf1e1da7566a7994ee5b2ba2 (patch) | |
tree | 39430d00f2fce21c9d0fc81fe9a06e50086c83e7 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | de1a9f66e842c39bbc09ac9e958a9044a5d0666f (diff) |
Remove TaskInfo#topActivityToken usage in size compat for security
Security report shows that this can cause leak token of different app.
Replace the functionality with a callback to the TaskOrganizerController
to restart activity when size compat restart button is clicked.
Bug: 186776724
Test: manually verify the restart button still works
Change-Id: I097b9f02e8435e6765695b9d5a531a4e165bac66
Merged-In: I097b9f02e8435e6765695b9d5a531a4e165bac66
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions