Loading packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -527,6 +527,10 @@ public abstract class InfoMediaManager extends MediaManager { case TYPE_HEARING_AID: case TYPE_BLUETOOTH_A2DP: case TYPE_BLE_HEADSET: if (route.getAddress() == null) { Log.e(TAG, "Ignoring bluetooth route with no set address: " + route); break; } final BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(route.getAddress()); final CachedBluetoothDevice cachedDevice = Loading Loading
packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -527,6 +527,10 @@ public abstract class InfoMediaManager extends MediaManager { case TYPE_HEARING_AID: case TYPE_BLUETOOTH_A2DP: case TYPE_BLE_HEADSET: if (route.getAddress() == null) { Log.e(TAG, "Ignoring bluetooth route with no set address: " + route); break; } final BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(route.getAddress()); final CachedBluetoothDevice cachedDevice = Loading