mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-13 06:54:00 +08:00
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:
parent
24dee5c4b6
commit
0037f01442
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user