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:
@@ -319,7 +319,7 @@ class ShortcutPackage extends ShortcutPackageItem {
|
|||||||
}
|
}
|
||||||
final Icon icon = si.getIcon();
|
final Icon icon = si.getIcon();
|
||||||
if (icon != null && icon.getType() != Icon.TYPE_BITMAP
|
if (icon != null && icon.getType() != Icon.TYPE_BITMAP
|
||||||
&& icon.getType() == Icon.TYPE_ADAPTIVE_BITMAP) {
|
&& icon.getType() != Icon.TYPE_ADAPTIVE_BITMAP) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (icon == null && !si.hasIconFile()) {
|
if (icon == null && !si.hasIconFile()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user