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