Merge "Rectify comment in getCurrentAgEvents" am: a1219366ac am: 35c23c8ba7 am: bd3ade8553 am: 31f8821836

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

Change-Id: I5cdedeb0445a90f9739a9c335d0d1c01011de6d8
This commit is contained in:
Treehugger Robot
2021-10-29 20:55:25 +00:00
committed by Automerger Merge Worker

View File

@@ -817,7 +817,7 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
@RequiresBluetoothConnectPermission
@RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
public Bundle getCurrentAgEvents(BluetoothDevice device) {
if (DBG) log("getCurrentCalls()");
if (DBG) log("getCurrentAgEvents()");
final IBluetoothHeadsetClient service =
getService();
if (service != null && isEnabled() && isValidDevice(device)) {