summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-08-18 18:20:42 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-08-18 12:49:12 +0000
commit352aa3d13c8566c114b3fdd4233927a27889c42f (patch)
treefd4797724ebadb211d840313185431c6a184c342 /libs/input/PointerController.cpp
parent558f38ac48c4b224e67447764c31a0bcf1ccf6db (diff)
Remove host activity association when removing EmbeddedWindow
The common steps to destroy an activity is first to remove its window and then the activity record. So if EmbeddedWindow is removed when removing the window, onActivityRemoved won't be able to match. If an ActivityRecord is removed, its window will also be removed. So it can simply clean the host records when removing EmbeddedWindow. Bug: 296535363 Test: Launch "Wallpaper & style" from home several times. > adb shell dumpsys activity p | grep -A2 "Remote Activities" The output should only show one record per owner process. And then remove the task from recents. > adb shell dumpsys activity p | grep "Remote Activities" The output should be empty. Change-Id: Iebe96417ed5be1832995ad7649408c28e6c0f58c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions