A reimagination of !548 (closed), using
LocalBroadcastManager as suggested.
I still think
LocalBroadcastManager is a terrible API, but this works fine and reads pretty well.
This refactors existing progress handling between
UpdateService to use
LocalBroadcastManager in preference to
ProgressListener. Still needs to use
ProgressListener to talk
RepoUpdater and the
The only change that is related to something more important than
notifications is the fact that now
IndexV1Updater makes use of the
indexUrl. To do so, because it is final, the base class constructor
getIndexUrl() which is overriden by the v1 updater.
This is required because we want to differentiate between broadcasts
coming from different repo update processes.
Fixes #1054 (closed).