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

Commit 86c5cc37 authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

Enable pointing UI only in enable satellite mode

Enable pointing UI only in enable satellite mode
Test: build
Bug: 278117106

Change-Id: I6254b48ed4e83e49b111fdfce8294098501a48e7
parent 35ea8087
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -444,16 +444,16 @@ public class SatelliteController extends Handler {
                    if (argument.enableSatellite) {
                        //If satellite mode is enabled successfully, disable Bluetooth and wifi
                        disableBluetoothWifiState();
                    } else {
                        //Disabled satellite mode, Reset BT and Wifi if previously changed here
                        checkAndEnableBluetoothWifiState();
                    }
                        /**
                         * TODO for NTN-based satellites: Check if satellite is acquired.
                         */
                        if (mNeedsSatellitePointing) {
                            mPointingAppController.startPointingUI(false);
                        }
                    } else {
                        //Disabled satellite mode, Reset BT and Wifi if previously changed here
                        checkAndEnableBluetoothWifiState();
                    }
                    mIsDemoModeEnabled = argument.enableDemoMode;
                    updateSatelliteEnabledState(
                            argument.enableSatellite, "EVENT_SET_SATELLITE_ENABLED_DONE");