catching out of memory run time exception in hasEnabledAccounts()
This commit is contained in:
parent
0d6907f1e0
commit
864c709c96
|
@ -278,6 +278,8 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
return (count > 0);
|
return (count > 0);
|
||||||
} catch (SQLiteCantOpenDatabaseException e) {
|
} catch (SQLiteCantOpenDatabaseException e) {
|
||||||
return true; // better safe than sorry
|
return true; // better safe than sorry
|
||||||
|
} catch (RuntimeException e) {
|
||||||
|
return true; // better safe than sorry
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue