music: improve indexer state management

Improve Indexer's state management by splitting up the current loading
state and the last response.

This is intended to resolve a bug where if the UI task and
IndexerService are both killed, the Indexer state would become
indeterminate and the library would not show. Resolve this by keeping
track of whatever the last completed state was and falling back to it
whenever the loading process is canceled.
This commit is contained in:
OxygenCobalt
2022-06-04 10:12:31 -06:00
parent 08caa01dca
commit 09392ef381
10 changed files with 165 additions and 88 deletions
+3
View File
@@ -2,6 +2,9 @@
## dev [v2.3.2, v2.4.0, or v3.0.0]
#### Dev/Meta
- Moved music loading to a foreground service
## v2.3.1
#### What's Improved