Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed117c86 authored by Service qcabuildsw's avatar Service qcabuildsw Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Enable peripheral & mutli-adv in BLE-Always-on mode" into...

Merge "Bluetooth: Enable peripheral & mutli-adv in BLE-Always-on mode" into android-framework.lnx.2.0-dev
parents 05439432 38e5adff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1310,7 +1310,7 @@ public final class BluetoothAdapter {
     * @return true if Multiple Advertisement feature is supported
     */
    public boolean isMultipleAdvertisementSupported() {
        if (getState() != STATE_ON) return false;
        if (!getLeAccess()) return false;
        try {
            mServiceLock.readLock().lock();
            if (mService != null) return mService.isMultiAdvertisementSupported();
@@ -1348,7 +1348,7 @@ public final class BluetoothAdapter {
     * @hide
     */
    public boolean isPeripheralModeSupported() {
        if (getState() != STATE_ON) return false;
        if (!getLeAccess()) return false;
        try {
            mServiceLock.readLock().lock();
            if (mService != null) return mService.isPeripheralModeSupported();