History log of /frameworks/base/services/java/com/android/server/NotificationManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a0c9b9d2a7a0566615b6b044ac8a6b434c80d5be 14-Jun-2013 Daniel Sandler <dsandler@android.com> Merge "Temporarily restore some support for icon==0 notifications." into jb-mr2-dev
7c011302b64f3a623030f09346b3b81214c2480a 10-Jun-2013 Daniel Sandler <dsandler@android.com> Do not block notifications or toasts for SYSTEM_UID or PHONE_UID.

The specific bug is this: SIM PIN unlock attempt toasts are
sent from com.android.settings/.IccLockSettings which runs
as the phone process; NoMan wasn't having any of that and
was blocking the toasts.

With this change we treat SYSTEM_UID and PHONE_UID the same
for all security checks, and furthermore we guarantee that
all notifications and toasts from those UIDs will be
permitted.

Bug: 9098802
Change-Id: Idc788527aa2cb38e015fe92773766a514167999e
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
55bf965e89df5986a7a988c2b1ec2cd9f01edb56 23-May-2013 Andrew Wilson <anwilson@google.com> Merge "Compare binder instances when checking if listeners match." into jb-mr2-dev
ffcc976928f5709b4689b479e3885b3fdaf8b8b6 22-May-2013 Daniel Sandler <dsandler@android.com> Temporarily restore some support for icon==0 notifications.

This is WRONG WRONG WRONG but certain apps rely on it to
poke the LED and so forth. In a future release this will
stop working.

Bug: 8623399
Change-Id: I49bb8ccc6891b1398ceec94c64d6c3a510ad1c38
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
152942be13c422e475ec1e323e2a885bf988cd0a 22-May-2013 Andrew Wilson <anwilson@google.com> Compare binder instances when checking if listeners match.

Bug: 9069919
Change-Id: I06130105cb703de35de76ab2fceba3855fa5407a
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f5ceaf4b19362b3cf7882bf8a6d086841f551fed 21-May-2013 Daniel Sandler <dsandler@android.com> Merge "Archive a copy of each dismissed notification." into jb-mr2-dev
26b81d594ceb3026f64e8fa6980044fcb867d05c 21-May-2013 Daniel Sandler <dsandler@android.com> Archive a copy of each dismissed notification.

We don't want to save all the heavyweight stuff, but we
can't lighten the notification in place because there may be
other active references.

Bug: 8839246
Change-Id: Id6dcc1cf5ae196ee3e42908d6b3ec4e928e9f0c5
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
79f7892c1002d2e7159d34537fcd6a46a2db4fb8 16-May-2013 John Spurlock <jspurlock@google.com> Deactivate notification listeners disabled at runtime.

PACKAGE_CHANGED is called when either the application or any
of its components change. Rework old early exit code to
handle component-level disabling wrt listeners.

Note PACKAGE_CHANGED can take quite a while to reach NMS.
Up to ten seconds (!) after component-disabling in app.

Bug:8982243
Change-Id: Ia325516140dd9288466a663192a5326019f071ab
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ae9bb5737c656f48b889f37f5d23b251db8f0caf 15-May-2013 Chris Wren <cwren@android.com> disable notification listeners on uninstall

Bug: 8979640
Change-Id: I9f1d118e5ce210b829476e0971f3d55fc778c227
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3ec4e7050aabf9a9e42a9c7aec7d61caa2c33ae5 16-May-2013 John Spurlock <jspurlock@google.com> Rebind notification listeners for current user.

Use ForUser overload when reading setting inside system server.

Bug: 9000206
Change-Id: Ie87aed578d29425d8f32b23aeb8aa7118922c889
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3da7302dd28611bc1741f6ed3138562fea9101b5 10-May-2013 Chris Wren <cwren@android.com> restart notification listener on package add

Bug: 8813471
Change-Id: Icf6c69811392c4567a5c842740e463fb957e7563
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
c1b49bd26b2d306854f8392693a7c980172bc507 07-May-2013 Daniel Sandler <dsandler@android.com> Defend against a system server crash.

Bug: 8575629
Change-Id: Iafc8ab2f7460c8eacc37fc077cf5a3df16cf2911
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
4f91efdf421e354ee2033ed640e4150cf0cef21b 25-Apr-2013 Daniel Sandler <dsandler@android.com> API: getPkg() -> getPackageName()

Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
e6f7f2e3a01b8deb00e03ccfa93751c315f14ef0 25-Apr-2013 Daniel Sandler <dsandler@android.com> API cleanup: NotificationListener

- Wrap all public member variables in getters and make
slots private
- Rename clear* methods to cancel* to be more consistent
with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
25cf8cee6f304a286d321204e448b18ce733a60c 24-Apr-2013 Daniel Sandler <dsandler@android.com> New NotificationListener API: getActiveNotifications()

This allows a listener service to catch up on the current
state of the notification panel at any time, including at
startup.

Bug: 8656860
Change-Id: I1a3d665d84576e17870929a63dda334afc696010
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f78ff07f6e688d11881658f743ef63076fcc550c 23-Apr-2013 Daniel Sandler <dsandler@android.com> Merge "Fix concurrency issues when parceling StatusBarNotifications." into jb-mr2-dev
1a497d3a2b1496c12949e47e55f8e46d8f585be5 18-Apr-2013 Daniel Sandler <dsandler@android.com> Fix concurrency issues when parceling StatusBarNotifications.

Protip: Don't mess with Bundles after you've sent them off
for parceling in an RPC.

Note that this change reduces the payload size of
StatusBarNotification objects received in
onNotificationRemoved() callbacks; it scrubs out the
RemoteViews and Bitmaps just as the NoMan's internal archive
does. [You don't really need that information anyway when
hearing about a removed notification; most likely all you
need are the other slots on StatusBarNotification, but
nulling the whole Notification object breaks a lot of
clients.]

Bug: 8616295
Change-Id: Ic899045f2352b96dcf064d3e9e51dad52629aea3
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
32e698b12fc85a25463d536fb6f231f14a07b448 18-Apr-2013 Daniel Sandler <dsandler@android.com> Once again, cancel all when notifications canceled for pkg.

Right now this only works if you go through the front door
(using setNotificationsEnabledForPackage()); if you set the
AppOps for a package otherwise the existing notifications
will not be cleared (but new ones will be blocked). Since
there's no UI for modifying AppOps today this shouldn't be a
problem.

Bug: 8489214
Change-Id: I84f8c76a0d03959127e9076ab2b7d37dbdaebb17
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3147523c107a5fecdccdc8083dea3124576331de 17-Apr-2013 Daniel Sandler <dsandler@android.com> Treat the default sound Uri the same as DEFAULT_SOUND.

For the purposes of deciding whether or not to invoke the
"fallback vibrate", that is. (RingtonePicker will return
content://settings/system/notification_sound when "Default"
is chosen, so if the app pops this Uri directly into
Notification.sound, we should treat it like DEFAULT_SOUND
and look to see whether the system notification sound is
not None before running the fallback vibration.)

