commit | d5f0a5751e3f0d0914ea37b69ec3c4078383d2cd | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Thu Sep 02 00:18:47 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Sep 02 00:18:47 2021 +0000 |
tree | 4b97b9774c9070ff626e955126ce015d41ab2bad | |
parent | b9d97763d291e78f63b9f60b7766600a2d81193f [diff] | |
parent | cc63a93fd6954aa1852978f0f580cb6da24e21d5 [diff] |
Merge "Set a property if seed binding is enabled." am: cc63a93fd6 Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1816736 Change-Id: I80fde534da01e49298c9e7b82617befa32959414
diff --git a/KeyStorage.cpp b/KeyStorage.cpp index e84fe75..50bba56 100644 --- a/KeyStorage.cpp +++ b/KeyStorage.cpp
@@ -715,6 +715,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";