diff options
author | Joe Onorato <joeo@android.com> | 2010-05-20 10:21:52 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-06-02 14:48:43 -0700 |
commit | a0c56fe93925d20d9c0b830b9664699ce557e78c (patch) | |
tree | b31ff5bb17a888e609a4dbc51de8651252bc7b67 /services/java/com/android/server | |
parent | 18e69dfc7235f8a4bfe257f9d1c43539049a22ce (diff) | |
download | frameworks_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.java | 17 | ||||
-rw-r--r-- | services/java/com/android/server/status/StatusBarManagerService.java | 3 |
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; } |