Pulse: Backend redesign [1/2]
Over time, Pulse has evolved into a getter/setter/callback
web of complexity that has made the feature nearly
impossible to manage, let alone develop. It is high time
to remedy this deficiency.
-- Inject PulseController as a SystemUI Dependency and
completely remove from the NavigationBarFragment/Navigator
space. Use all necessary SystemUI interfaces, receivers,
and observers to facilitate this.
-- Render Pulse on PulseView. We attach/detatch this view
to NavigationBarFrame freeing Pulse from race condition
insanity when changing navbar implementations.
-- Pulse completely removed from Navigator except for a simple
start/stop Pulse callback. We call on PulseController in a
couple spots still to check rendering state but that's OK
because we grab the controller from Dependency
-- General clean up everywhere making it easier to optimize
and create
9 files changed