From 66d7d01ed91968f4ed2e2669fd306aa2af61cd16 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Fri, 14 May 2010 10:05:10 -0700 Subject: Get icon updating working. Change-Id: I749967545af5c97756e316231e740208fcd8ad3c --- services/java/com/android/server/status/StatusBarManagerService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'services/java/com/android/server') 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) { -- cgit v1.1