Bug: 8627641
Change-Id: Ia469b8e4d5d7647ce1a8a179f591ed7a3443b5c5
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
5e62e3aa7da2824b9a77096788acdd7e2ecd22fb 16-Apr-2013 Daniel Sandler <dsandler@android.com> Further reduce memory usage of notification archive.

- Max 250 notifications preserved (was 1000)
- Known heavyweight extras are removed
- print some of 'em out in dumpstate, while we're at it

Bug: 8280039
Bug: 8537938
Change-Id: I9239128c32a1d9f5ef4e0dc62dc2d23e190871e9
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f45564ee7228cf9efc70cdcf16de3ddcedd1cb02 15-Apr-2013 Daniel Sandler <dsandler@android.com> Finish annotating Notification.extras.

This covers all useful data from the basic Builder as well
as each of the Styles that is not otherwise captured on the
Notification object itself.

Extras are now prettyprinted in dump() output.

Bug: 8270485
Change-Id: I47fc50860dab6409793f57e904cc60296310d5cf
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
0c1baf9dd65a2a67ac1e56776e9ef71a7cfe0f09 03-Apr-2013 Jeff Sharkey <jsharkey@android.com> Nuke heavy parts of notification before archiving.

Bug: 8537938
Change-Id: I2e4eccc3bd6d57fe5cef340d9e67986d78d3be95
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
4b749ef5f2d510b84b99aa269d5c77af22457d04 19-Mar-2013 Daniel Sandler <dsandler@android.com> Allow whitelisted non-system packages to listen for notifications.

The allowed packages are listed in
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS. (Don't let
the plural fool you: only one listener will be supported in
the UI.)

Change-Id: Ia69f2ba05d8e555fd4d40b0cc89c62ed14af3cac
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
23d7c700324d6ae9a20ddc89617ccc1846f80fc8 07-Mar-2013 Daniel Sandler <dsandler@android.com> Accumulate updates to notifications before archiving.

By only adding notifications to the archive when they are
removed we batch up multiple updates and only store the
final version. Some data is lost in this process, but we
save tons of memory storing otherwise redundant /
uninteresting data (e.g. each step of a download).

Change-Id: I008afefc1242bb7c433d45da2c36fcc626dd3706
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
21ca44d67b972e66a5c8698886ee8747366c8b05 07-Mar-2013 Daniel Sandler <dsandler@android.com> Properly support USER_ALL in notification listener API.

Listeners should be notified for any notification if they
register for USER_ALL, or for any notification posted to
USER_ALL.

Bug: 8328357
Change-Id: Ib5024d41287090d1a390539a015d8cb4dfa854a7
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
09a247e9a86df068422cbe8b60430fb6583c028c 14-Feb-2013 Daniel Sandler <dsandler@android.com> New INotificationListener interface.

Use with INotificationManager.registerListener(). Limited to
system only right now.

Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114 12-Feb-2013 Daniel Sandler <dsandler@android.com> Historical notification access API.

Similar to getActiveNotifications(),
getHistoricalNotifications() returns a list of all
notifications that have been posted, in
reverse-chronological order. It currently includes duplicate
entries for notifications that have been updated (so it
really is tracking every notification that has been posted
to the system).

Change-Id: Icce8d6f96bbe76710c989fd0068ff971c6498605
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
fde19b106b2b77bc3540b04445357870caf878b5 17-Jan-2013 Daniel Sandler <dsandler@android.com> New API to request a list of current notifications.

The ACCESS_NOTIFICATIONS permission is signature|system only.

Change-Id: I41338230aee9611117cbdac251c1b6b6c3cebf00
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f265ea9d8307282ff1da3915978625a94fc2859e 01-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: vibration, neighboring cells, dialing, etc.

Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).

Add operation for retrieving neighboring cell information.

Add a new op for calling a phone number. This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.

Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
4a900acdef4559f9f84ca7e2bce45485215fc130 30-Jan-2013 Daniel Sandler <dsandler@android.com> Migrate package notification restrictions to AppOps.

Change-Id: I23064ce3014d2446d009bbdff92b301280e8b989
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
98c958097b0dd458ffd3e12f9692c0c9522d932e 05-Dec-2012 Sascha Prueter <saschap@google.com> am 8f7eddbe: am 652d8fc9: Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev

* commit '8f7eddbef33f97e7d4439707ac0039be4c81ef0e':
PRIORITY_MIN notifications should be truly ambient.
526fa0e6d5cfe6ca3f390982c169b43fcb7d6f78 04-Dec-2012 Daniel Sandler <dsandler@android.com> PRIORITY_MIN notifications should be truly ambient.

If your notification is set to MIN priority, it will never
attempt to interrupt the user, either by an icon (already
implemented), or (new in this patch) by LED, vibration, or
sound.

Bug: 7648785
Change-Id: Ia0f8e010e62029d8d8ef1955dd20b7c79fb68398
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
69d13491eaf0d90b2a1740373306a12bc6238bd4 21-Nov-2012 Daniel Sandler <dsandler@android.com> am 8fef4a82: am 15db00eb: Merge "DEFAULT_VIBRATE must always use the default vibe pattern" into jb-mr1.1-dev

* commit '8fef4a820ee217f25fbf29234e90d68dff448222':
DEFAULT_VIBRATE must always use the default vibe pattern
4a7a9b963b42358a891b42187e46d76ecb92ff31 20-Nov-2012 Daniel Sandler <dsandler@android.com> DEFAULT_VIBRATE must always use the default vibe pattern

The logic here was backwards, causing the (softer) fallback vibe
pattern to be applied if the notification specified a sound
(or DEFAULT_SOUND) and also DEFAULT_VIBRATE. The fallback
vibe should only play if you have *no* vibration set.

Bug: 7588655
Change-Id: Iecdd362729bccedf779b51cc9b90a12014328aff
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
8ff32d81134cc6a73b9c58e720e8d2ad79a9c119 15-Nov-2012 Daniel Sandler <dsandler@android.com> am 00679b5b: am 020d6529: Merge "Do not vibe when the default notification sound is Silent." into jb-mr1.1-dev

* commit '00679b5b467dbc19ce2223b5501976c5c3f66fa9':
Do not vibe when the default notification sound is Silent.
1812b3450389b37bc069061cc69cb20754816f62 15-Nov-2012 Daniel Sandler <dsandler@android.com> am 2bb5dc6a: am 83b25961: Merge "Notification vibration improvements:" into jb-mr1.1-dev

* commit '2bb5dc6a367ce869939728b2978be7ca61a4b8b8':
Notification vibration improvements:
d4d2de2a7778b85f5af9959a5ebf07094727e672 14-Nov-2012 Daniel Sandler <dsandler@android.com> Do not vibe when the default notification sound is Silent.

