diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2020-07-29 18:19:29 +0100 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2020-08-04 10:43:15 +0100 |
commit | f772d29b6a2e4d8290d506ec40b03dc1cb0490c3 (patch) | |
tree | 9bf2a04c054801105727b4f85bf1dcd036a82fa0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5948d5c2096bc88ea04d10842a355d25efb9e593 (diff) |
Cleanup how we handle abort of active apex session
- Removed throwing PackageManagerException from abortStagedSession since
it was masking actual failure reason in old code and in this CL, it's no
longer needed.
- Added justification for ignoring failed attempt at aborting active apex
sessions from apexd.
- Created ensureActiveApexSessionIsAborted for reuse. Will be used on
follow up CLs.
- Consolidated cleanup logic execuated on verification failure into
onPreReboootVerificationFailure. Previously, we did not clean up active
apex sessions in apexd in all scenarios.
Bug: 162294757
Test: atest ApexTestCases
Test: atest StagedInstallTest
Change-Id: I58d89be3a1712a51439e222cee4dbb1bec8c28f4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions