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

Commit fffc5a4e authored by Yuhao Zheng's avatar Yuhao Zheng
Browse files

Remove STOPSHIP in WifiWatchdogStateMachine

There used to be some STOPSHIP code in WifiWatchdogStateMachine for debug
purposes. We don't need them for the release.

Bug: 10841961
Change-Id: I501d62e9891ace52317e6c1d399b877175099a3c
parent f82e73c5
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -75,8 +75,7 @@ import java.text.DecimalFormat;
 */
public class WifiWatchdogStateMachine extends StateMachine {

    /* STOPSHIP: Keep this configurable for debugging until ship */
    private static boolean DBG = false;
    private static final boolean DBG = false;

    private static final int BASE = Protocol.BASE_WIFI_WATCHDOG;

@@ -697,10 +696,6 @@ public class WifiWatchdogStateMachine extends StateMachine {
            switch (msg.what) {
                case EVENT_WATCHDOG_SETTINGS_CHANGE:
                    updateSettings();
                    // STOPSHIP: Remove this at ship
                    logd("Updated secure settings and turned debug on");
                    DBG = true;

                    if (mPoorNetworkDetectionEnabled) {
                        transitionTo(mOnlineWatchState);
                    } else {