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

Commit aa988ed1 authored by weichinweng's avatar weichinweng Committed by Weichin Weng
Browse files

Add debug log for set/remove active device.

Bug: 160746277
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I3decaa102345d9e9485882cfeee2fae203264e25
parent 288bf3c9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1784,6 +1784,7 @@ public final class BluetoothAdapter {
        try {
            mServiceLock.readLock().lock();
            if (mService != null) {
                if (DBG) Log.d(TAG, "removeActiveDevice, profiles: " + profiles);
                return mService.removeActiveDevice(profiles);
            }
        } catch (RemoteException e) {
@@ -1828,6 +1829,9 @@ public final class BluetoothAdapter {
        try {
            mServiceLock.readLock().lock();
            if (mService != null) {
                if (DBG) {
                    Log.d(TAG, "setActiveDevice, device: " + device + ", profiles: " + profiles);
                }
                return mService.setActiveDevice(device, profiles);
            }
        } catch (RemoteException e) {