Loading framework/java/android/bluetooth/BluetoothAdapter.java +5 −5 Original line number Diff line number Diff line Loading @@ -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(); Loading Loading
framework/java/android/bluetooth/BluetoothAdapter.java +5 −5 Original line number Diff line number Diff line Loading @@ -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(); Loading