diff options
author | David Ng <dave@codeaurora.org> | 2013-09-23 18:50:24 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-16 13:13:09 -0700 |
commit | bd7fb2577a22b46d82dd47cf2c5aeeb0237269eb (patch) | |
tree | 77afcb6e805818bb72ac4638bf06a8926a215ebc /init/property_service.cpp | |
parent | 76ce3b6bb2f6d5aa540275b80579c45fbbb7652a (diff) | |
download | system_core-bd7fb2577a22b46d82dd47cf2c5aeeb0237269eb.zip system_core-bd7fb2577a22b46d82dd47cf2c5aeeb0237269eb.tar.gz system_core-bd7fb2577a22b46d82dd47cf2c5aeeb0237269eb.tar.bz2 |
init: Add vendor-specific initialization hooks.
Allow optional vendor-specific initializations
within init. This can be used for runtime
initialization setup that init rc scripts do
not support.
Change-Id: I7623a0d59b18f9ec8e3623958e2f7ccd72b877bf
Diffstat (limited to 'init/property_service.cpp')
-rw-r--r-- | init/property_service.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init/property_service.cpp b/init/property_service.cpp index c2881ae..001aa1d 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -54,6 +54,7 @@ #include "init.h" #include "util.h" #include "log.h" +#include "vendor_init.h" #define PERSISTENT_PROPERTY_DIR "/data/property" #define FSTAB_PREFIX "/fstab." @@ -570,6 +571,11 @@ void load_all_props() { /* Read persistent properties after all default values have been loaded. */ load_persistent_properties(); + /* update with vendor-specific property runtime + * overrides + */ + vendor_load_properties(); + load_recovery_id_prop(); } |