Merge "Set property for metadata encryption on first boot" into pi-dev

This commit is contained in:
Paul Crowley 2018-04-19 17:17:07 +00:00 committed by Android (Google) Code Review
commit 2df20b6271
1 changed files with 1 additions and 0 deletions

View File

@ -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