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
Loading
Please register or sign in to comment