]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/async/RefreshDescriptionsTask.java
remove the distinction between "readable" and "writable" database connections
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / async / RefreshDescriptionsTask.java
index 68f3ddc8ff7f40f5e8cec548cae7cfc4789f19f3..41a58e980a1b09d817e85b92dcf55d17a73d1665 100644 (file)
@@ -34,7 +34,7 @@ public class RefreshDescriptionsTask extends AsyncTask<Void, Void, Void> {
         Map<String, Boolean> unique = new HashMap<>();
 
         Log.d("descriptions", "Starting refresh");
-        SQLiteDatabase db = MLDB.getWritableDatabase();
+        SQLiteDatabase db = MLDB.getDatabase();
 
         Data.backgroundTaskCount.incrementAndGet();
         try {