am 17e0eebd: am 465cb53b: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]

* commit '17e0eebdc6223de1f94b5ee538919adda9f58a9a':
  Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-05-02 19:30:43 +00:00
committed by Android Git Automerger

View File

@@ -212,7 +212,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);
}
}