diff options
| author | 2023-12-08 12:20:25 -0800 | |
|---|---|---|
| committer | 2023-12-08 12:23:51 -0800 | |
| commit | 5e11f4e32af188e3ed5311c4acd4b061ba2db415 (patch) | |
| tree | 01a7e87ad4f8718659b1dacdc361e77347e06915 /libs/androidfw/StringPool.cpp | |
| parent | be9ba7e961ea0a59459e2968b98262b650096df9 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions