Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 404906d5 authored by Keun-young Park's avatar Keun-young Park Committed by Elliott Hughes
Browse files

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
parent b6cb9b04
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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() {