am efaf8a3d: remove work around for bug 14891460. Bug: 14895464

* commit 'efaf8a3dcde8158f50e5db36a7e81207b9978863':
  remove work around for bug 14891460. Bug: 14895464
This commit is contained in:
Chris Wren
2014-05-14 15:05:18 +00:00
committed by Android Git Automerger
-7
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) {