summaryrefslogtreecommitdiffstats
path: root/init/property_service.cpp
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2017-02-28 19:20:38 -0800
committerElliott Hughes <enh@google.com>2017-03-01 23:16:10 +0000
commit404906d59add52c1345302e2d13c1f9c2fec8664 (patch)
tree1528aa0e563d3be0e1c5fecde1c788215e6bb545 /init/property_service.cpp
parentb6cb9b0457bf4101f8872d88935b5a7ee6d6ea4a (diff)
downloadcore-404906d59add52c1345302e2d13c1f9c2fec8664.tar.gz
core-404906d59add52c1345302e2d13c1f9c2fec8664.tar.bz2
core-404906d59add52c1345302e2d13c1f9c2fec8664.zip
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
Diffstat (limited to 'init/property_service.cpp')
-rw-r--r--init/property_service.cpp3
1 files changed, 1 insertions, 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() {