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

Commit edfcda5a authored by William Escande's avatar William Escande Committed by Charlie Boutier
Browse files

[PANDORA] Remove Shadowing since we now can call hidden

Bug: 241962982
Test: atest pts-bot
Ignore-AOSP-First: Cherry-picked from AOSP
Merged-In: If3688a043247b7a0ac6c5073818c573b4944b6a3
Change-Id: If3688a043247b7a0ac6c5073818c573b4944b6a3
parent f11899d0
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)
}