commit | def249956c1b17e56f41b76215b9ef6dd5592443 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Apr 19 00:17:42 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Apr 19 00:17:42 2018 +0000 |
tree | 676ce27c31fec998da242dda5bcd9142a62ee266 | |
parent | c629131c2617d5cceaa67152b1b93c62af7e7f21 [diff] | |
parent | e383334457b3cb6cdf2ddb32a82f2284120525d5 [diff] |
Merge "Set property for metadata encryption on first boot"
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