diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-12-10 02:29:44 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-12-10 02:29:44 +0000 |
| commit | adde05605470bde6bf09f784c864aaed9e17fba0 (patch) | |
| tree | ad0cd0b602de2f2f8deb936d7bceddfed56c8762 /framework/java/android/bluetooth/BluetoothAdapter.java | |
| parent | d46a927c8bcf1d4b6d55a77d5f675c96969eafbd (diff) | |
| parent | ab4f8c3274530aab2ed6151d76eb5deae91fc1ff (diff) | |
Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: ab4f8c3274
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211
Change-Id: If15e595027c27dbd52c24795fa4e417fff83ca1a
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 2c875fee10..14be9215c7 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/java/android/bluetooth/BluetoothAdapter.java @@ -2283,21 +2283,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(); |
