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:
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…
Reference in New Issue
Block a user