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

Skip to content
Commit 61c0185b authored by chelseahao's avatar chelseahao
Browse files

Add shared bluetooth device functions by settings and systemui to settingslib.

These two functions are copied from `AvailableMediaBluetoothDeviceUpdater#isFilterMatched`, `ConnectedBluetoothDeviceUpdater#isFilterMatched`.

They check if a bluetooth device is a currently connected media device or currently connected other devices. They will be used both in settings (i.e., `AvailableMediaBluetoothDeviceUpdater#isFilterMatched`, `ConnectedBluetoothDeviceUpdater#isFilterMatched`) and systemui (i.e., the new bluetooth tile dialog).

Test: make RunSettingsLibRoboTests -j40
Bug: 298124674
Change-Id: Idcfb284ad6c7e43283aac23c61e5b65b472cdfa5
parent 8d2b2229
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