(This relates to the new vibration fallback behavior, where
notifications that expect to make a sound should always
vibrate in vibrate mode. We should not vibrate if the
notification's sound is silent, but we should also not
vibrate if the notification uses the default sound and the
default is silent.)

Bug: 7537077
Change-Id: I08e149c8c00ef2d2f61e418d88a086cb5e9cf241
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
edbb380950d60a5e7bcda04599fdf9cf43d18dbd 14-Nov-2012 Daniel Sandler <dsandler@android.com> Notification vibration improvements:

- When notifications vibrate as a fallback (that is,
because they want to play a sound but the device is in
vibrate mode), this no longer requires the VIBRATE
permission.
- As a bonus, if your notifications use DEFAULT_VIBRATE,
you don't need the VIBRATE permission either.
- If you specify a custom vibration pattern, you'll still
need the VIBRATE permission for that.
- Notifications vibrating in fallback mode use a different
vibration pattern.
- The DEFAULT_VIBRATE and fallback vibrate patterns are now
specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ffea917025254ab33670b1268588d63514ddf918 10-Nov-2012 Ed Heyl <edheyl@google.com> am 5ec97f4e: am 4f017e75: Merge "When in vibrate mode, all notifications will vibrate." into jb-mr1.1-dev

* commit '5ec97f4e82e1adc3bffb9c998b302464517e1f04':
When in vibrate mode, all notifications will vibrate.
71789e11cc5266c44886b4894057966a0380757a 10-Nov-2012 David Agnew <dsandler@android.com> When in vibrate mode, all notifications will vibrate.

(Unless the notification specifies no ringtone AND no
vibration, in which case it will remain silent.)

Change-Id: I926d0fe0165b9622cd117e6c3ef6e3637772b444
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
807dc6f038b906ca52741a5768020110be53a779 09-Nov-2012 Amith Yamasani <yamasani@google.com> am 081c36de: am bfb8a7b1: am 3fe2cb4d: Merge "Don\'t cancel any notifications that are meant for all users, if no package is specified." into jb-mr1-dev

* commit '081c36ded6a562ae2bde4238592a1e7bc13ba151':
Don't cancel any notifications that are meant for all users, if no package is specified.
5ec00e930fb4d523ce5784fb336841410d030cef 08-Nov-2012 Amith Yamasani <yamasani@google.com> Don't cancel any notifications that are meant for all users, if no package is specified.

Bug: 7490028

Otherwise notifications such as the USB debugging and OTA notifications will be
dismissed when any user is stopped.

Change-Id: I0ae0c1136a999dd3aade99ca9e71c714b359eab4
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
2c7ebeae9f2b795c4802b4aa4d7b3d84e8fff239 30-Oct-2012 Amith Yamasani <yamasani@google.com> Relax permission requirements for posting notifications across users

Bug: 7430689
Change-Id: I2430b20137705ed2d6dc0f870690acda0662392b
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
321e9c562b9146cf936b3d1ec2f9317e98edd5fe 12-Oct-2012 Daniel Sandler <dsandler@android.com> Allow any user to clear a notification targeted at USER_ALL.

This also adds the userid to notification_* eventlogs.

Bug: 7325802
Change-Id: I48055caf1344acd58b61607bf0be38cc299fc7be
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
bcfc1ca8ab8bf057e20d9369af3d007d80ca83e4 11-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Don't play notifications during speech recognition" into jb-mr1-dev
c31ed39e7a5a8c709aa5f356cb5bcb563b059d65 10-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Send accessibility notification events only for the current user.

1. The notification manager service is firing accessibility events
for notification for a background user. Events for the current
user's notifications should be sent.

bug:7326302

Change-Id: I00665385ba2106f161928dad1b76536c93c17f27
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d677054ca63f55abaa1c478ea3c50f6be665a979 10-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Don't play notifications during speech recognition

Add support for querying AudioManager to know whether speech
recognition is currently underway.

Don't play a notification if speech recognition is underway.

Bug 7314859

Change-Id: I1bd013a3168cfe1a6b6dcfd28565e1c3c512eb6a
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b78738fa06b092f910ffb39989dfb700d6b21788 06-Oct-2012 Jeff Sharkey <jsharkey@android.com> Clear identity when requesting current user.

Bug: 7298189
Change-Id: Ie9c160f12067f1b9426acbfee67ef81e8f5f7992
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
8637bd9766784473eb3849b4f21fda4a2ea6eed1 06-Oct-2012 Jeff Sharkey <jsharkey@android.com> Only play notification sounds for active user.

Bug: 7298302
Change-Id: I1e176f7b17bb51b878f2e8b345804780df92d487
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
078a490c2276c91ab84536d603c7848dc244e330 04-Oct-2012 John Spurlock <jspurlock@google.com> Clear notifications properly on ACTION_USER_STOPPED.

Which also takes care of the ACTION_USER_REMOVED case.

Bug:7277853
Change-Id: I0a6bade11bd0d420df03e16e69a386cfccfa07cc
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
1951db86f527ff4e8c2ddf4306779ce956cd372d 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Multi-user ringtone playback." into jb-mr1-dev
65c4a2b26cd8776b0927e9b0e07ecf53bd31b627 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> Multi-user ringtone playback.

Change RingtonePlayer to open content:// Uris based on requesting
UserHandle. Grant SystemUI visibility to all emulated storage so
it can play ringtones for apps without READ_EXTERNAL_STORAGE.

Resolve canonical file:// Uris before passing out of source app,
replacing any /emulated_legacy/-style paths with user-specific
variant so they can be opened by SystemUI. Calling for RemoteViews,
Ringtones, and Notifications.

Bug: 7202982
Change-Id: Ibf0eca8df80c1486711144a7b648f464aadfe099
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7214090: Need to be able to post notifications to all users

Also fix a bunch of system services that should be doing this. And
while doing that, found I needed to fix PendingIntent to evaluate
USER_CURRENT at the point of sending, not creation.

Note that this may end up with us having some notification shown to
non-primary users that lead to settings UI that should only be for
the primary user (such as the vpn notification). I'm not sure what
to do about this, maybe we need a different UI to come up there or
something, but showing the actual notification for those users at
least seems less broken than not telling them at all.

Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
6d51571835737c7502a2e111ee9dc2527ebad984 21-Sep-2012 Jeff Sharkey <jsharkey@android.com> Allow acquiring ContentProviders across users.

Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER. Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user. Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
c9ce0abe29baecc540c48f4913255a71586bcfd3 04-Sep-2012 Daniel Sandler <dsandler@android.com> Make the SystemUI stop the screen saver when a full-screen notification is posted.

This keeps all the fullScreenIntent logic (including
multiuser implications) in one place.

