diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Android.mk | 2 | ||||
-rw-r--r-- | init/init_shinano.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/init/Android.mk b/init/Android.mk index 5450923..4c4ee6b 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -6,7 +6,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_C_INCLUDES := system/core/init LOCAL_CFLAGS := -Wall -LOCAL_STATIC_LIBRARIES := libbase +LOCAL_STATIC_LIBRARIES := libbase libselinux LOCAL_SRC_FILES := init_shinano.cpp LOCAL_MODULE := libinit_shinano include $(BUILD_STATIC_LIBRARY) diff --git a/init/init_shinano.cpp b/init/init_shinano.cpp index f78a4a1..da3395f 100644 --- a/init/init_shinano.cpp +++ b/init/init_shinano.cpp @@ -31,11 +31,11 @@ static void import_kernel_nv(const std::string& key, // We only want the bootloader version if (key == "oemandroidboot.s1boot") { - property_set("ro.boot.oemandroidboot.s1boot", value.c_str()); + android::init::property_set("ro.boot.oemandroidboot.s1boot", value.c_str()); } } void vendor_load_properties() { - import_kernel_cmdline(0, import_kernel_nv); + android::init::import_kernel_cmdline(0, import_kernel_nv); } |