• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Révision92451b8b8183a42e5a160281bfd052047a130102 (tree)
l'heure2015-09-17 03:37:39
AuteurZach Jang <zachjang@goog...>
CommiterThe Android Automerger

Message de Log

Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

This reverts commit 82b70db7dd906013d131737a5bec2ae59b41ae61.

Change-Id: Iace1607127d7d09cb1cc0afd8e52408fde443f5f

Change Summary

Modification

--- a/services/core/java/com/android/server/power/PowerManagerService.java
+++ b/services/core/java/com/android/server/power/PowerManagerService.java
@@ -2357,7 +2357,7 @@ public final class PowerManagerService extends SystemService
23572357 /**
23582358 * Low-level function to reboot the device. On success, this
23592359 * function doesn't return. If more than 20 seconds passes from
2360- * the time a reboot is requested (900 seconds for reboot to
2360+ * the time a reboot is requested (120 seconds for reboot to
23612361 * recovery), this method returns.
23622362 *
23632363 * @param reason code to pass to the kernel (e.g. "recovery"), or null.
@@ -2375,11 +2375,9 @@ public final class PowerManagerService extends SystemService
23752375 //
23762376 // This preparation can take more than 20 seconds if
23772377 // there's a very large update package, so lengthen the
2378- // timeout. We have seen 750MB packages take 3-4 minutes.
2379- // Bump up the limit again to 900s for really large packages.
2380- // Bug: 23629892.
2378+ // timeout. We have seen 750MB packages take 3-4 minutes
23812379 SystemProperties.set("ctl.start", "pre-recovery");
2382- duration = 900 * 1000L;
2380+ duration = 300 * 1000L;
23832381 } else {
23842382 SystemProperties.set("sys.powerctl", "reboot," + reason);
23852383 duration = 20 * 1000L;