Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 565e3e79 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am 4094fb3c: am 8d170421: Merge "Fix wrong condition."

* commit '4094fb3c':
  Fix wrong condition.
parents d1cdfb3e 4094fb3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ final class IconUtilities {
        int sourceWidth = icon.getIntrinsicWidth();
        int sourceHeight = icon.getIntrinsicHeight();

        if (sourceWidth > 0 && sourceWidth > 0) {
        if (sourceWidth > 0 && sourceHeight > 0) {
            // There are intrinsic sizes.
            if (width < sourceWidth || height < sourceHeight) {
                // It's too big, scale it down.