Diff between a3b0003409a145e371adfb8b40bcb042a63a6b1f and 194d97df9dfe6735d6b2d880b08204e4995cca00

Changed Files

File Additions Deletions Status
android/system-emulator.c +3 -0 modified

Full Patch

diff --git a/android/system-emulator.c b/android/system-emulator.c
index 7d17546..24f2741 100644
--- a/android/system-emulator.c
+++ b/android/system-emulator.c
@@ -98,6 +98,9 @@ static void system_socket_callback(int fd, uint32_t events, void *user_data)
 	if (strcmp(buf, "ctl.start=bluetoothd"))
 		return;
 
+	if (daemon_pid > 0)
+		return;
+
 	ctl_start();
 }