uncrypt: Support file level encryption.
Bug: 22534003 Change-Id: Iaf42a6e5b40cfef904de66e212ae8b77b2953ef7
This commit is contained in:
parent
90c75b0beb
commit
6e9dda70cb
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ static const char* find_block_device(const char* path, bool* encryptable, bool*
|
|||
(path[len] == '/' || path[len] == 0)) {
|
||||
*encrypted = false;
|
||||
*encryptable = false;
|
||||
if (fs_mgr_is_encryptable(v)) {
|
||||
if (fs_mgr_is_encryptable(v) || fs_mgr_is_file_encrypted(v)) {
|
||||
*encryptable = true;
|
||||
char buffer[PROPERTY_VALUE_MAX+1];
|
||||
if (property_get("ro.crypto.state", buffer, "") &&
|
||||
|
|
Loading…
Reference in a new issue