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

Commit d82d8d5f authored by Meng Wang's avatar Meng Wang Committed by Gerrit Code Review
Browse files

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

parents 4d109837 07860399
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");
        }
    }

    /**