diff options
Diffstat (limited to 'src/com/android/launcher3/InstallShortcutReceiver.java')
-rw-r--r-- | src/com/android/launcher3/InstallShortcutReceiver.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/launcher3/InstallShortcutReceiver.java b/src/com/android/launcher3/InstallShortcutReceiver.java index 448cc1dfd..3fc8fc0a9 100644 --- a/src/com/android/launcher3/InstallShortcutReceiver.java +++ b/src/com/android/launcher3/InstallShortcutReceiver.java @@ -432,10 +432,4 @@ public class InstallShortcutReceiver extends BroadcastReceiver { .fromResolveInfo(info, original.mContext); return new PendingInstallShortcutInfo(launcherInfo, original.mContext); } - - public static boolean isLauncherActivity(Intent intent, Context context) { - Intent data = new Intent().putExtra(Intent.EXTRA_SHORTCUT_INTENT, intent); - PendingInstallShortcutInfo info = new PendingInstallShortcutInfo(data, context); - return convertToLauncherActivityIfPossible(info).isLuncherActivity(); - } } |