am b0197033: Increase timeout when uncrypting OTA

* commit 'b019703395ae0304ddd10054843c64db87229d23':
  Increase timeout when uncrypting OTA
This commit is contained in:
Michael Runge
2015-03-26 03:57:33 +00:00
committed by Android Git Automerger

View File

@@ -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;