Support launching apps by package name without visibility
PackageManager#getLaunchIntentForPackage returns null if the caller is not allowed to query the package. This cl adds a new api using the same implementation with the #getLaunchIntentForPackage. Instead of returning the Intent, it returns the IntentSender which is not restricted by package visibility. Bug: 175336608 Test: atest android.content.pm.cts.PackageManagerTest Change-Id: I43524f26b27b2278417dae1a75bcdeb0447b8273
Loading
Please register or sign in to comment