Merge "Set a property if seed binding is enabled." am: cc63a93fd6
am: d5f0a5751e
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1816736 Change-Id: Idfb5e71271458418b23abf8741f2b0179435dc3a
This commit is contained in:
commit
7586bba487
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ bool setKeyStorageBindingSeed(const std::vector<uint8_t>& seed) {
|
||||||
case StorageBindingInfo::State::UNINITIALIZED:
|
case StorageBindingInfo::State::UNINITIALIZED:
|
||||||
storage_binding_info.state = StorageBindingInfo::State::IN_USE;
|
storage_binding_info.state = StorageBindingInfo::State::IN_USE;
|
||||||
storage_binding_info.seed = seed;
|
storage_binding_info.seed = seed;
|
||||||
|
android::base::SetProperty("vold.storage_seed_bound", "1");
|
||||||
return true;
|
return true;
|
||||||
case StorageBindingInfo::State::IN_USE:
|
case StorageBindingInfo::State::IN_USE:
|
||||||
LOG(ERROR) << "key storage binding seed already set";
|
LOG(ERROR) << "key storage binding seed already set";
|
||||||
|
|
Loading…
Reference in a new issue