summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-13 17:33:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-13 17:33:37 +0100
commit4d144d13328f4944328da44d3a708e73a0eb3892 (patch)
tree50a3e497e714d2085c4d4caa547c65aa23043f8f /core/src/ch/asynk
parente28330b531b89de28725a209d5ce689851c0e800 (diff)
downloadRustAndDust-4d144d13328f4944328da44d3a708e73a0eb3892.zip
RustAndDust-4d144d13328f4944328da44d3a708e73a0eb3892.tar.gz
DB: add debug messages
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/util/DB.java2
1 files changed, 2 insertions, 0 deletions
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));