Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efaf8a3d authored by Chris Wren's avatar Chris Wren
Browse files

remove work around for bug 14891460.

Bug: 14895464

Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
parent 43118986
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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) {