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

Commit 2503a23e authored by Meng Wang's avatar Meng Wang
Browse files

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

Bug: 141246285
Test: make
Change-Id: I9a01b9a06be4cf543edd55df945a42ee6fa21415
parent 10d42910
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2229,13 +2229,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");
        }
    }

    /**