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

Commit 31f88218 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Rectify comment in getCurrentAgEvents" am: a1219366 am: 35c23c8b am: bd3ade85

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842099

Change-Id: I7fdcb45937c52b307e1cdd86ea2c883ec2cd5534
parents b667787b bd3ade85
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -817,7 +817,7 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
    @RequiresBluetoothConnectPermission
    @RequiresBluetoothConnectPermission
    @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
    @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
    public Bundle getCurrentAgEvents(BluetoothDevice device) {
    public Bundle getCurrentAgEvents(BluetoothDevice device) {
        if (DBG) log("getCurrentCalls()");
        if (DBG) log("getCurrentAgEvents()");
        final IBluetoothHeadsetClient service =
        final IBluetoothHeadsetClient service =
                getService();
                getService();
        if (service != null && isEnabled() && isValidDevice(device)) {
        if (service != null && isEnabled() && isValidDevice(device)) {