Fix flakiness when BluetoothDevice is not initialized
In some rare cases the BluetoothDevice is not initialized and we cannot set the metadata: 12-08 19:52:32.647 31591 31690 E BluetoothDevice: Bluetooth is not enabled. Cannot set metadata It is ok to drop the checks in this situations since we rely entirely on the set metadata Test: adb shell device_config put media_audio android.media.audio.automatic_bt_device_type true Test: atest AudioDeviceBrokerTest Bug: 309477003 Change-Id: I6cc01826b324fb2f6764397524cadfd69d2c245a
Loading
Please register or sign in to comment