diff options
| author | Dan Egnor <egnor@google.com> | 2010-03-11 12:31:23 -0800 |
|---|---|---|
| committer | Dan Egnor <egnor@google.com> | 2010-03-11 13:16:04 -0800 |
| commit | c95142d4a0ab7bebb899167da17c70c3196abbe4 (patch) | |
| tree | f0df376999aab755d94ac7c69dc75634a86b7cde /core/java | |
| parent | 015b59756eecdbec46f9aeda620ad0de1c8c9a23 (diff) | |
Move boot log file writing into a background thread to avoid ANR.
Bug: 2507228
Change-Id: I35695f89f1d62b907f04511e3e6b71722008949b
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/RecoverySystem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/RecoverySystem.java b/core/java/android/os/RecoverySystem.java index b827af85d3fb..1b103aa81fc8 100644 --- a/core/java/android/os/RecoverySystem.java +++ b/core/java/android/os/RecoverySystem.java @@ -70,7 +70,7 @@ public class RecoverySystem { private static File LOG_FILE = new File(RECOVERY_DIR, "log"); // Length limits for reading files. - private static int LOG_FILE_MAX_LENGTH = 8 * 1024; + private static int LOG_FILE_MAX_LENGTH = 64 * 1024; /** * Interface definition for a callback to be invoked regularly as |
