Merge "Fix logic for logging bitmap errors" into sc-dev am: b8eac19403 am: a03169570d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14412917

Change-Id: I39ba07e5bf9bf51b1e35eec259dddb0377509526
This commit is contained in:
Jeff DeCew
2021-05-04 14:17:16 +00:00
committed by Automerger Merge Worker

View File

@@ -319,7 +319,7 @@ class ShortcutPackage extends ShortcutPackageItem {
}
final Icon icon = si.getIcon();
if (icon != null && icon.getType() != Icon.TYPE_BITMAP
&& icon.getType() == Icon.TYPE_ADAPTIVE_BITMAP) {
&& icon.getType() != Icon.TYPE_ADAPTIVE_BITMAP) {
continue;
}
if (icon == null && !si.hasIconFile()) {