1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Some more logging

This commit is contained in:
cpfeiffer 2015-04-22 20:37:07 +02:00
parent ab2f5a73a8
commit 1ff1c20056

View File

@ -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;
}