HeliBoard
HeliBoard copied to clipboard
Potential UI thread blocking issue
In LatinIME.java, the onCreate() method calls loadIcons(). However, loadIcons() synchronously loads and processes a large number of Drawable objects (including decoding and measuring), which can noticeably affect startup performance when executed on the main thread.
Similarly, in SettingsActivity.kt, the onCreate() method calls findCrashReports(), which performs synchronous I/O operations and may also block the UI thread.
To improve responsiveness and prevent potential UI blocking, it is recommended to move these operations off the main thread.
What kind of delays have you noticed?