-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
MainActivity.onCreate() synchronously calls installPrivateAssets(), which performs file I/O such as copying the Convolver / DDC / Liveprog directories and reading/writing WAV/TAR files. These operations may cause noticeable stuttering on the UI thread.
In addition, the file import logic inside handleFileIntent()—including importFile() as well as content validation such as Preset.validate() / Preset.load()—also involves time-consuming I/O, and parts of it still run on the main thread.
According to Android’s official best practices, all disk I/O should be performed on Dispatchers.IO to avoid blocking the UI thread and prevent potential ANRs.
Metadata
Metadata
Assignees
Labels
No labels