Fix DebugInfoActivity - was crashing when fetching services

The issue was introduced in df94fde5ff
because of a bad refactor by android-studio.
pull/108/head
Tom Hacohen 4 years ago
parent 8f6a2893ff
commit d603245eb3

@ -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");

Loading…
Cancel
Save