use ro.persistent_properties.ready for persistent props ready
- for security reason, only notify ready state instead of passing time info to hidl clients Bug: 35178781 Bug: 34274385 Test: reboot Change-Id: I2d64bd6da81139945bd0224079af9376f1d90da7
This commit is contained in:
parent
b6cb9b0457
commit
404906d59a
1 changed files with 1 additions and 2 deletions
|
|
@ -609,8 +609,7 @@ void load_persist_props(void) {
|
|||
load_override_properties();
|
||||
/* Read persistent properties after all default values have been loaded. */
|
||||
load_persistent_properties();
|
||||
uint64_t start_ns = boot_clock::now().time_since_epoch().count();
|
||||
property_set("ro.boottime.persistent_properties", StringPrintf("%" PRIu64, start_ns).c_str());
|
||||
property_set("ro.persistent_properties.ready", "true");
|
||||
}
|
||||
|
||||
void load_recovery_id_prop() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue