瀏覽代碼

Minor style fix, reenable debug mode

master
Chris Smith 14 年之前
父節點
當前提交
9c33012040

二進制
code/ContextAnalyser/dist/ContextAnalyser.apk 查看文件


+ 2
- 2
code/ContextAnalyser/src/uk/co/md87/android/contextanalyser/ContextAnalyserService.java 查看文件

@@ -76,9 +76,9 @@ public class ContextAnalyserService extends Service
76 76
 
77 77
     public static final int CONTEXT_PLACE = 1;
78 78
 
79
-    public static final boolean DEBUG = false;
79
+    public static final boolean DEBUG = true;
80 80
 
81
-    private static final int POLLING_DELAY = 60000;
81
+    private static final int POLLING_DELAY = 6000;
82 82
 
83 83
     private final Runnable scheduleRunnable = new Runnable() {
84 84
 

+ 1
- 1
code/ContextAnalyser/src/uk/co/md87/android/contextanalyser/DataHelper.java 查看文件

@@ -79,7 +79,7 @@ public class DataHelper {
79 79
             insertJourneyStepStatement, updateLocationStatement,
80 80
             updateLocationVisitStatement, updateJourneyStatement;
81 81
 
82
-    private SQLiteDatabase db;
82
+    private final SQLiteDatabase db;
83 83
 
84 84
     public DataHelper(final Context context) {
85 85
         final OpenHelper helper = new OpenHelper(context);

Loading…
取消
儲存