Loading core/java/android/bluetooth/BluetoothAdapter.java +7 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading @@ -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; } } Loading Loading
core/java/android/bluetooth/BluetoothAdapter.java +7 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading @@ -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; } } Loading