From f31f522e51b4978319c7736dc9fd23d4c7cff87c Mon Sep 17 00:00:00 2001 From: squilter Date: Sat, 14 Mar 2015 19:00:01 -0400 Subject: [PATCH] leave service running when pebble app is closed. the user might want to go right back to it. --- .../java/org/droidplanner/pebble/PebbleCommunicatorService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android/src/main/java/org/droidplanner/pebble/PebbleCommunicatorService.java b/Android/src/main/java/org/droidplanner/pebble/PebbleCommunicatorService.java index 2e75d1a..13a3664 100644 --- a/Android/src/main/java/org/droidplanner/pebble/PebbleCommunicatorService.java +++ b/Android/src/main/java/org/droidplanner/pebble/PebbleCommunicatorService.java @@ -353,7 +353,7 @@ public void receiveData(Context context, int transactionId, PebbleDictionary dat break; case KEY_REQUEST_DISCONNECT: - stopSelf(); + //Don't do anything. Running stopSelf() would cause issues if the user changed apps and then changed back break; case KEY_REQUEST_MODE_FOLLOW: