Set property for metadata encryption on first boot
Bug: 77335096 Test: device boots twice with and without metadata encryption Change-Id: Iaed78288cb37865ba23833721b73b11414e7e862
This commit is contained in:
parent
e58d713e47
commit
5872cbdf02
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue