Loading android/pandora/server/src/com/android/pandora/A2dp.kt +0 −7 Original line number Diff line number Diff line Loading @@ -338,11 +338,4 @@ class A2dp(val context: Context) : A2DPImplBase() { } } // TODO: Remove reflection and import framework bluetooth library when it will be available // on AOSP. fun BluetoothA2dp.connect(device: BluetoothDevice) = this.javaClass.getMethod("connect", BluetoothDevice::class.java).invoke(this, device) fun BluetoothA2dp.disconnect(device: BluetoothDevice) = this.javaClass.getMethod("disconnect", BluetoothDevice::class.java).invoke(this, device) } Loading
android/pandora/server/src/com/android/pandora/A2dp.kt +0 −7 Original line number Diff line number Diff line Loading @@ -338,11 +338,4 @@ class A2dp(val context: Context) : A2DPImplBase() { } } // TODO: Remove reflection and import framework bluetooth library when it will be available // on AOSP. fun BluetoothA2dp.connect(device: BluetoothDevice) = this.javaClass.getMethod("connect", BluetoothDevice::class.java).invoke(this, device) fun BluetoothA2dp.disconnect(device: BluetoothDevice) = this.javaClass.getMethod("disconnect", BluetoothDevice::class.java).invoke(this, device) }