am 5268248e: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
* commit '5268248e0708951966e4f6514736a4030d5052da': 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);
|
Log.e(TAG, "Activity component name not found!", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mIcon == null) {
|
if (mIcon == null && !isInEditMode()) {
|
||||||
mIcon = appInfo.loadIcon(pm);
|
mIcon = appInfo.loadIcon(pm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user