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

Commit 7d02eb8c authored by Charlie Boutier's avatar Charlie Boutier Committed by Automerger Merge Worker
Browse files

Merge "[PANDORA] Remove Shadowing since we now can call hidden" am: 9c91318d...

Merge "[PANDORA] Remove Shadowing since we now can call hidden" am: 9c91318d am: 6793f53a am: bc1985a5 am: a572c146 am: aa67dcb3

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2161696



Change-Id: I95b73b7edce6f96ab779f053a6dffa78bcfbcedd
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ced91db5 aa67dcb3
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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)
}