diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-19 00:17:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-19 00:17:42 +0000 |
commit | def249956c1b17e56f41b76215b9ef6dd5592443 (patch) | |
tree | 676ce27c31fec998da242dda5bcd9142a62ee266 /init/builtins.cpp | |
parent | c629131c2617d5cceaa67152b1b93c62af7e7f21 (diff) | |
parent | e383334457b3cb6cdf2ddb32a82f2284120525d5 (diff) |
Merge "Set property for metadata encryption on first boot"
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r-- | init/builtins.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index acbeca233..8bd92ccdd 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -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 |