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

Commit 07860399 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: I1a953bcec7833caba68db9e6a4a638b7c4dbab65
Merged-In: I9a01b9a06be4cf543edd55df945a42ee6fa21415
parent 607f8fcb
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");
        }
    }

    /**