From 1ff1c200568ae6e2faca6287ceaacdb307f9fc91 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Wed, 22 Apr 2015 20:37:07 +0200 Subject: [PATCH] Some more logging --- .../gadgetbridge/BluetoothCommunicationService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/BluetoothCommunicationService.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/BluetoothCommunicationService.java index 1f25d052..e637566b 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/BluetoothCommunicationService.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/BluetoothCommunicationService.java @@ -94,8 +94,11 @@ public class BluetoothCommunicationService extends Service { return START_NOT_STICKY; } + Log.d(TAG, "Service startcommand: " + action); + if (!mStarted && !action.equals(ACTION_START)) { // using the service before issuing ACTION_START + Log.i(TAG, "Must start service with " + ACTION_START + " before using it: " + action); return START_NOT_STICKY; }