getLaunchIntentForPackage is null for some apps
问题 I'm building a service that sends a list of installed apps from an Android TV or a Fire TV to a mobile phone. The phone then sends back the package name of the app it wants to launch and the service launches it. This is the code that creates the list public List<InstalledApp> GetInstalledApps(boolean isAndroid) { PackageManager pm = getPackageManager(); List<ApplicationInfo> allPackages = pm.getInstalledApplications(PackageManager.GET_META_DATA); List<InstalledApp> userPackages = new