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
This commit is contained in:
Tianjie Xu
2017-07-27 21:28:18 +00:00
parent 231c627a55
commit 8b8e23d5cc
2 changed files with 8 additions and 6 deletions
+2
View File
@@ -68,6 +68,8 @@ enum UncryptErrorCode {
kUncryptFileCloseError,
kUncryptFileRenameError,
kUncryptPackageMissingError,
kUncryptRealpathFindError,
kUncryptBlockDeviceFindError,
};
#endif // _ERROR_CODE_H_