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

Commit d7406f71 authored by Ze Li's avatar Ze Li
Browse files

Use the callback of CachedBluetoothDevice instead of metadata change listener...

Use the callback of CachedBluetoothDevice instead of metadata change listener to update summary in qs tile dialog.

If the battery data source of the device is Bluetooth battery service instead of metadata, only registering the metadata change listener can not receive battery update. Using the callback of CachedBluetoothDevice can solve this bug.

Test: com.android.systemui.bluetooth.qsdialog.BluetoothDeviceMetadataInteractorTest
Bug: 397847825
Flag: com.android.settingslib.flags.refactor_battery_level_display
Change-Id: I261d973a2b85edae467b32ee01c4e9ad7ab78789
parent 68da9a90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment