Merge "Set property for metadata encryption on first boot"
am: def249956c
Change-Id: I233286b4275d82be930683ca86147273f3b8c5dd
This commit is contained in:
commit
533870c48f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue