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:
Keun-young Park 2017-02-28 19:20:38 -08:00 committed by Elliott Hughes
parent b6cb9b0457
commit 404906d59a

View file

@ -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() {