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

Commit 10d7e8af authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Bluetooth: fix enableNoAutoConnect() call.

For now, just do a regular connect.

Change-Id: Ibc43098d45c82177298cb17d72a32c7904924021
parent 63954229
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1246,10 +1246,8 @@ public final class BluetoothAdapter {
     * @hide
     */
    public boolean enableNoAutoConnect() {
        try {
            return mService.enableNoAutoConnect();
        } catch (RemoteException e) {Log.e(TAG, "", e);}
        return false;
        // TODO avoid auto-connect in the new stack.
        return enable();
    }

    /**