Add tests for play promise icons.

Bug: 139021165
Change-Id: I45469b7523d8aea12c34d460c7b69c571a415675
This commit is contained in:
Jon Miranda committed 2019-09-05 15:45:51 -07:00
1 parent 18c691404f
commit f5197fce3d
4 files changed
+122 -6

No files matched your search

@@ -133,7 +133,8 @@ public class InstallShortcutReceiver extends BroadcastReceiver {
String pkg = getIntentPackage(info.launchIntent);
if (!TextUtils.isEmpty(pkg)
&& !launcherApps.isPackageEnabledForProfile(pkg, info.user)) {
&& !launcherApps.isPackageEnabledForProfile(pkg, info.user)
&& !info.isActivity) {
if (DBG) {
Log.d(TAG, "Ignoring shortcut for absent package: " + info.launchIntent);
}