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

Commit 7670ca0e authored by Meng Wang's avatar Meng Wang Committed by Android (Google) Code Review
Browse files

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

parents a13a0f5a 2503a23e
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");
        }
    }

    /**