Home

thomasboom / yam-launcher

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Fix crash when changing gesture app by adding lateinit guards for installedApps

3 months ago

000fb2e
Authored
Thomas Boom6/4/2026, 1:23:45 PM
installedApps is initialized asynchronously in setupApps() but onResume()
calls backToHome() before initialization completes. Added ::installedApps.isInitialized
guards in backToHome(), refreshAppMenu(), and filterItems() to prevent
UninitializedPropertyAccessException.

Closes #106

Parent979b6dc

1 file changed
  • app/src/main/java/eu/ottop/yamlauncher/MainActivity.kt+9−6