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

Commit 376011e8 authored by Jake Hamby's avatar Jake Hamby Committed by Android (Google) Code Review
Browse files

Merge "After reboot with airplane mode and BT enabled, keep BT enabled."

parents 395d725f 9341f389
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -251,11 +251,9 @@ class ServerThread extends Thread {
                    bluetooth.initAfterA2dpRegistration();
                }

                int airplaneModeOn = Settings.System.getInt(mContentResolver,
                        Settings.System.AIRPLANE_MODE_ON, 0);
                int bluetoothOn = Settings.Secure.getInt(mContentResolver,
                    Settings.Secure.BLUETOOTH_ON, 0);
                if (airplaneModeOn == 0 && bluetoothOn != 0) {
                if (bluetoothOn != 0) {
                    bluetooth.enable();
                }
            }