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

Commit 96f47f5b authored by Michael Runge's avatar Michael Runge Committed by Android Git Automerger
Browse files

am b0197033: Increase timeout when uncrypting OTA

* commit 'b0197033':
  Increase timeout when uncrypting OTA
parents 44b5a1c8 b0197033
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2375,9 +2375,9 @@ public final class PowerManagerService extends SystemService
            //
            // This preparation can take more than 20 seconds if
            // there's a very large update package, so lengthen the
            // timeout.
            // timeout.  We have seen 750MB packages take 3-4 minutes
            SystemProperties.set("ctl.start", "pre-recovery");
            duration = 120 * 1000L;
            duration = 300 * 1000L;
        } else {
            SystemProperties.set("sys.powerctl", "reboot," + reason);
            duration = 20 * 1000L;