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

Commit e3833344 authored by Paul Crowley's avatar Paul Crowley
Browse files

Set property for metadata encryption on first boot

Bug: 77335096
Test: device boots twice with and without metadata encryption
Change-Id: Iaed78288cb37865ba23833721b73b11414e7e862
parent 07de8383
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -522,6 +522,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