diff options
author | Joe Onorato <joeo@android.com> | 2010-05-14 10:05:10 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-06-02 14:48:42 -0700 |
commit | 66d7d01ed91968f4ed2e2669fd306aa2af61cd16 (patch) | |
tree | 6c97672e9a821bb36d852870b8871f4c6c6cee13 /services/java/com/android/server | |
parent | 514ad663f0a8b239cc59409175e0bd489c591aa0 (diff) | |
download | frameworks_base-66d7d01ed91968f4ed2e2669fd306aa2af61cd16.zip frameworks_base-66d7d01ed91968f4ed2e2669fd306aa2af61cd16.tar.gz frameworks_base-66d7d01ed91968f4ed2e2669fd306aa2af61cd16.tar.bz2 |
Get icon updating working.
Change-Id: I749967545af5c97756e316231e740208fcd8ad3c
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r-- | services/java/com/android/server/status/StatusBarManagerService.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/java/com/android/server/status/StatusBarManagerService.java b/services/java/com/android/server/status/StatusBarManagerService.java index 31e42e9..db0d2f8 100644 --- a/services/java/com/android/server/status/StatusBarManagerService.java +++ b/services/java/com/android/server/status/StatusBarManagerService.java @@ -196,6 +196,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub } StatusBarIcon icon = new StatusBarIcon(iconPackage, iconId, iconLevel); + //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon); mIcons.setIcon(index, icon); // Tell the client. If it fails, it'll restart soon and we'll sync up. @@ -287,9 +288,6 @@ public class StatusBarManagerService extends IStatusBarService.Stub // ================================================================================ // Can be called from any thread // ================================================================================ - public void setIconVisibility(IBinder key, boolean visible) { - addPendingOp(OP_SET_VISIBLE, key, visible); - } private void addPendingOp(int code, IBinder key, IconData data, NotificationData n, int i) { synchronized (mQueueLock) { |