-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Sometimes, Android losses access to your package names. Maybe because we lose the reason why it is visible automatically in some use cases https://developer.android.com/training/package-visibility/automatic
If it happens, createLocusVersion will fail with PackageManager$NameNotFoundException
And getAvailableVersions will return nothing because all packages run into the ignored NameNotFoundException catch.
Do we need to define all packages in the manifest like this https://developer.android.com/training/package-visibility/declaring? I ask it because your example doesn't do it.
Or do you need to define the queries in your API like in this https://developer.android.com/training/package-visibility/declaring#communicate-host-app library use case?
I don't know if your API structure applies to this concept or if it isn't a library use case.
Unfortunately we don't know how to trigger the issue Falcosc/locus-addon-tasker#38 We only know that a reboot is needed to restore access.
I guess the error will be fixed with adding the query permissions, and that's why I ask how we should add it. Either every app or on library level.