Change-Id: I4ef284daf90464f105780ade1d971e9e081fbbb5
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
24518e466ab36ce7c6d2ffd733ac4d57f255766e 04-Sep-2012 Daniel Sandler <dsandler@android.com> Do not play sounds or vibes for background users' notifications.

USER_ALL notifications will still play/vibe for any user.

Change-Id: Ie8cc69bd1541193ed9c4207ef38a8d4898af0a9d
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
4120375d46091df8527bb701882e056fbb0e6b06 31-Aug-2012 Dianne Hackborn <hackbod@google.com> Remove Binder.getOrigCallingUid().

Replaced all remaining places that used it with explicit user
specification.

While doing this, I ran into stuff that was creating PendingIntent
objects (that now need to specify the explicit user they are for),
which are also posting notifications... but have no way to specify
the user for the notification.

So the notification manager in the system process now also gets a
formal concept of a user associated with the notification, which
is passed in to all the necessary aidl calls. I also removed the
old deprecated aidl interface for posting/cancelling notifications,
since we now always need a user supplied.

There is more work that needs to be done here, though. For example
I think we need to be able to specify USER_ALL for a notification that
should be shown to all users (such as low storage or low battery).
Along with that, the PendingIntent creation needs to be tweaked to
be able to handle USER_CURRENT by evaluating the user at the point the
pending intent is sent.

That's for another change, however.

Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f203aeef993b0f4ce65c9630d06bbd50a504e89f 30-Aug-2012 Amith Yamasani <yamasani@google.com> Enforce permissions for calls with specified userId

Fix a couple of places where incorrect userIds were being passed in.

Change-Id: I398c676e0488ff7e584be96e96c8b32652134238
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
80a4af2bbc6af42ae605e454bf89558e564f5244 28-Aug-2012 Dianne Hackborn <hackbod@google.com> Start implementing concept of "running" users.

The activity manager now keeps track of which users are running.

Initially, only user 0 is running.

When you switch to another user, that user is started so it is
running. It is only at this point that BOOT_COMPLETED is sent
for that user and it is allowed to execute anything.

You can stop any user except user 0, which brings it back to the
same state as when you first boot the device. This is also used
to be able to more cleaning delete a user, by first stopping it
before removing its data.

There is a new broadcast ACTION_USER_STOPPED sent when a user is
stopped; system services need to handle this like they currently
handle ACTION_PACKAGE_RESTARTED when individual packages are
restarted.

Change-Id: I89adbd7cbaf4a0bb72ea201385f93477f40a4119
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
0c3804950236fe170ebf6cc7a5f1e3e305b8f315 21-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user app management.

Introduce API to get per-user storage information, keep track
of services associated with users, and various small cleanup.

Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
7be1a3d67c32d73b20e30e85084f07c609617762 13-Aug-2012 John Spurlock <jspurlock@google.com> Stop screensaver on incoming phone call.

Use notification manager as an indicator of when to stop the screensaver
due to immediately-needed user interaction.

Any notification with a fullScreenIntent will now exit the screensaver.

Bug: 6976796
Change-Id: Id91cd4c32f3fad018b56f4dfe24b37110bab32d8
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
39606a007a5b1309dd000234f2b8cf156c49fd0f 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Make AtomicFile a public API. It's about time!

Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
26ece57dadb5e59e619bcd5d906935837d55d5db 01-Jun-2012 Daniel Sandler <dsandler@android.com> Be more discriminating when canceling notifications on changing packages.

Specifically: don't do it if the package is enabled at the
time the PACKAGE_CHANGED broadcast is sent. (We only want to
cancel notifications when packages enter the disabled
state.)

Bug: 6589355
Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
bffc3d1bd33eb2d8e00a9f8b6261d815db503311 08-May-2012 Eric Laurent <elaurent@google.com> Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
- presence of a vibrator on the device
- current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
VOL- and volume equals 1: NORMAL => VIBRATE
VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
VOL+ and in SILENT mode: SILENT => VIBRATE
VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
Added dump for stream volumes in AudioService.
Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
098d580cc2bb6c0891c756a4e5230c6c6b0d2376 27-Apr-2012 Jeff Sharkey <jsharkey@android.com> Migrate ringtone playback to SystemUI.

Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
0da673f02e542c644c300568807c80e196296860 11-Apr-2012 Daniel Sandler <dsandler@android.com> Notifications may now be disabled on a per-package basis.

When a package's ability to post notifications is disabled,
all outstanding notifications from that package are
immediately canceled, and the score of any future
notification from that package is set so low that the
notification manager won't even send it to the status bar.

No UI for this yet, but you can try it out:

adb shell service call notification 8 s16 $PKG i32 (1|0)

Bug: 5547401

Change-Id: Ieccac5746b40f60debd902a45d1dedbc91dcdc89
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
c2346134bb519a54d50655cbef940fc3fdec60a9 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Extract Vibrator implementation from interface.

Moved the core logic of Vibrator into SystemVibrator, potentially
allowing for the creation of other Vibrator subclasses.

Fixed several places where we were creating new Vibrator
instances unnecessarily instead of getting it from the Context.

It is safe to make Vibrator abstract because its constructor
was hidden from the SDK so it was not possible to subclass it.

Bug: 6334179
Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
0dedffd656efb74a998bf697192720c93c48994d 30-Mar-2012 Amith Yamasani <yamasani@google.com> Dump the uid of a notification, for debugging.

Useful for multiuser testing.

Change-Id: I4aac8eda9b2f9c7ada07bd6a040260beb1acce87
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
49a2ad1f404622803faba0bc5937b8a39aba02b3 28-Mar-2012 Daniel Sandler <dsandler@android.com> Stop showing ADB and MTP/PTP/USB notifications at the top.

Two parts to this:
1. Stop treating FLAG_ONGOING_EVENT notifications specially
(in particular, ordering them at the top of the panel).
2. Set the priority bits on the system UI notifications
appropriately (low).

Change-Id: I3bde7e573654c5aad5e1c5d29e6a21ba94edcc5b
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3f0c58eb708ca520e84396fe764147800395812f 24-Feb-2012 Daniel Sandler <dsandler@android.com> Merge "New notification priority and related APIs."
2561b0b10a55841a08e0e1d467e73e10b1bf256d 14-Feb-2012 Daniel Sandler <dsandler@android.com> New notification priority and related APIs.

This change introduces a few new bits of data on
Notification that will help the Notification Manager and
System UI route and display them more intelligently:

-> priority: an integer in a predefined range that
indicates the app's best guess as to the relative
importance (to the user, right now) of that information

-> kind: a tag (really, set of tags) indicating the general
type of notification (realtime, asynchronous, etc)

-> extras: a Bundle of additional key/value pairs
associated with this notification (currently @hidden)

The notification manager takes these data into account when
assigning to each notification a score which is passed with
the notification on to the system UI, where it can be used to
affect presentation. For example:

- Spammy apps (identified explicitly by the user or by
some other means) will have their notifications scored
very negatively by the notification manager, allowing
the UI to suppress them
- Notifications of higher score might be shown larger
or in a different way
- Very important notifications (indicated by a very high
score) might interrupt the user during an otherwise
important task (videochat, game, etc)

Implementation note: This replaces/extends the old internal
notion of "priority", which was mostly used to organize
ongoings and system notifications at the top of the panel.

Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ef9d55a6b004685daefee43b49e833c1030de017 14-Feb-2012 Mike Lockwood <lockwood@google.com> am 8f7cc7af: am b9be8eff: am ffc89899: Merge "Don\'t pulse LED on new notification unless notification has LED flag set" into ics-mr1

* commit '8f7cc7af66520e3bd5e59e8eadb6907e3e043661':
Don't pulse LED on new notification unless notification has LED flag set
ece18efb35f762d2f7d2e802be29464ec6abdfbf 14-Feb-2012 Mike Lockwood <lockwood@google.com> Don't pulse LED on new notification unless notification has LED flag set

Bug: 6006131

Change-Id: I719c7d68e310bfaca227f6286159b3993784926b
Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
742a67127366c376fdf188ff99ba30b27d3bf90c 04-May-2011 Amith Yamasani <yamasani@google.com> Multi-user - 1st major checkin

Switching activity stacks
Cache ContentProvider per user
Long-press power to switch users (on phone)

Added ServiceMap for separating services by user
Launch PendingIntents on the correct user's uid
Fix task switching from Recents list
AppWidgetService is mostly working.

Commands added to pm and am to allow creating and switching profiles.

Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b64cb88c32fe6dc4f3476e80004b2d9d86a7b296 30-Nov-2011 Daniel Sandler <dsandler@android.com> Expanding NotificationManager's event logging.

Specifically, add the "tag" and "mustNotHaveFlags" columns.

(Hunting bug 5444859.)

Change-Id: Ic9ece44ed4697f7a8ef54e7870f72c9f94518cd9
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ebfc0e5d702abd4fa0f4d4fac0db49faebc957f1 20-Sep-2011 Amith Yamasani <yamasani@google.com> If "Pulse notification light" is off, don't flash the LED even once.

If it is on, flash repeatedly.

Bug: 5242350
Change-Id: I7da195a7c49c68c0a1fca12eecfc4a4e06dd0b61
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
63b5ad9e173796e2923d5ea58d7c7349d94d75e1 30-Aug-2011 Mike Lockwood <lockwood@android.com> Extinguish notification LED when user passes through lock screen

Also do not blink for notifications received when the screen is on.

Bug: 5233071

Change-Id: I15675ca317007d4b900ef74e60d11a5bca3d7333
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b0626b53adceb3de0b85c1865655e74e7e964e08 23-Aug-2011 Mike Lockwood <lockwood@android.com> No longer disable notification lights when screen turns on

The new specification calls for LED to continue blinking until the user
pulls down the notification shade in the status bar.

Bug: 5143247

Change-Id: Id004cc3d1d9d76108329e57c6fbd8a8100068e0a
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
aac0eb08bb2fdb32b2f2e045d74343abe6ae6bf8 07-Aug-2011 Daniel Sandler <dsandler@android.com> Remove notifications when an app is disabled.

Bug: 4998840
Change-Id: Ic0c14105924d815aed78da1f5510c98a2fe1dd77
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
68454aa049b3dbadc60662e82c4c931fc970c20e 26-Jul-2011 Dianne Hackborn <hackbod@android.com> am 1b20abd3: am 20bf46af: am b0878223: am 6800a801: Merge "frameworks/base: Cap the number of toasts that a package can post."

* commit '1b20abd30c2757132b7a2d319ae73f420b864ed4':
frameworks/base: Cap the number of toasts that a package can post.
1b20abd30c2757132b7a2d319ae73f420b864ed4 25-Jul-2011 Dianne Hackborn <hackbod@android.com> am 20bf46af: am b0878223: am 6800a801: Merge "frameworks/base: Cap the number of toasts that a package can post."

* commit '20bf46af14130314ae1aeb1e5482c38556c8f0f8':
frameworks/base: Cap the number of toasts that a package can post.
2e448f75c0392969792032461b2f90017aebba7c 13-Jul-2011 jhtop.kim <jhtop.kim@samsung.com> Fix notification manager delete intent.

Notification manager was sending the delete intent even when
the notification was clicked and not just when cleared.

Change-Id: I9f8ae973b7972bc34cd15d213e58a961138fa7e5
Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
541c9949ae9c05636d3e0442aa5080815121a042 13-Jun-2011 Mike Lockwood <lockwood@android.com> Move adb related functionality from SystemServer and NotificationManagerService to UsbDeviceManager

Change-Id: I9e64b54bc2d027d88ae2d2cd893068e29b6fe237
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
9eb014aeb0630dab9210f8eb8b6c2f4250d5990e 08-Jun-2011 Mike Lockwood <lockwood@android.com> UsbManager: Clean up extras for ACTION_USB_STATE broadcast

Also added name for new PTP USB function

Change-Id: Ia2775ba2b23ef6a6108ca7e060239eb51c2eecc8
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f9eb06ca691ed14c8b55840a07333330ae347e22 22-Jan-2011 Vairavan Srinivasan <vairav@codeaurora.org> frameworks/base: Cap the number of toasts that a package can post.

NotificationManagerService keeps track of requested toasts in a
queue. Any package can trigger a DoS by repeated enqueue of
toasts which eventually results in a leak of WeakReferences in
system_server and causes dalvik (hosting system_server) to
abort the same.

Change-Id: I5e23c1bf7e195b07344711d2c6719fa568f2dfaf
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
7866be2b76e421ca28e5dcbd3e7d362baf279dd9 03-Mar-2011 Mike Lockwood <lockwood@android.com> am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread

* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
DO NOT MERGE: Backport USB accessory support to gingerbread
40bbf9295d5245d3917629ce15f7b37670aef1ac 01-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Backport USB accessory support to gingerbread

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
c4308f01c965571dc2354107c3574df113e397ee 01-Mar-2011 Mike Lockwood <lockwood@android.com> Move USB framework support from android.hardware to android.hardware.usb package

Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
fc88f94fc32fc010b153af32dea8e1fd4bae1f19 28-Feb-2011 Mike Lockwood <lockwood@android.com> am 6da062a9: Merge "DO NOT MERGE: Clean up USB notifications:" into gingerbread

* commit '6da062a96c6f8126aad450a937144fab4333488f':
DO NOT MERGE: Clean up USB notifications:
54e96c69d068593f1d5893be6067509b07abdadc 28-Feb-2011 Mike Lockwood <lockwood@android.com> am 3333f8af: Merge "DO NOT MERGE UsbManager: squashed commit of:" into gingerbread

