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

Commit 0cd93e99 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: GAP: Handled scan mode during first time BT On"

parents 267faf03 56be6e4f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -134,9 +134,6 @@ public final class BluetoothEnabler implements SwitchBar.OnSwitchChangeListener
                setChecked(true);
                mSwitch.setEnabled(true);
                updateSearchIndex(true);
                if (LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext) == 0) {
                    mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE);
                }
                break;
            case BluetoothAdapter.STATE_TURNING_OFF:
                mSwitch.setEnabled(false);