-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Database access ANRs #5838
Comments
After the work done in #5867, the main focus to get this done is to be able to call |
The goal here now will be to remove the |
It looks like a significant rewrite (replacing |
An example was reported here.
Our forms and instances databases should not be accessed the UI thread. We can use
StrictMode.noteSlowCall
in ourDatabaseConnection
(on accessing a writable or readable DB) to detect these in debug builds and instrumented tests.The text was updated successfully, but these errors were encountered: