diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2015-06-12 08:04:19 +0200 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-12-07 15:24:07 -0800 |
commit | 552ab56f722a02008fd808a71ec5e8e99ec910cf (patch) | |
tree | 1b9201f8d606396a765bab97510035886d3d586e /packages/SystemUI/src/com/android/systemui/qs/tiles | |
parent | d10e52b5754ed3b89d1ae737d512383b37cf55ed (diff) | |
download | frameworks_base-552ab56f722a02008fd808a71ec5e8e99ec910cf.zip frameworks_base-552ab56f722a02008fd808a71ec5e8e99ec910cf.tar.gz frameworks_base-552ab56f722a02008fd808a71ec5e8e99ec910cf.tar.bz2 |
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: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/tiles')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java index 88e5666..e0866af 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java @@ -108,7 +108,7 @@ public class CustomQSTile extends QSTile<QSTile.State> { state.label = customTile.label; final int iconId = customTile.icon; if (iconId != 0) { - final String iconPackage = mTile.getPackage(); + final String iconPackage = mTile.getResPkg(); if (!TextUtils.isEmpty(iconPackage)) { state.icon = new ExternalIcon(iconPackage, iconId); } |