diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-07-27 16:26:44 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-07-31 13:04:41 -0700 |
commit | d61839701e49f3b945ff7318824369f37d272132 (patch) | |
tree | ef4dfb428bdfc015890bed771eda464cd624f3f1 /cm/lib/main | |
parent | e58c96e2de0ed9a7e564a173277a98604194997c (diff) | |
download | vendor_cmsdk-d61839701e49f3b945ff7318824369f37d272132.zip vendor_cmsdk-d61839701e49f3b945ff7318824369f37d272132.tar.gz vendor_cmsdk-d61839701e49f3b945ff7318824369f37d272132.tar.bz2 |
cmsdk: Create new setIcon method for utilizing bitmaps
Change-Id: I123994af89fe435b9f4bc146056a237f1cecb939
Diffstat (limited to 'cm/lib/main')
-rw-r--r-- | cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java index f824678..4ad890c 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java @@ -201,11 +201,11 @@ public class CMStatusBarManagerService extends SystemService { mCustomTileByKey.put(sbc.getKey(), r); - if (customTile.icon != 0) { + if (customTile.icon != 0 || customTile.remoteIcon != null) { StatusBarPanelCustomTile oldSbn = (old != null) ? old.sbTile : null; mCustomTileListeners.notifyPostedLocked(sbc, oldSbn); } else { - Slog.e(TAG, "Not posting custom tile with icon==0: " + customTile); + Slog.e(TAG, "Not posting custom tile with no icon set: " + customTile); if (old != null && !old.isCanceled) { mCustomTileListeners.notifyRemovedLocked(sbc); } |