Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d7004f34 authored by Winson's avatar Winson Committed by Winson Chiu
Browse files

Remove IncrementalStates in favor of float for progress

Removes all of the logic from PackageSetting, making it only
contain simple data fields.

Instead, the caller in PackageManagerService will invoke any
callback/listener logic after progress is committed to the
PackageSetting.

This also eliminates a background thread debounce + re-lock,
as the entire check progress + callback cycle can be done in
a single lock block now.

Bug: 204200534

Test: atest CtsInstalledLoadingProgressHostTests

Change-Id: I315d9c4300dea425973b6df602b14c6b066ab8fd
parent 6b0836dd
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