Rectify comment in getCurrentAgEvents
Bug: 143946839
Bug: 199827901
Test: IOP and BCST
Tag: #refactor
Change-Id: I1c91d941f5383e8682e2b664120ffe6de4dfdef4
(cherry picked from commit 8d4c5fbf98e7d44cb9367c2d8b05bbd56ac9f3ae)
diff --git a/core/java/android/bluetooth/BluetoothHeadsetClient.java b/core/java/android/bluetooth/BluetoothHeadsetClient.java
index e5b2a1e..d78b0fc 100644
--- a/core/java/android/bluetooth/BluetoothHeadsetClient.java
+++ b/core/java/android/bluetooth/BluetoothHeadsetClient.java
@@ -758,7 +758,7 @@
* @return bundle of AG indicators; null if device is not in CONNECTED state
*/
public Bundle getCurrentAgEvents(BluetoothDevice device) {
- if (DBG) log("getCurrentCalls()");
+ if (DBG) log("getCurrentAgEvents()");
final IBluetoothHeadsetClient service =
getService();
if (service != null && isEnabled() && isValidDevice(device)) {