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

Commit 6973447c authored by Phil Burk's avatar Phil Burk Committed by Steve Kondik
Browse files

MidiManager: fix double BTLE callback



Stop openBluetoothDevice() from calling its callback twice.

Bug: 23218338
Change-Id: I2e738b22a124c0336c46bef05680a82ee1f59e79
Signed-off-by: default avatarPhil Burk <philburk@google.com>
(cherry picked from commit 0ca998d7)
parent 6427a153
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -295,7 +295,6 @@ public final class MidiManager {
                        // fetch MidiDeviceInfo from the server
                        MidiDeviceInfo deviceInfo = server.getDeviceInfo();
                        device = new MidiDevice(deviceInfo, server, mService, mToken, deviceToken);
                        sendOpenDeviceResponse(device, listenerF, handlerF);
                    } catch (RemoteException e) {
                        Log.e(TAG, "remote exception in getDeviceInfo()");
                    }