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

Commit d57df642 authored by Ivan Podogov's avatar Ivan Podogov Committed by android-build-merger
Browse files

Fix profiles broken by ag/1751147 am: 5297dba7 am: 72d90087

am: 0ad19476

Change-Id: I6e69bac35f1d3ec78b64287f4faa86103357e136
parents 917aa3e6 0ad19476
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1907,6 +1907,9 @@ public final class BluetoothAdapter {
        } else if (profile == BluetoothProfile.MAP_CLIENT) {
            BluetoothMapClient mapClient = new BluetoothMapClient(context, listener);
            return true;
        } else if (profile == BluetoothProfile.INPUT_HOST) {
            BluetoothInputHost iHost = new BluetoothInputHost(context, listener);
            return true;
        } else {
            return false;
        }
@@ -1983,6 +1986,10 @@ public final class BluetoothAdapter {
                BluetoothMapClient mapClient = (BluetoothMapClient)proxy;
                mapClient.close();
                break;
            case BluetoothProfile.INPUT_HOST:
                BluetoothInputHost iHost = (BluetoothInputHost) proxy;
                iHost.close();
                break;
        }
    }