mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
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 New Issue
Block a user