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

Commit c9dce146 authored by Joe Onorato's avatar Joe Onorato Committed by android-build-merger
Browse files

Merge "Send ble scan type to Batterystats" into oc-dev am: c8b38456

am: 9992e5ae

Change-Id: I0d1ffe7f00a68cb5a2b5b9bade4c3289f2622194
parents fa72caec 9992e5ae
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -146,7 +146,8 @@ import com.android.bluetooth.btservice.BluetoothProto;
        gattService.addScanEvent(scanEvent);

        try {
            batteryStats.noteBleScanStarted(workSource);
            boolean isUnoptimized = !(scan.filtered || scan.background || scan.opportunistic);
            batteryStats.noteBleScanStarted(workSource, isUnoptimized);
        } catch (RemoteException e) {
            /* ignore */
        }