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.
This commit is contained in:
Szymon Janc 2015-01-08 11:16:10 +01:00
parent 24dee5c4b6
commit 0037f01442

View File

@ -70,7 +70,7 @@
#define DEFAULT_NAME "BlueZ for Android" #define DEFAULT_NAME "BlueZ for Android"
#define STARTUP_GRACE_SECONDS 5 #define STARTUP_GRACE_SECONDS 5
#define SHUTDOWN_GRACE_SECONDS 10 #define SHUTDOWN_GRACE_SECONDS 5
static char *config_vendor = NULL; static char *config_vendor = NULL;
static char *config_model = NULL; static char *config_model = NULL;