Report uncrypt errors in details

Add the error codes for uncrypt and report the failure details in
uncrypt_status.

Test: uncrypt_error logs correctly in last_install
Bug: 31603820
Change-Id: I8e0de845ce1707b6f8f5ae84564c5e93fd5f5ef5
(cherry picked from commit 0c68675f5ae80cd669e0bf014a69689b6fe08eee)
This commit is contained in:
Tianjie Xu
2016-09-24 15:31:34 -07:00
parent b0d0ee3c7d
commit 68fc81e860
3 changed files with 14 additions and 25 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ enum CauseCode {
enum UncryptErrorCode {
kUncryptNoError = -1,
kUncryptErrorHolder = 50,
kUncryptErrorPlaceholder = 50,
kUncryptTimeoutError = 100,
kUncryptFileRemoveError,
kUncryptFileOpenError,