summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2020-08-24 15:03:43 +0800
committerFelka Chang <felkachang@google.com>2020-10-30 18:10:20 +0800
commit18d20709e0a238d3a571dc3d852e682e64706f56 (patch)
tree5195e928522e616199c253dad0865bd43e54c717 /rs/java/android/renderscript/ProgramStore.java
parent9a095a4e40f4dac1e324fe31b91d65b1095ab05f (diff)
Fix the orphan child session after abandoning the parent session
In the multipackage staged session set condition, whenever a committed parent session called abandon(), only calling dispatchSessionFinished() on the parent session would leave its children session as the orphan child sessions. The child sessions aren't handled very well and they would be never handled if the installer applications forget to handle them. The solution is to notify the each child session in this multipackage session after the parent session is abandoned. And, to add the com.android.tests.atomicinstall.SessionAbandonBehaviorTest to verify the behavior. Test: atest StagedInstallInternalTest Test: atest -p \ frameworks/base/services/core/java/com/android/server/pm/TEST_MAPPING Test: atest CtsAtomicInstallTestCases Test: # monitor the log after atest stagedInstallInternalTest and reboot. Bug: 164964410 Change-Id: I23dabf7da099baebed63e9f9fc73383984015070
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions