Skip to content
Commit b7b45155 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Moves clear data out of commit

A previous refactor had moved a call to clearAppDataLIF, which makes
calls to installd into a block that was locked on mPackages. This
resulted in PackageManagerService holding the lock while installd
attempted to do the same and making install essentially blocked
indefinitely. To fix this, we moved the call to a post-commit phase
where the mPackages lock has been released.

Test: `atest CtsUiRenderingTestCases` doesn't halt
Change-Id: Ibe735a4351c14ab1428200f2d665aaff01119876
Fixes: 118888402
parent 0a2786cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment