ActivityStarter1.ResolveActivity always returns an empty string in Android 11

I have two AI2 apps (ie app A and app B).
Shortly after startup, app A looks to see if app B is installed (not running, just installed).
If app B is not installed, a particular tinyDB tag is set to '5'.
If app B is installed, that same tinyDB tag is set to '0'.

App A never, ever, ever needs to start app B.
App A only needs to know that app B is installed.

My search of forum topics indicated that in Android 11, ActivityStarter1.ResolveActivity always returns an empty string (in my case, indicating app B is not installed).
My apps work on Androids < 11.
How do I get it to work with Android 11?

3 Likes

Yes, also on Android 12. But it returns an empty string:

1 Like