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

Commit 67339eec authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

Merge "Remove get/set of unused system property net.ppp.reset-by-timeout" am: d82d8d5f

am: a968ae66

Change-Id: I5ee3fd309fcc6f453c25821316d1d0afd5487941
parents b3047e93 a968ae66
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2176,13 +2176,6 @@ public class DcTracker extends Handler {
         * desired power state has changed in the interim, we don't want to
         * override it with an unconditional power on.
         */

        int reset = Integer.parseInt(SystemProperties.get("net.ppp.reset-by-timeout", "0"));
        try {
            SystemProperties.set("net.ppp.reset-by-timeout", String.valueOf(reset + 1));
        } catch (RuntimeException ex) {
            log("Failed to set net.ppp.reset-by-timeout");
        }
    }

    /**