diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-01-08 11:16:10 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-01-13 14:46:53 +0100 |
commit | 0037f01442630941ff159790c7179805058b3690 (patch) | |
tree | 04605e355b3c9e0126ba0557cdd9e94282d9a770 /android/main.c | |
parent | 24dee5c4b69ae8d6682622c6cbb69cd4d9742ff0 (diff) | |
download | bluez-0037f01442630941ff159790c7179805058b3690.tar.gz |
android: Make shutdown timeout shorter
Android L is using 8 seconds for both enable and disable timeouts.
Set daemon shutdown timeout to 5 seconds to make sure we fit into
framework timeout in case things go wrong.
Diffstat (limited to 'android/main.c')
-rw-r--r-- | android/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c index 58dd9ab6e..ec2874255 100644 --- a/android/main.c +++ b/android/main.c @@ -70,7 +70,7 @@ #define DEFAULT_NAME "BlueZ for Android" #define STARTUP_GRACE_SECONDS 5 -#define SHUTDOWN_GRACE_SECONDS 10 +#define SHUTDOWN_GRACE_SECONDS 5 static char *config_vendor = NULL; static char *config_model = NULL; |