remove work around for bug 14891460.

Bug: 14895464

Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
This commit is contained in:
Chris Wren
2014-05-14 10:03:07 -04:00
parent 43118986ca
commit efaf8a3dcd

View File

@@ -253,13 +253,6 @@ public class IconCache {
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) {