diff options
| author | Tianjie Xu <xunchang@google.com> | 2016-09-29 18:03:27 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-09-29 18:03:30 +0000 |
| commit | e422b0b29f9fc61ffca1578503a06b8d924a462a (patch) | |
| tree | ed571c459ee1064e87c26992a54792d3bc6776ec /core/java/android/os/RecoverySystem.java | |
| parent | fa198f42d351fb9afadbc850abc1a4ad139eb09b (diff) | |
| parent | 2a03586998b857bb13f1119005be186e4a88ff02 (diff) | |
Merge "Log the error when uncrypt timeouts" into nyc-mr1-dev
Diffstat (limited to 'core/java/android/os/RecoverySystem.java')
| -rw-r--r-- | core/java/android/os/RecoverySystem.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/os/RecoverySystem.java b/core/java/android/os/RecoverySystem.java index 90bd11fe83bc..0b3abaaf33e8 100644 --- a/core/java/android/os/RecoverySystem.java +++ b/core/java/android/os/RecoverySystem.java @@ -93,6 +93,14 @@ public class RecoverySystem { */ public static final File UNCRYPT_PACKAGE_FILE = new File(RECOVERY_DIR, "uncrypt_file"); + /** + * UNCRYPT_STATUS_FILE stores the time cost (and error code in the case of a failure) + * of uncrypt. + * + * @hide + */ + public static final File UNCRYPT_STATUS_FILE = new File(RECOVERY_DIR, "uncrypt_status"); + // Length limits for reading files. private static final int LOG_FILE_MAX_LENGTH = 64 * 1024; |
