summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-12-31 15:51:20 +0800
committer Riddle Hsu <riddlehsu@google.com> 2025-01-02 14:02:21 +0800
commitd55b27a6070ccd89dbb25ca40622be5656cc99e5 (patch)
tree3202288897268466d94c14b6efa751329e2c73c7 /ravenwood/scripts/extract-last-soong-commands.py
parent8664e2056a7ea05c639b9ae021f2538bde9de409 (diff)
Remove pid record mapping after killing process
Some methods may enforce the caller belongs to a valid process record. If the record is removed before killing the process, there could be a rare timing that the access of the process is considered as invalid. Fix: 386548874 Flag: EXEMPT bugfix Test: Hardcode delay: SystemClock.sleep(SystemProperties.getInt("test-kill-delay", 0)); at the beginning of WindowManagerService#openSession and before app.killLocked in removeProcessLocked. adb shell setprop test-kill-delay 2000 Cold launch the target activity. adb shell am stop-app $pkg There is no exception when creating window Session from the app. Change-Id: I4f440de6579e32dc5c6a885a0cc7243ba54695f4
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions