diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-01-17 16:30:43 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@gmail.com> | 2014-01-17 20:41:45 +0100 |
commit | 334c59f993be95a04740a232bf797cfbcc75e6b3 (patch) | |
tree | c1c13803e3d16f3986dd851416c5f01a3877448c /android/system-emulator.c | |
parent | 89008b789f27659a7035fc50e57d952b1cba43cb (diff) | |
download | bluez-334c59f993be95a04740a232bf797cfbcc75e6b3.tar.gz |
android/system-emulator: Update property used for start/stop services
Diffstat (limited to 'android/system-emulator.c')
-rw-r--r-- | android/system-emulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/system-emulator.c b/android/system-emulator.c index f1c6622b8..cfeab8b2e 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -139,17 +139,17 @@ static void system_socket_callback(int fd, uint32_t events, void *user_data) printf("Received %s\n", buf); - if (!strcmp(buf, "ctl.start=bluetoothd")) { + if (!strcmp(buf, "bluetooth.start=daemon")) { if (daemon_pid > 0) return; ctl_start(); - } else if (!strcmp(buf, "ctl.start=bluetoothd-snoop")) { + } else if (!strcmp(buf, "bluetooth.start=snoop")) { if (snoop_pid > 0) return; snoop_start(); - } else if (!strcmp(buf, "ctl.stop=bluetoothd-snoop")) { + } else if (!strcmp(buf, "bluetooth.stop=snoop")) { if (snoop_pid > 0) snoop_stop(); } |