am 4eab4e14: am 5268248e: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

* commit '4eab4e14c8453a0b41923c714a05dccdd72d7829':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-05-13 17:40:49 +00:00
committed by Android Git Automerger

View File

@@ -208,7 +208,7 @@ public class ActionBarView extends AbsActionBarView {
Log.e(TAG, "Activity component name not found!", e);
}
}
if (mIcon == null) {
if (mIcon == null && !isInEditMode()) {
mIcon = appInfo.loadIcon(pm);
}
}