catching out of memory run time exception in hasEnabledAccounts()

This commit is contained in:
iNPUTmice 2015-02-28 12:03:53 +01:00
parent 0d6907f1e0
commit 864c709c96

View file

@ -278,6 +278,8 @@ public class DatabaseBackend extends SQLiteOpenHelper {
return (count > 0);
} catch (SQLiteCantOpenDatabaseException e) {
return true; // better safe than sorry
} catch (RuntimeException e) {
return true; // better safe than sorry
}
}