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

Commit e3b30010 authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by android-build-merger
Browse files

Fix NPE when performing BLE scans. am: 2a6d08a8

am: c92a17a7

* commit 'c92a17a7':
  Fix NPE when performing BLE scans.
parents 9262ce92 c92a17a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,11 +154,11 @@ import com.android.bluetooth.btservice.BluetoothProto;
        }
        synchronized (mApps) {
            AppScanStats appScanStats = mAppScanStats.get(appName);
            mApps.add(new App(uuid, callback, appName, appScanStats));
            if (appScanStats == null) {
                appScanStats = new AppScanStats(appName, this, service);
                mAppScanStats.put(appName, appScanStats);
            }
            mApps.add(new App(uuid, callback, appName, appScanStats));
            appScanStats.isRegistered = true;
        }
    }