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

Skip to content
Commit 422769ab authored by Luca Stefani's avatar Luca Stefani
Browse files

fixup! SystemUI: Show bluetooth battery level when available

The current update method is triggered in 2 cases:
  the SystemUI bluetooth controller changes device state
  the battery level changed intent is sent

Sadly the current SysUI controller doesn't handle battery level
changes, and is instead triggered in a few other cases ( ex audio
state changed ).
And since we use the data from SysUI controller for battery level
from changes in the global bt controller we may have 2 different
set of devices to work on. This could ( and does ) trigger
race conditions.

Instead add support battery level state changes within the SystemUI
controller to work on the same data set.

Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514
parent 0f312543
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