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

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

Change-Id: I17c6dbd5f9dd6c59142857c105300338bea3105c
This commit is contained in:
Jeff DeCew
2021-05-04 13:53:05 +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()) {