From 85855721972d7ff7c78d18ac9f60c44721003a03 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Mon, 30 Nov 2015 23:24:45 +0100 Subject: [PATCH] Improved log output for plain actions --- .../gadgetbridge/service/btle/actions/PlainAction.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/PlainAction.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/PlainAction.java index c4dfbfd56..5215c0bda 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/PlainAction.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/PlainAction.java @@ -16,4 +16,9 @@ public abstract class PlainAction extends BtLEAction { public boolean expectsResult() { return false; } + + @Override + public String toString() { + return getCreationTime() + ": " + getClass().getSimpleName(); + } }