Rectify comment in getCurrentAgEvents

Bug: 143946839
Bug: 199827901
Test: IOP and BCST
Tag: #refactor
Change-Id: I1c91d941f5383e8682e2b664120ffe6de4dfdef4
(cherry picked from commit 8d4c5fbf98e7d44cb9367c2d8b05bbd56ac9f3ae)
This commit is contained in:
Harshad Ulhas Dhabu
2020-06-18 22:45:18 -07:00
committed by Md Shahriar Hossain Sajib
parent cbe9af5ab5
commit 55750ca1df

View File

@@ -758,7 +758,7 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
* @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)) {