From 8b8e23d5cc38d4f9139b3b3cdca4a9c5ec51139e Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Thu, 27 Jul 2017 11:42:17 -0700 Subject: Add more specific error codes for uncrypt failures Add the error codes when we fail to find the realpath, or fail to find the block_device. Bug: 63737759 Test: mma Change-Id: Icf15368ad3e7345c747d9083da2f049cc8acd571 --- error_code.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'error_code.h') diff --git a/error_code.h b/error_code.h index 9fe047c91..4cbad4cfe 100644 --- a/error_code.h +++ b/error_code.h @@ -68,6 +68,8 @@ enum UncryptErrorCode { kUncryptFileCloseError, kUncryptFileRenameError, kUncryptPackageMissingError, + kUncryptRealpathFindError, + kUncryptBlockDeviceFindError, }; #endif // _ERROR_CODE_H_ -- cgit v1.2.3