WallpaperManagerCompat should target correct platform
Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
This commit is contained in:
1 parent
9c1607886b
commit
e24cb63b81
21 files changed
+41
-38
No files matched your search
@@ -123,7 +123,7 @@ public class IconCache {
|
||||
}
|
||||
|
||||
private Drawable getFullResDefaultActivityIcon() {
|
||||
return getFullResIcon(Resources.getSystem(), Utilities.isAtLeastO() ?
|
||||
return getFullResIcon(Resources.getSystem(), Utilities.ATLEAST_OREO ?
|
||||
android.R.drawable.sym_def_app_icon : android.R.mipmap.sym_def_app_icon);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user