summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-05-20 10:21:52 -0700
committerJoe Onorato <joeo@android.com>2010-06-02 14:48:43 -0700
commita0c56fe93925d20d9c0b830b9664699ce557e78c (patch)
treeb31ff5bb17a888e609a4dbc51de8651252bc7b67 /services/java/com/android/server
parent18e69dfc7235f8a4bfe257f9d1c43539049a22ce (diff)
downloadframeworks_base-a0c56fe93925d20d9c0b830b9664699ce557e78c.zip
frameworks_base-a0c56fe93925d20d9c0b830b9664699ce557e78c.tar.gz
frameworks_base-a0c56fe93925d20d9c0b830b9664699ce557e78c.tar.bz2
Checkpoint. Doesn't build.
Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r--services/java/com/android/server/status/DisableRecords.java17
-rw-r--r--services/java/com/android/server/status/StatusBarManagerService.java3
2 files changed, 19 insertions, 1 deletions
diff --git a/services/java/com/android/server/status/DisableRecords.java b/services/java/com/android/server/status/DisableRecords.java
new file mode 100644
index 0000000..ade8328
--- /dev/null
+++ b/services/java/com/android/server/status/DisableRecords.java
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2007 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
diff --git a/services/java/com/android/server/status/StatusBarManagerService.java b/services/java/com/android/server/status/StatusBarManagerService.java
index f4678c3..152f0a3 100644
--- a/services/java/com/android/server/status/StatusBarManagerService.java
+++ b/services/java/com/android/server/status/StatusBarManagerService.java
@@ -269,7 +269,8 @@ public class StatusBarManagerService extends IStatusBarService.Stub
// ================================================================================
public IBinder addNotification(StatusBarNotification notification) {
synchronized (mNotifications) {
- IBinder key = mNotifications.add(notification);
+ IBinder key = new Binder();
+ mNotifications.add(key, notification);
// TODO: tell mBar
return key;
}