HeliBoard icon indicating copy to clipboard operation
HeliBoard copied to clipboard

Potential UI thread blocking issue

Open nbd-boss opened this issue 1 month ago • 1 comments

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.

nbd-boss avatar Nov 07 '25 03:11 nbd-boss

What kind of delays have you noticed?

Helium314 avatar Nov 20 '25 20:11 Helium314