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

Commit 4101bfe0 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:...

Merge "Make sure that the device name is not null before returning it" am: d4963e80 am: 87d114ac am: c6438a68
am: 70b3e387

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