* commit '3333f8afb2d1eae8bfdb41fa87f86836ad8702f7':
DO NOT MERGE UsbManager: squashed commit of:
f13ec7a3ac18ad87936ddab2e18f57c3bf91bfb6 11-Dec-2010 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Clean up USB notifications:

Add support for separate USB connected and configuration events

Include both USB connected/disconnected and configuration state
in USB_STATE Intent

Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast

Move USB disconnnect rebouncing from Tethering to UsbService

Change-Id: I1dea480f4b0daf14247cf37c5f2060498882c002
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
7916432b3cd9d0396872aee6d3d585f19b4b7ef6 28-Jul-2010 Mike Lockwood <lockwood@android.com> DO NOT MERGE UsbManager: squashed commit of:

USB: Add functions for querying if a USB function is supported and enabled.

Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService

Change-Id: I920a211934d993eab8ce744c1cc7b05342389286
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
e40451a89dc91dfd636af7cb32a23b4a4cc93fdc 03-Feb-2011 Daniel Sandler <dsandler@google.com> Ongoing notification for GPS use.

This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b92df0f66926252cf60cdda7812bb1d50ce9378e 11-Dec-2010 Mike Lockwood <lockwood@android.com> Clean up USB notifications:

Add support for separate USB connected and configuration events

Include both USB connected/disconnected and configuration state
in USB_STATE Intent

Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast

Move USB disconnnect rebouncing from Tethering to UsbService

Change-Id: Id13eb0c5d51152d2a538985d680ba1db7d2241dc
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
770126a678ccc9328a89407ffc82f4d998b25427 10-Dec-2010 Mike Lockwood <lockwood@android.com> Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService

In preparation for an upcoming change that will make UsbService into a real system service

Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
110988c8b70f4ab089b179b7966497d508506263 03-Dec-2010 Andy Stadler <stadler@google.com> Fix notification/builder defaults

* Builder wasn't setting mAudioStreamType to its non-zero default
* Clean up warnings (imports, unused variables, overrides)

Bug: 3250299
Change-Id: I019f54a0d6c97e71681d24144e784fa4b4737f7e
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
35e16bfa9b9ad1074a7130fb2119cc109f31d4b0 01-Dec-2010 Mike Lockwood <lockwood@android.com> NotificationManagerService: minor cleanup

Change-Id: I998727662eb3c0bae20e5af3f8c5e702bf5d4f38
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
46439cec0eb0da4d0f853f2d8712d0c00c98475b 19-Nov-2010 Joe Onorato <joeo@google.com> Update the look of the notifications. Includes adding a new Notification.Builder class.

Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
de1b359e88ef1dcafdc0c6a724f660ad0b55fc3a 26-Oct-2010 Joe Onorato <joeo@google.com> Move the battery LED code over to the battery service from the notification service (!)

Change-Id: I12d7994ae245a36b8b2c3272fcbe173881caebd0
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
385a753dead6ef15f2e30eae47f73e642b3ef7ed 21-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 368fdba4 to master

Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
368fdba47a49f249aa4346edaf3f45291ca6a7ff 19-Oct-2010 Joe Onorato <joeo@google.com> am bdf1706a: Merge "Reduce logging." into gingerbread

Merge commit 'bdf1706ac680c0fe74765b8d6d34823b8ac05306' into gingerbread-plus-aosp

* commit 'bdf1706ac680c0fe74765b8d6d34823b8ac05306':
Reduce logging.
431bb2269532f2514861b908d5fafda8fa64da79 19-Oct-2010 Joe Onorato <joeo@google.com> Reduce logging.

Remember, the system and main logs are
- Shared resources
- Primarily for recording problems
- To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
184498ce5a8d77e1d9c45693363829daaeef9611 08-Oct-2010 Joe Onorato <joeo@google.com> Allow notifications to not specify a contentIntent.

If they don't, the click events will be passed through to the individual
views in the notification view, which may have their own PendingIntents
attached.

Previously, it was against the UX spec to allow this, but now we are
changing that and will have buttons in there.

Change-Id: I674234212f64b2b8802a0708b7eed0614e147ca3
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
39b4867d483cc9aba36b26a81074d9f606661671 09-Oct-2010 Jason Chen <jasonchen@google.com> Revert "Merge "Allow notifications to not specify a contentIntent.""

This reverts commit 8885321046622d6a8c0a4214af98dc27eecd48a0, reversing
changes made to 61b8aaadd742f0be708cd37971d2c9e822bf778a.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
80a752c5373cfa906568302c831710b5c22a8155 08-Oct-2010 Joe Onorato <joeo@google.com> Allow notifications to not specify a contentIntent.

If they don't, the click events will be passed through to the individual
views in the notification view, which may have their own PendingIntents
attached.

Previously, it was against the UX spec to allow this, but now we are
changing that and will have buttons in there.

Change-Id: Ie3b2e96c6a1c4449fa86ed571f3ad0f047320d31
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
dc936251c4b6f33158b9f55afb8b86a776c01c86 10-Sep-2010 Mike Lockwood <lockwood@android.com> am 91cf049f: am 76e4fa19: Merge "Only pulse notification light if a new notification has been received since the screen was last turned off" into gingerbread

Merge commit '91cf049f34b4f3d53d39e868104f11156a332b65'

* commit '91cf049f34b4f3d53d39e868104f11156a332b65':
Only pulse notification light if a new notification has been received since the screen was last turned off
91cf049f34b4f3d53d39e868104f11156a332b65 10-Sep-2010 Mike Lockwood <lockwood@android.com> am 76e4fa19: Merge "Only pulse notification light if a new notification has been received since the screen was last turned off" into gingerbread

Merge commit '76e4fa19264793e3ed7e2ee7afccfc808a1a7458' into gingerbread-plus-aosp

* commit '76e4fa19264793e3ed7e2ee7afccfc808a1a7458':
Only pulse notification light if a new notification has been received since the screen was last turned off
2117f6fa3880e55e6a90fbd8b3a12d469c9b738b 09-Sep-2010 Mike Lockwood <lockwood@android.com> Only pulse notification light if a new notification has been received since the screen was last turned off

BUG: 2980248

Change-Id: I4dca527a191fae4ad87eeff8ad32594fd6aeb417
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f089b90d21dd83515b79e8d3ca57d36e8663651c 17-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 5085848d: am 209e6518: Merge "Make the LED colors when charging customizable by the vendor"

Merge commit '5085848ddbadaafa088ed85753156adc2e54554d'

* commit '5085848ddbadaafa088ed85753156adc2e54554d':
Make the LED colors when charging customizable by the vendor
5085848ddbadaafa088ed85753156adc2e54554d 17-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 209e6518: Merge "Make the LED colors when charging customizable by the vendor"

Merge commit '209e651805dd40ea87df7ff67f2755605be9308c' into gingerbread-plus-aosp

