Skip to content

Prevent crash when package info is not accessible#5

Open
qk7b wants to merge 2 commits intoHofinity:mainfrom
djamoapp:main
Open

Prevent crash when package info is not accessible#5
qk7b wants to merge 2 commits intoHofinity:mainfrom
djamoapp:main

Conversation

@qk7b
Copy link

@qk7b qk7b commented Aug 19, 2025

In some cases, the native code crashes with exception

android.content.pm.PackageManager$NameNotFoundException

Using a try catch logic in appToHashMap that returns a null when this exception is thrown, coupled with a filterNotNull, this does not happen anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant