commit | 2df20b6271a7ca478ff835a9785032c75f83685c | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Thu Apr 19 17:17:07 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Apr 19 17:17:07 2018 +0000 |
tree | 5d05644bbe6186d71974deb7bd8ebba4f352691a | |
parent | dc29476d7e029e6c477c133b71ca55d52ee95744 [diff] | |
parent | 5872cbdf02ee0a64f1a313f00eb1e635b452393b [diff] |
Merge "Set property for metadata encryption on first boot" into pi-dev
diff --git a/init/builtins.cpp b/init/builtins.cpp index acbeca2..8bd92cc 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp
@@ -519,6 +519,7 @@ 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