Merge "Rectify comment in getCurrentAgEvents" am: a1219366ac
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842099 Change-Id: I67d157e8feffba8759ad95b3a1f80033e9f542e5
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user