summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorMohammad Samiul Islam <samiul@google.com>2020-10-15 01:05:13 +0100
committerMohammad Samiul Islam <samiul@google.com>2020-10-30 10:55:57 +0000
commit4d60cca9f7061611e6b621202bac8d74b7c1c826 (patch)
tree8f21bd05a6ecef688cda828d505c41ccf0167317 /rs/java/android/renderscript/ProgramStore.java
parented2cd670ec7974229f216b8d8f02cd9981fba350 (diff)
[DO NOT MERGE] Prevent extra sessions owned by staged install from living across restarts
If system server crashes due to external reasons (not due to exception in pre-reboot verifications), then the staged install will be retried. But, any extra sessions that have not been cleaned up will linger on until removed due to old age. And if the crash keeps on happening every time at the worst possible time, then we can have 1024 extra sessions created all with copies of apks in it. It will waste a lot of user's space. With this CL, we cleanup any leftover extra sessions whenever system server is restarted. Bug: 170784748 Test: manual Test: verified that without this CL if system server crashses after extra sessions are created but before they are cleaned up, then folders start to pile up in /data/app folder with copy of the apks inside. Change-Id: I5c19093853e28c668f882d37691959b1ac2464cc
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions