am 90ce58ec: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
* commit '90ce58ecfdf7231611d70c849f14e5e71d1c8220': Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
This commit is contained in:
@@ -207,7 +207,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user