diff options
author | Joe Onorato <joeo@android.com> | 2010-05-14 11:55:07 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-06-02 14:48:42 -0700 |
commit | 5368017294ab5d4c37c48d4169da33acbf004e83 (patch) | |
tree | d1c452dbec3a4898015ee6c2bcbb1fbc52138895 /services/java/com/android/server | |
parent | 263700df7ba34e70396d014d09a274d9ebbbf6ca (diff) | |
download | frameworks_base-5368017294ab5d4c37c48d4169da33acbf004e83.zip frameworks_base-5368017294ab5d4c37c48d4169da33acbf004e83.tar.gz frameworks_base-5368017294ab5d4c37c48d4169da33acbf004e83.tar.bz2 |
Remove unused cruft.
Change-Id: I21a10d74106d1e4384a70cb654e4336b8f679e4a
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r-- | services/java/com/android/server/status/StatusBarManagerService.java | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/services/java/com/android/server/status/StatusBarManagerService.java b/services/java/com/android/server/status/StatusBarManagerService.java index ae5955b..0f5f2ac 100644 --- a/services/java/com/android/server/status/StatusBarManagerService.java +++ b/services/java/com/android/server/status/StatusBarManagerService.java @@ -179,7 +179,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub net = gatherDisableActionsLocked(); mNotificationCallbacks.onSetDisabled(net); } - addPendingOp(OP_DISABLE, net); + //addPendingOp(OP_DISABLE, net); } } @@ -286,46 +286,6 @@ public class StatusBarManagerService extends IStatusBarService.Stub // Can be called from any thread // ================================================================================ - private void addPendingOp(int code, IBinder key, IconData data, NotificationData n, int i) { - synchronized (mQueueLock) { - PendingOp op = new PendingOp(); - op.key = key; - op.code = code; - op.iconData = data == null ? null : data.clone(); - op.notificationData = n; - op.integer = i; - mQueue.add(op); - if (mQueue.size() == 1) { - //mHandler.sendEmptyMessage(2); - } - } - } - - private void addPendingOp(int code, IBinder key, boolean visible) { - synchronized (mQueueLock) { - PendingOp op = new PendingOp(); - op.key = key; - op.code = code; - op.visible = visible; - mQueue.add(op); - if (mQueue.size() == 1) { - //mHandler.sendEmptyMessage(1); - } - } - } - - private void addPendingOp(int code, int integer) { - synchronized (mQueueLock) { - PendingOp op = new PendingOp(); - op.code = code; - op.integer = integer; - mQueue.add(op); - if (mQueue.size() == 1) { - //mHandler.sendEmptyMessage(1); - } - } - } - // lock on mDisableRecords void manageDisableListLocked(int what, IBinder token, String pkg) { if (SPEW) { |