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

Commit 533870c4 authored by Paul Crowley's avatar Paul Crowley Committed by android-build-merger
Browse files

Merge "Set property for metadata encryption on first boot"

am: def24995

Change-Id: I233286b4275d82be930683ca86147273f3b8c5dd
parents b0918bfa def24995
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -519,6 +519,7 @@ static Result<Success> queue_fs_event(int code) {
        if (e4crypt_install_keyring()) {
            return Error() << "e4crypt_install_keyring() failed";
        }
        property_set("ro.crypto.state", "encrypted");
        property_set("ro.crypto.type", "file");

        // Although encrypted, vold has already set the device up, so we do not need to