commit | cc63a93fd6954aa1852978f0f580cb6da24e21d5 | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Wed Sep 01 23:55:08 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 01 23:55:08 2021 +0000 |
tree | 89ca6d6bd50b3980a486062ee0d1fc7eb607b898 | |
parent | 407b2c2386f203879c3b4423f6e34d51273b3c1f [diff] | |
parent | e8600253ace1fca4ff3a6aa2430a5e33b31b4c34 [diff] |
Merge "Set a property if seed binding is enabled."
diff --git a/KeyStorage.cpp b/KeyStorage.cpp index 6aab4bd..ebaefa3 100644 --- a/KeyStorage.cpp +++ b/KeyStorage.cpp
@@ -712,6 +712,7 @@ case StorageBindingInfo::State::UNINITIALIZED: storage_binding_info.state = StorageBindingInfo::State::IN_USE; storage_binding_info.seed = seed; + android::base::SetProperty("vold.storage_seed_bound", "1"); return true; case StorageBindingInfo::State::IN_USE: LOG(ERROR) << "key storage binding seed already set";