Diff between e101e48a9d5dda977b67e72190b5be4e671d3faf and ec12cfc715d8e0979b86d45db0a845599a50e10d

Changed Files

File Additions Deletions Status
android/log.c +8 -0 modified
android/main.c +2 -0 modified

Full Patch

diff --git a/android/log.c b/android/log.c
index ce07b82..98afaa9 100644
--- a/android/log.c
+++ b/android/log.c
@@ -80,3 +80,11 @@ void btd_debug(const char *format, ...)
 
 	va_end(ap);
 }
+
+void __btd_log_init(const char *debug, int detach)
+{
+}
+
+void __btd_log_cleanup(void)
+{
+}
diff --git a/android/main.c b/android/main.c
index c35ef85..87e1036 100644
--- a/android/main.c
+++ b/android/main.c
@@ -257,6 +257,8 @@ int main(int argc, char *argv[])
 
 	event_loop = g_main_loop_new(NULL, FALSE);
 
+	__btd_log_init("*", 0);
+
 	memset(&sa, 0, sizeof(sa));
 	sa.sa_handler = sig_term;
 	sigaction(SIGINT, &sa, NULL);