Home

thomasboom / yam-launcher

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Fix launcher crash when tapping shortcut to uninstalled app

6 months ago

b01c2d2
Authored
Quin Gillespie3/8/2026, 6:20:08 PM
The "/" component name branch in setShortcutListeners created a
ComponentName directly without verifying the app was still installed,
causing startMainActivity to throw and crash the launcher. Now checks
getActivityList first and shows a toast on failure, matching the
existing guard in the else branch.

Parent61c9056

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