* commit '209e651805dd40ea87df7ff67f2755605be9308c':
Make the LED colors when charging customizable by the vendor
b5c22f723628c31f82fa4b77fdb4451cfadd58ec 05-Aug-2010 Daniel Sandler <dsandler@android.com> am 811d66f1: am 9b87770f: Merge "Fix crash when startForeground posts a broken Notification." into gingerbread

Merge commit '811d66f1496b64b02c117e8d992db99e9e6cdc8d'

* commit '811d66f1496b64b02c117e8d992db99e9e6cdc8d':
Fix crash when startForeground posts a broken Notification.
0f0b11c8719495ce559b93366fe9cd79782d791c 04-Aug-2010 Daniel Sandler <dsandler@google.com> Basic support for notification payloads in the panel.

Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)

No preference given to "sticky" notifications, because
there's no such thing yet.

Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.

Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d0a2f86f357f346639a6648b4004266865c979b4 03-Aug-2010 Daniel Sandler <dsandler@android.com> Fix crash when startForeground posts a broken Notification.

The NotificationManager tries to crash the calling app, but
in the case of a service calling startForeground, the caller
is the ActivityManager, so system_server goes down.

NotificationManagerService#enqueueNotificationInternal is a
new internal-only method that accepts a UID/PID to use when
punishing bogus notifications (such as the one in
http://b/2869787).

Change-Id: I84a9854bae630bc90288cebb94f174809d5dac8c
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d5d87b297cc0d5a1ee80b6950d4af7bc01c48b08 03-Aug-2010 Kenneth Andersson <kenneth.andersson@sonyericsson.com> Make the LED colors when charging customizable by the vendor

This commit will make the default LED colors in the NotificationManager
for battery charge customizable via overlays. The blink on/off
times are customizable in the same manner.

Change-Id: I57ce93656cc4080f5b99554df0ada44c5b31e959
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ff2544c6cb9919a9f591350380becdd3d1cbad2c 28-Jun-2010 Mike Lockwood <lockwood@android.com> Notifications: Use new ACTION_USB_STATE broadcast to monitor USB connected state

Replaces use of UMS notifications, which will not work on devices without
USB mass storage support.

Change-Id: I2ea7f4d2dead91418935e97e2f442f5e3fc5e6dc
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
9d39d0cb361c5d3bba04a6bacf299be2162a6e92 25-Jun-2010 Dianne Hackborn <hackbod@google.com> Make bad notifications crash their application.

Implement notification manager handling of bad notifications, to
call a new activity manager to have the owner's process crashed
(if there is one).

Change-Id: Ib15e8d0c598756f3b39c99cc2045c18e054daf6b
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
7a0f36bd93ad8a5b8cb3e1fe56dbdb43a0ad3a57 07-Jun-2010 Joe Onorato <joeo@android.com> Move status_bar_latest_event and LatestItemView into SystemUI.apk.

Then, now that StatusBarManagerService is the only thing in that package,
move it up to the regular services package. (I've been waiting for 4 years
to delete that package!)

Change-Id: If5faf44641319fd19e486d1f4e5bc1c6dfcff3ad
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
005847b03b2ebe3eb1a974a8a04ad51bca6636cd 04-Jun-2010 Joe Onorato <joeo@android.com> Handle errors inflating notifications (and their icons).

On an inflation error, the StatusBarService cleans up, removes / doesn't add
the views, and calls into the StatusBarManagerService, which tells the
NotificationManagerService to remove the notification.

That then calls all the way back into the StatusBarService, but I think being
extra careful is okay. Throughout the status bar, it's all keyed off of the
IBinder key, so if the app comes in with a good notification while we're
cleaning up, we won't lose the new notification or anything like that.

Change-Id: Iea78a637495a8b67810c214b951d5ddb93becacb
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
bd73d01a9cafc1ee8cc91f9691b5234e2a59bb98 04-Jun-2010 Joe Onorato <joeo@android.com> Cap the number of notifications that a given package can post.

Right now the number is 50, just to prevent apps that have gone completely bonkers. I think the limit should be lower.

Change-Id: Ib2c4abf669c8b0250e5421b6d5aeb81aeb2f82ce
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
7dd8c6e4eae18a5a0f5f834f39f58f868f1fc720 26-May-2010 Joe Onorato <joeo@android.com> Remove unused files from the service package.

Change-Id: Ia28fd7b3c42a842137afd12c4822e9b7cb4310a0
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
0cbda99f8721ad9b03ada04d2637fb75a2a0feca 03-May-2010 Joe Onorato <joeo@android.com> The status bar draws its icons now.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
089de88fc2f08d284cf8031aa33cff06011a4162 12-Apr-2010 Joe Onorato <joeo@android.com> StatusBarService -> StatusBarManagerService

Change-Id: I7efc245395bd91a656b30d420c9b080877162360
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
a7035909453c9980a5f8547f5090c70c4281156c 30-Mar-2010 Daniel Sandler <dsandler@android.com> Remove logspew.

Change-Id: I8b56a9c289dcc87080116e6af27721e24d49c3b0
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
211957f63913d4a050604e0dfc1e0f80980e3d0c 27-Mar-2010 Jean-Michel Trivi <jmtrivi@google.com> Implement audio focus support in the notification manager.

This change introduces the NotificationPlayer class which was
created from the code of android.media.AsyncPlayer. The only modification
was to modify the construction of the MediaPlayer so it properly issues
onCompletion notifications (which are used to abandon audio focus).

Unless the sound to be played is looped, the notification is transient
and other apps may duck (uses AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK in
audio focus request).
Change-Id: I69cbb71d0892447b934351384e4e24a2e239295b
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
39576c8df34e95bfb117e57d2bb17a5869d577f1 25-Mar-2010 Daniel Sandler <dsandler@google.com> Use a more benign icon for ADB notifications.

Also suppress vibe & noise for ADB notifications.

Bug: 2544480
Bug: 2545486

Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
e96ffb18c11b119c6c62ba15e36de8b61d8c1e34 11-Mar-2010 Daniel Sandler <dsandler@google.com> Turn off pulsing jogball while on a call.

Bug: 2336573
Change-Id: If0f0151cbead4eb8acf9e1ce2f6dbca088814694
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
8a9b22056b13477f59df934928c00c58b5871c95 27-Feb-2010 Joe Onorato <joeo@android.com> Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa 20-Feb-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2438980: Implement package watcher for voice recognizer service setting

I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:

Introducing PackageMonitor.

Yes there are no Java docs. I am still playing around with just what this
thing is to figure out what makes sense and how people will use it. It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.

Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.

Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).

In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it. All services have been updated to support
this. There is also new infrastructure for reporting battery usage as an
applicatin error report.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
4154c07c5cabc74029a2df379075391d782a682c 10-Feb-2010 San Mehat <san@google.com> StorageNotification: Move notification / usb storage activity into StatusBarPolicy

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b104340496e3a531e26c8f428c808eca0e039f50 05-Feb-2010 San Mehat <san@google.com> Framework: Clean up / Refactor Mount APIs

