Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 996eb20

Browse files
committed
Update AccessDB.java
1 parent 100d432 commit 996eb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/feigdev/androidserialsql/AccessDB.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class AccessDB {
1717
private final SQLiteDatabase dbWrite, dbRead;
1818
ExecutorService executorService = new ThreadPoolExecutor(1, 1, 30, TimeUnit.SECONDS, writerQueue, new ThreadPoolExecutor.CallerRunsPolicy());
1919

20-
private AccessDB(Context context, DefineDB myDB) {
20+
public AccessDB(Context context, DefineDB myDB) {
2121
dbHelper = new GenericDBHelper(context, myDB);
2222
dbWrite = dbHelper.getWritableDatabase();
2323
dbRead = dbHelper.getReadableDatabase();

0 commit comments

Comments
 (0)