remove work around for bug 14891460.
Bug: 14895464
Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
diff --git a/src/com/android/launcher3/IconCache.java b/src/com/android/launcher3/IconCache.java
index 4d953ff..be02d35 100644
--- a/src/com/android/launcher3/IconCache.java
+++ b/src/com/android/launcher3/IconCache.java
@@ -253,13 +253,6 @@
mLauncherApps.resolveActivity(intent, user);
ComponentName component = intent.getComponent();
- try {
- launcherActInfo.getComponentName();
- } catch (NullPointerException e) {
- // launcherActInfo is invalid: b/14891460
- launcherActInfo = null;
- }
-
// null info means not installed, but if we have a component from the intent then
// we should still look in the cache for restored app icons.
if (launcherActInfo == null && component == null) {