From 4d144d13328f4944328da44d3a708e73a0eb3892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 13 Feb 2016 17:33:37 +0100 Subject: DB: add debug messages --- core/src/ch/asynk/rustanddust/util/DB.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/util/DB.java b/core/src/ch/asynk/rustanddust/util/DB.java index 4006d86..ba03100 100644 --- a/core/src/ch/asynk/rustanddust/util/DB.java +++ b/core/src/ch/asynk/rustanddust/util/DB.java @@ -200,6 +200,7 @@ public class DB public boolean storeState(int game, String payload) { + RustAndDust.debug("storeState"); try { String hash = getDigest(payload); if (hash == null) return false; @@ -213,6 +214,7 @@ public class DB public String loadState(int game) { + RustAndDust.debug("loadState"); String ret = null; try { DatabaseCursor cursor = db.rawQuery(String.format(GET_STATE, game)); -- cgit v1.1-2-g2b99