Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2c4e4ce authored by Tao Bao's avatar Tao Bao Committed by Android Git Automerger
Browse files

am 6e9dda70: uncrypt: Support file level encryption.

* commit '6e9dda70':
  uncrypt: Support file level encryption.
parents ac780c90 6e9dda70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,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, "") &&