Merge "Default icon should match platform one even on N and below devices. Bug: 63083094" into ub-launcher3-dorval-polish

This commit is contained in:
Hyunyoung Song
2017-07-05 22:58:45 +00:00
committed by Android (Google) Code Review
+2 -1
View File
@@ -120,7 +120,8 @@ public class IconCache {
}
private Drawable getFullResDefaultActivityIcon() {
return getFullResIcon(Resources.getSystem(), android.R.drawable.sym_def_app_icon);
return getFullResIcon(Resources.getSystem(), Utilities.isAtLeastO() ?
android.R.drawable.sym_def_app_icon : android.R.mipmap.sym_def_app_icon);
}
private Drawable getFullResIcon(Resources resources, int iconId) {