1
0
mirror of https://github.com/etesync/android synced 2024-11-22 07:58:09 +00:00

Fix DebugInfoActivity - was crashing when fetching services

The issue was introduced in df94fde5ff
because of a bad refactor by android-studio.
This commit is contained in:
Tom Hacohen 2020-02-10 12:56:13 +02:00
parent 8f6a2893ff
commit d603245eb3

View File

@ -92,7 +92,7 @@ public class ServiceDB {
db.beginTransactionNonExclusive();
// iterate through all tables
Cursor cursorTables = db.query("sqlite_master", new String[]{"name"}, "enumType='table'", null, null, null, null);
Cursor cursorTables = db.query("sqlite_master", new String[]{"name"}, "type='table'", null, null, null, null);
while (cursorTables.moveToNext()) {
String table = cursorTables.getString(0);
sb.append(table).append("\n");