From 404906d59add52c1345302e2d13c1f9c2fec8664 Mon Sep 17 00:00:00 2001 From: Keun-young Park Date: Tue, 28 Feb 2017 19:20:38 -0800 Subject: [PATCH] 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 --- init/property_service.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init/property_service.cpp b/init/property_service.cpp index decd6445c..d88b72e33 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -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() {