remove work around for bug 14891460.
Bug: 14895464 Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
This commit is contained in:
@@ -253,13 +253,6 @@ public class IconCache {
|
|||||||
mLauncherApps.resolveActivity(intent, user);
|
mLauncherApps.resolveActivity(intent, user);
|
||||||
ComponentName component = intent.getComponent();
|
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
|
// 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.
|
// we should still look in the cache for restored app icons.
|
||||||
if (launcherActInfo == null && component == null) {
|
if (launcherActInfo == null && component == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user