From 0037f01442630941ff159790c7179805058b3690 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Thu, 8 Jan 2015 11:16:10 +0100 Subject: [PATCH] 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. --- android/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3