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

Commit 61663ada authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add debug log for set/remove active device." am: cbb4cd1f8c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351257

Change-Id: If37c6b4ea4cbca9b14366d7621c14622585f42b7
parents fc13dae7 aa988ed1
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) {