• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

frameworks/base


コミットメタ情報

リビジョン4251cae68af974e5d5db00b1df2a0a481a86c3f7 (tree)
日時2015-10-28 02:38:31
作者Tao Bao <tbao@goog...>
コミッターThe Android Automerger

ログメッセージ

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

Bug: 23629892
Change-Id: I7b722f1b3f43a31dc82c55127c46df6123f14b5d

変更サマリ

差分

--- 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 (120 seconds for reboot to
2360+ * the time a reboot is requested (900 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,9 +2375,11 @@ 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
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.
23792381 SystemProperties.set("ctl.start", "pre-recovery");
2380- duration = 300 * 1000L;
2382+ duration = 900 * 1000L;
23812383 } else {
23822384 SystemProperties.set("sys.powerctl", "reboot," + reason);
23832385 duration = 20 * 1000L;