Before you submit
What's going wrong?
Hello,
We used a static analysis tool to check whether Droid-ifyperforms any potentially time-consuming operations on the UI thread. Our analysis identified the following potential issues:
In Droidify.kt, within the onCreate() method, the API call forceSyncAll() involves a database query or write. SQL operations performed on the main thread can block when the dataset grows. According to Android best practices, such operations should be moved off the UI thread and executed in a background thread or coroutine.
In Droidify.kt, within the listenApplications() method, the operation involves a database query or write. SQL operations performed on the main thread can block when the dataset grows. According to Android best practices, such operations should be moved off the UI thread and executed in a background thread or coroutine.
We hope this report helps improve responsiveness and user experience.
How do we reproduce it?
No response
What did you expect?
No response
Screenshots
No response
Your phone
Pixel 9a
Android version
SDK 37
Droid-ify version
The code in the master branch
Anything else?
No response
Before you submit
What's going wrong?
Hello,
We used a static analysis tool to check whether Droid-ifyperforms any potentially time-consuming operations on the UI thread. Our analysis identified the following potential issues:
In Droidify.kt, within the onCreate() method, the API call forceSyncAll() involves a database query or write. SQL operations performed on the main thread can block when the dataset grows. According to Android best practices, such operations should be moved off the UI thread and executed in a background thread or coroutine.
In Droidify.kt, within the listenApplications() method, the operation involves a database query or write. SQL operations performed on the main thread can block when the dataset grows. According to Android best practices, such operations should be moved off the UI thread and executed in a background thread or coroutine.
We hope this report helps improve responsiveness and user experience.
How do we reproduce it?
No response
What did you expect?
No response
Screenshots
No response
Your phone
Pixel 9a
Android version
SDK 37
Droid-ify version
The code in the master branch
Anything else?
No response