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

Commit 4631aafb authored by d34d's avatar d34d Committed by Steve Kondik
Browse files

Themes: Get mFontPkgName hashCode not mIconPkgName's

This fixes an infinite crash when a user applies a font and does
not have any icons applied.

Change-Id: I6ccd206c5ec9a732016876b2b4e3a835806a22b1
parent 5a5423a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ public class ThemeConfig implements Cloneable, Parcelable, Comparable<ThemeConfi
            int hash = 17;
            hash = 31 * hash + (mOverlayPkgName == null ? 0 : mOverlayPkgName.hashCode());
            hash = 31 * hash + (mIconPkgName == null ? 0 : mIconPkgName.hashCode());
            hash = 31 * hash + (mFontPkgName == null ? 0 : mIconPkgName.hashCode());
            hash = 31 * hash + (mFontPkgName == null ? 0 : mFontPkgName.hashCode());
            return hash;
        }