Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android: Make shutdown timeout shorter
@ 2015-01-08 10:16 Szymon Janc
  2015-01-13 13:49 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2015-01-08 10:16 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

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 goes wrong.
---
 android/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/main.c b/android/main.c
index 58dd9ab..ec28742 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;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-13 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 10:16 [PATCH] android: Make shutdown timeout shorter Szymon Janc
2015-01-13 13:49 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox