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

Commit 1f89eaea authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add logs to differentiate if new scanManagerRefactor flow is being used" into main

parents 9c35bc79 d5444fb2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1108,6 +1108,7 @@ public class AdapterService extends Service {
    }

    private void startGattProfileService() {
        Log.d(TAG, "startGattProfileService() called");
        mGattService = new GattService(this);

        mStartedProfiles.put(BluetoothProfile.GATT, mGattService);
@@ -1118,11 +1119,13 @@ public class AdapterService extends Service {
    }

    private void startScanController() {
        Log.d(TAG, "startScanController() called");
        mScanController = new ScanController(this);
        mNativeInterface.enable();
    }

    private void stopGattProfileService() {
        Log.d(TAG, "stopGattProfileService() called");
        setScanMode(SCAN_MODE_NONE, "stopGattProfileService");

        if (mRunningProfiles.size() == 0) {
@@ -1143,6 +1146,7 @@ public class AdapterService extends Service {
    }

    private void stopScanController() {
        Log.d(TAG, "stopScanController() called");
        setScanMode(SCAN_MODE_NONE, "stopScanController");

        if (mScanController == null) {