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

Commit c6438a68 authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Merge "Make sure that the device name is not null before returning it" am: d4963e80

am: 87d114ac

Change-Id: I874a58ecc54ddd46837c6e21b6244e5bb40312d7
parents 8ee38521 87d114ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public final class CachedBluetoothDeviceManager {
     */
    public String getName(BluetoothDevice device) {
        CachedBluetoothDevice cachedDevice = findDevice(device);
        if (cachedDevice != null) {
        if (cachedDevice != null && cachedDevice.getName() != null) {
            return cachedDevice.getName();
        }