am 37fed329: Merge "Increase timeout when uncrypting OTA" into lmp-mr1-dev
automerge: 8deabad
* commit '8deabad541984571496456646d6a7a91eccc9e42':
Increase timeout when uncrypting OTA
This commit is contained in:
@@ -2375,9 +2375,9 @@ public final class PowerManagerService extends SystemService
|
|||||||
//
|
//
|
||||||
// This preparation can take more than 20 seconds if
|
// This preparation can take more than 20 seconds if
|
||||||
// there's a very large update package, so lengthen the
|
// 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");
|
SystemProperties.set("ctl.start", "pre-recovery");
|
||||||
duration = 120 * 1000L;
|
duration = 300 * 1000L;
|
||||||
} else {
|
} else {
|
||||||
SystemProperties.set("sys.powerctl", "reboot," + reason);
|
SystemProperties.set("sys.powerctl", "reboot," + reason);
|
||||||
duration = 20 * 1000L;
|
duration = 20 * 1000L;
|
||||||
|
|||||||
Reference in New Issue
Block a user