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

Commit 552ab56f authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Adnan Begovic
Browse files

qs: use external resource package for custom tiles



Load resources from the passed resource package instead of the context of the published
custom tile

Change-Id: Id53961215764cb7cb1cd72ddc284a0ae0f83b895
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent d10e52b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -108,7 +108,7 @@ public class CustomQSTile extends QSTile<QSTile.State> {
        state.label = customTile.label;
        state.label = customTile.label;
        final int iconId = customTile.icon;
        final int iconId = customTile.icon;
        if (iconId != 0) {
        if (iconId != 0) {
            final String iconPackage = mTile.getPackage();
            final String iconPackage = mTile.getResPkg();
            if (!TextUtils.isEmpty(iconPackage)) {
            if (!TextUtils.isEmpty(iconPackage)) {
                state.icon = new ExternalIcon(iconPackage, iconId);
                state.icon = new ExternalIcon(iconPackage, iconId);
            }
            }