- Move android.storage.* -> android.os.storage.* and refactor users
- Refactor generic shares back to explicit ums enable/disable/isEnabled
- Remove media insert/removed event callbacks (not ready for Froyo)
- Remove 'label' from volume state change callbacks
- Add public API functions for enabling/disabling USB mass storage (permissions enforced
in MountSevice)
- Remove some stray un-needed import lines
- Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
- Improve code comments

Updated:
MountService: Add dup state check and move debugging behind a conditional
UsbStorageActivity: Fix review comments + a TODO
StorageNotification: Add @Override tags
StorageManager: Don't use a static Listener list
MountService: Reduce bloat and fix == where I meant .equals()
PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3ee1317173260252d475772fec09d492f8fcfd33 05-Feb-2010 San Mehat <san@google.com> NotificationManagerService: Add a listener for storage events

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
b56ae20b22fd7283df32072a431ab6d4965f3c1b 05-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
08675a3376819a82aa5ab344bc3e7b1635c30b05 28-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> Apps on sdcard: Add new broadcasts

Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and
ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by
PackageManagerService when sdcard gets mounted/unmounted
by MountService so that packages on sdcard get recognized by
various system services as being installed/available or
removed/unavailable by the system.
The broadcasts are sent before the actual package cleanup which includes
mounting/unmounting the packages and we force a gc right after so
that any lingering file references to resources on sdcard get
released.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
670f93283b5e2445c58998153de9c476acddc37b 20-Jan-2010 Mike Lockwood <lockwood@android.com> Implement Notification.DEFAULT_LIGHTS flag.

This flag was already in the public API but did not do anything until now.
We now use it so we can override the default notification LED color on a per device basis.

Change-Id: I0d6e239b7da2fdbeda9608d6d4de3e778aa88e2c
BUG: 2329568

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ab5c49c7e7f5f61040650109a76f38a443fb852d 04-Dec-2009 Doug Zongker <dougz@android.com> move event log tags used by system server into this package

We can now locate event log tag definitions in individual packages
(and java constants for the tag numbers get auto-generated), so move
all the tags used by the system server into the package.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f72fb68bf32014b075fe577c8495c2c8a86476a9 03-Dec-2009 Mike Lockwood <lockwood@android.com> resolved conflicts for merge of 9b7dba93 to eclair-mr2

Change-Id: I9a5412b8812aebc934540b1f6f9a9f9c96d89f59
c22404a4e7ff9385c47a32b3aed83e9153478f0b 02-Dec-2009 Mike Lockwood <lockwood@android.com> Implement new notification LED blinking logic:

1) Do not pulse notification LED when screen is on.
2) Pulse once on new notification if Settings.System.NOTIFICATION_LIGHT_PULSE is false,
otherwise pulse persistently while screen is off.

Fixes part of bug b/2238250 (trackball should pulse occasionally to indicate new email)

Change-Id: Icc49422a4e9d14412fc159a8e2596503a85bac51
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
5e392e2b028fb0f92b2efe6de24b60a57cd4c565 02-Dec-2009 Eric Laurent <elaurent@google.com> am bb3bb57a: Merge change I524dc046 into eclair

Merge commit 'bb3bb57a6330f71323fcd7e93e88dbdab55daec3' into eclair-mr2

* commit 'bb3bb57a6330f71323fcd7e93e88dbdab55daec3':
Fix issue 2192673: Music Pausing Even when notifications are set to silent.
3cb67a37f185a7a5b12712907630acb68e0ac402 27-Nov-2009 Mike Lockwood <lockwood@android.com> LightsService cleanup:

Add Light subclass to replace LightsService light setting methods
Remove LightsService.setAttentionLight() and LightsService.pulseBreathingLight()
Add support for Wifi and Bluetooth lights

Change-Id: I707f53cda27481c25649f402567a665d52e9cb62
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
524dc046b1225087f481878a5c3ae7f733c9f0e2 27-Nov-2009 Eric Laurent <elaurent@google.com> Fix issue 2192673: Music Pausing Even when notifications are set to silent.

Do not play ringtones, notifications or camera sounds if ringer mode is silent.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3a32213c4029a03fe39486f3d6ebd0ea18928ee1 24-Nov-2009 Mike Lockwood <lockwood@android.com> Remove HardwareService and move vibrator support to VibratorService.

The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it.
Move backlight and notification light support to new LightsService class.
The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete.

Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
6ecaff15836581336b1e8fad6ac42f3ff4a13544 25-Sep-2009 Fred Quintana <fredq@google.com> add a optional String to the key of notifications to allow users
to scope them
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
445f43081e207ee704a5152a5333054d7b4e13a4 04-Sep-2009 Mike Lockwood <lockwood@android.com> NotificationManagerService: Only blink red battery low LED when not charging.

Change-Id: Ie5836ae99d4ca19d9d062e7c78c8b40cd8d6c29d
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d8a43f61680bacf0d4b52a03ff3c7a07307377fc 18-Aug-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2047139: Remove Service.setForeground()

This API is becoming seriously abused, so now it is deprecated and has
become a no-op.

As an alternative, there is now a new API that allows you to make a service
be in the foreground but requires providing a persistent notification to
go along with this state, allowing the user to know about and control it.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ea8b7d568ad640d464725d1e21efa0c9fd1de953 04-Aug-2009 Mike Lockwood <lockwood@android.com> Use USB notification instead of battery notification for USB debugging warning.

Fixes a problem with false positives that occurred when connecting an AC charger slowly.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
39f5b6a081c66058d2ab231a80c2fb4a8e624cf9 23-Jul-2009 Joe Onorato <joeo@android.com> Have the notification service only have notifications diabled until setup wizard has been run.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
ed7603779282d416356ce3c9739056d632307275 09-Jul-2009 Mike Lockwood <lockwood@android.com> Add a persistent system property to disable the adb notification.

Setting to persist.adb.notify to 0 will disable the ad notification.
You need to be root to set this, so this allows disabling the notification
only on eng and userdebug builds.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
302754801cacf19a99c7fa1b88a195bb8f2b0915 09-Jul-2009 Joe Onorato <joeo@android.com> Make it so the notification manager doesn't mysteriously
beep during boot.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
1dac277f93a80c53a870b8924508dd2af81293de 27-Jun-2009 Dianne Hackborn <hackbod@google.com> Implement issue #1943927 (need notification in status bar when adb is active)

This is a little hacky -- we just assume that if adb is enabled and power
is connected through usb, then it is active.

The icons and text are temporary until final design is provided.
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
c1e8446279381bdd728688d10285951ef8228ed1 25-Mar-2009 Joe Onorato <> Automated import from //branches/donutburger/...@141086,141086
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/NotificationManagerService.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/services/java/com/android/server/NotificationManagerService.java