diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-12-10 03:18:42 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-12-10 03:18:42 +0000 |
| commit | 8cf67a2109060d481a4d6c9050d6da15f02deaf7 (patch) | |
| tree | 81e55892066b904299cb9079f164ac7f4c9d0677 /framework/java/android/bluetooth/BluetoothAdapter.java | |
| parent | 9bab53de476c9af030a3c5c5d43bab9576780682 (diff) | |
| parent | bc61c52f8041ffcee72d9f71980b0ed2bb705e0a (diff) | |
Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: ab4f8c3274 am: adde056054 am: 4765d23a5f am: bc61c52f80
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211
Change-Id: I876a8e86a13e4d10c7f26b8032a66bbfe117eba2
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAdapter.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothAdapter.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/java/android/bluetooth/BluetoothAdapter.java b/framework/java/android/bluetooth/BluetoothAdapter.java index 20122fb3ca..602a1862f2 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/java/android/bluetooth/BluetoothAdapter.java @@ -2261,21 +2261,21 @@ public final class BluetoothAdapter { public @interface LeFeatureReturnValues {} /** - * Returns {@link BluetoothStatusCodes#SUCCESS} if LE Connected Isochronous Stream Central - * feature is supported, returns {@link BluetoothStatusCodes#ERROR_FEATURE_NOT_SUPPORTED} if + * Returns {@link BluetoothStatusCodes#SUCCESS} if the LE audio feature is + * supported, returns {@link BluetoothStatusCodes#ERROR_FEATURE_NOT_SUPPORTED} if * the feature is not supported or an error code. * - * @return whether the chipset supports the LE Connected Isochronous Stream Central feature + * @return whether the LE audio is supported */ @RequiresNoPermission - public @LeFeatureReturnValues int isCisCentralSupported() { + public @LeFeatureReturnValues int isLeAudioSupported() { if (!getLeAccess()) { return BluetoothStatusCodes.ERROR_BLUETOOTH_NOT_ENABLED; } try { mServiceLock.readLock().lock(); if (mService != null) { - return mService.isCisCentralSupported(); + return mService.isLeAudioSupported(); } } catch (RemoteException e) { e.rethrowFromSystemServer(); |
