summaryrefslogtreecommitdiffstats
path: root/init/property_service.h
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-09-06 10:12:21 -0700
committerDima Zavin <dima@android.com>2011-09-06 10:12:41 -0700
commitebf46586f57e580d0195a06c32103ea393314f01 (patch)
tree9394c914bdc5451f054bb7da57b04904f88ad90c /init/property_service.h
parent7e14e0c9748722ece27a6a65a5a7812b26d8b22e (diff)
downloadcore-ebf46586f57e580d0195a06c32103ea393314f01.tar.gz
core-ebf46586f57e580d0195a06c32103ea393314f01.tar.bz2
core-ebf46586f57e580d0195a06c32103ea393314f01.zip
init: do not load default.prop from ramdisk in charger mode
Change-Id: Ic471b891829d7f857674b925c9948954972d9ecb Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'init/property_service.h')
-rw-r--r--init/property_service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/property_service.h b/init/property_service.h
index bc97cc42e..37c27882f 100644
--- a/init/property_service.h
+++ b/init/property_service.h
@@ -17,8 +17,10 @@
#ifndef _INIT_PROPERTY_H
#define _INIT_PROPERTY_H
+#include <stdbool.h>
+
extern void handle_property_set_fd(void);
-extern void property_init(void);
+extern void property_init(bool load_defaults);
extern void load_persist_props(void);
extern void start_property_service(void);
void get_property_workspace(int *fd, int *sz);