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:
committed by
Android (Google) Code Review
commit
2528490500
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user