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

Commit fbb1eee1 authored by Thomas Nguyen's avatar Thomas Nguyen Committed by Automerger Merge Worker
Browse files

Use a different NB-IoT inactivity timer for demo mode am: 1f1d742c

parents d68bc3a4 1f1d742c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1053,9 +1053,14 @@ public class SatelliteSessionController extends StateMachine {
    }

    private long getSatelliteNbIotInactivityTimeoutMillis() {
        if (isDemoMode()) {
            return mContext.getResources().getInteger(
                    R.integer.config_satellite_demo_mode_nb_iot_inactivity_timeout_millis);
        } else {
            return mContext.getResources().getInteger(
                    R.integer.config_satellite_nb_iot_inactivity_timeout_millis);
        }
    }

    private void restartNbIotInactivityTimer() {
        stopNbIotInactivityTimer();