History log of /frameworks/base/core/java/android/app/Notification.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c08dea2aa4f66f888f01fa7ed2be46d4c4651a1e 28-Jun-2012 Daniel Sandler <dsandler@android.com> Fix NPEs when using the APIs a little oddly.

This should help developers use some of the features of
Style via subclassing rather than duplicating functionality.

Bug: 6716608
Change-Id: I048e8221c8046e9779e08e6e262ac3fb37b01cb3
/frameworks/base/core/java/android/app/Notification.java
064f9907c98283e76ed03fa65484fc6face22f92 21-Jun-2012 Daniel Sandler <dsandler@android.com> Unhide new methods on RemoteViews and Notification.

Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
/frameworks/base/core/java/android/app/Notification.java
916ad91c3860344250c00b6b3597db6464229c02 13-Jun-2012 Daniel Sandler <dsandler@android.com> Remove line3 in big notification unless there's text to show.

If you have no subText or summaryText in a big template, but
you *do* have a number, the overflow bar (below the big text
or inbox or whatever) would have shown; now it does not.

Bug: 6657006
Change-Id: Ib2af2712da3a98227bd8d697560893adbdc427e9
/frameworks/base/core/java/android/app/Notification.java
602ad1c978ddbf8be2c272cd610e18a626cd8b33 12-Jun-2012 Daniel Sandler <dsandler@android.com> "Two actions ought to be enough for anybody."

Bug: 6650170
Change-Id: I5ee6990a8e556f9ee1fbfb0989db33f75b07f4ea
/frameworks/base/core/java/android/app/Notification.java
619738c9e7b321d3a7f297b95955c681f5de56ba 07-Jun-2012 Daniel Sandler <dsandler@android.com> Various notification template cleanups.

Bug: 6597693 // hide line3 in InboxStyle
Bug: 6593691 // vertical centering inconsistencies
Bug: 6592116 // no left action gutter in BigPicture
Bug: 6622757 // missing subtext in BigText expanded
Change-Id: I941af99d0a905b6e0aa6fb74ad4eff29c17d9fc2
/frameworks/base/core/java/android/app/Notification.java
a90513d5f4e9f9ba20fca60bcf8548e23863c395 04-Jun-2012 Daniel Sandler <dsandler@android.com> Unused API should be hidden.

Change-Id: Ifed4d06e620c990ccecc1ee1aaf3adedbdc7c2da
/frameworks/base/core/java/android/app/Notification.java
6387d2f6dae27ba6e8481883325adad96d3010f4 22-May-2012 Daniel Sandler <dsandler@android.com> Visual tweaks to notifications.

- Smaller right_icons
- Higher-contrast text colors
- Dividers between actions
- Dividers above actions and overflows
- Consistent 8dp gutter on left of content
- BigTextStyle should not show line3 unless there is a subtext.
- Collapse summary ("overflow") text into line3. This is a
little wild because now the contentText, subText, and
summaryText all share this spot, but the various
variables all have different times when they're
expressed so you have greater control over what shows
where in the 1U and the expanded form.
- Do not show contentText in BigText's line3. If you have
subtext or summarytext, show that; otherwise suppress
line3 entirely.

Bug: 6558134 // line3
Bug: 6508804 // other visuals
Change-Id: Ib79e818a332d17000e9a8fce333eff8f8cf043aa
/frameworks/base/core/java/android/app/Notification.java
3745a3da759a9510554c8d2c59f09185e52ed403 22-May-2012 Chris Wren <cwren@android.com> BigPicture notifications for screenshots.

Needed a little extra help from the builder to make this
happen (like the title, you might want a different largeIcon
in the expanded view if---as in this case---it is redundant
with the big picture).

Needed to fix BigPicture template to reveal actions.

Bug: 6289107
Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
/frameworks/base/core/java/android/app/Notification.java
c40a7fe00257d5742bd10bc611cd11d1600f469f 22-May-2012 Daniel Sandler <dsandler@android.com> Merge "Fix three-line notifications." into jb-dev
9f7936a30bc097c31962891945802507cb4aeb82 21-May-2012 Daniel Sandler <dsandler@android.com> Fix three-line notifications.

To accommodate three lines as before, we now adjust the size
of text and icons to fit.

Also in this change:

- snazzy little shadow below BigPicture's 1U block
- restore contentText to BigPicture notifications
- make overflow match other notification text (not so big)
- fix text position jumps between 1U and expanded
notifications across all templates

Bug: 6519374 (three-line notifications cut off)
Bug: 6494982 (text jumps)
Change-Id: I717ec2dde805c25e3b949641ca7e69e4d8fc86d2
/frameworks/base/core/java/android/app/Notification.java
29bb6d925bcaa562212b3fe41de249c3dfb64354 18-May-2012 Chris Wren <cwren@android.com> Support more items in the Notification.InboxStyle, plus an overflow.

Bug: 6500113
Change-Id: I9f6b45ef0821c45000afa8a23ee51033b51df298
/frameworks/base/core/java/android/app/Notification.java
4ed80d581c3448f075d65efafc585b4691f8b301 17-May-2012 Chris Wren <cwren@android.com> Don't assume digest lines are GONE, we may be recycling them.

Bug: 6500945
Change-Id: I0f01ccdde25bebb8335f0d34408877b895d286ff
/frameworks/base/core/java/android/app/Notification.java
b46f3f6743f015cd6e0cfd21639b82fcdb5e6983 16-May-2012 Chris Wren <cwren@android.com> Merge "Defensively reset the default state of layout elements." into jb-dev
8680bf865a08f876fc3986c50a193e3186ff6f02 15-May-2012 Daniel Sandler <dsandler@android.com> Action button improvements:

- Horizontal layout
- At most 2 are shown
- Tombstones are now shown (if the intent is null, the
button is disabled; use it for quick feedback of an
action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
/frameworks/base/core/java/android/app/Notification.java
67dc9a02cfa1873f67128fba7fbdf33f8fe18a24 16-May-2012 Chris Wren <cwren@android.com> Defensively reset the default state of layout elements.

Bug: 6500945
Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
/frameworks/base/core/java/android/app/Notification.java
f54bfcf5a3594d7d8423391be68d9b982ea6c4fa 11-May-2012 Daniel Sandler <dsandler@android.com> Merge "Restyling action buttons." into jb-dev
e551884b0972280c9aee451b489832e67395c8e2 10-May-2012 Daniel Sandler <dsandler@android.com> Restyling action buttons.

Bug: 6418617
Change-Id: I843352fbd167aeb6cc7beb0172b7416aabd5856a
/frameworks/base/core/java/android/app/Notification.java
d33b803b6bfcbc509dd7cee3ee23f819dfff296e 10-May-2012 Daniel Sandler <dsandler@android.com> Clean up API docs for Notification.

Bug: 6427241
Bug: 6427245
Bug: 6427814
Change-Id: I91d741513e3b345d2b9f28ad0a1bf11b0a898076
/frameworks/base/core/java/android/app/Notification.java
e95658c98e4154a2daf0ed70d15d24f8bf3153f0 10-May-2012 Daniel Sandler <dsandler@android.com> New backgrounds for notifications.

Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
/frameworks/base/core/java/android/app/Notification.java
195ba5047cec4d249d5408e75fb04696941655c0 08-May-2012 Chris Wren <cwren@android.com> Merge "Clear out any existing buttons before adding the set of requested actions." into jb-dev
2c22eb0a49b369767eaa4e04c1727f947cfdec13 08-May-2012 Chris Wren <cwren@android.com> Clear out any existing buttons before adding the set of requested actions.

Bug: 6459557
Change-Id: Id19050e7280208d4f98c1aabe8087c6fe6c8d72a
/frameworks/base/core/java/android/app/Notification.java
fafce1f9f5b371c76cd7875a58b183093f8b517f 07-May-2012 Daniel Sandler <dsandler@android.com> Merge "Add number back to legacy notifications." into jb-dev
3c5f92432734e1e3b9bdc515628a4c09d7759cd4 04-May-2012 Chris Wren <cwren@android.com> The BigTextStyle should never render mContentText

Change-Id: Ifcbb0868871741bd78c5ebf31408143aaf732b98
/frameworks/base/core/java/android/app/Notification.java
d6297dbfe9b1c9c91907e4ba35d4b1ae7fe610d8 03-May-2012 Chris Wren <cwren@android.com> Add an alternate title that can be used in the overflow of a InboxStyle.
Always hide contentText for BigTextStyle and InboxStyle.
Style cannot be used without specialization, it should be abstract.

Bug: 6428978
Bug: 6274137
Bug: 6317471
Change-Id: I21531a94494f891a058a477805b177e736b921cf
/frameworks/base/core/java/android/app/Notification.java
b4b2223fa188d4f680209c80ba6bbe681a300bd5 30-Apr-2012 Daniel Sandler <dsandler@android.com> Add number back to legacy notifications.

Bug: 5816717
Change-Id: I52c98143378c315dec5b525cb3d96c214ee8196e
/frameworks/base/core/java/android/app/Notification.java
e4a2a4f142ff72ac8cf3e99c31af42af4ce66fbf 02-May-2012 Chris Wren <cwren@android.com> rework big text to handle gmail use case

Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
/frameworks/base/core/java/android/app/Notification.java
fbd96ba9baa212d99060c8b93b5c79cf00918bda 01-May-2012 Chris Wren <cwren@android.com> Allow the Notification.Builder to carry around a Style to apply at build

Change-Id: I5e848504b6d0444ee349ecea893ceae571dda796
/frameworks/base/core/java/android/app/Notification.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/core/java/android/app/Notification.java
b023bf85a080442117b5dae8d402bce60cd0a610 23-Apr-2012 Chris Wren <cwren@android.com> let default notifications with actions get bigger that 64dp.
Bug: 6377749

Change-Id: I8c92ef67b59f7a44b61926c32480cce6990a1375
/frameworks/base/core/java/android/app/Notification.java
6b31880838196806dff991551f197684b5809d8b 13-Apr-2012 Daniel Sandler <dsandler@android.com> Remove intruder alert APIs from JB.

Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
/frameworks/base/core/java/android/app/Notification.java
6a858c347f4d4e5db4c8f00d5e285967631b71ca 12-Mar-2012 Daniel Sandler <dsandler@android.com> Gestures for expanding notifications.

Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
/frameworks/base/core/java/android/app/Notification.java
879c5e07c019bbcd8647e60656d0749eae0467c3 17-Apr-2012 Daniel Sandler <dsandler@android.com> New InboxStyle template for expanded notifications.

Bug: 6336834
Change-Id: I67b273350b984673cbfb19267451a3782d0477fc
/frameworks/base/core/java/android/app/Notification.java
4dfbe83e1a110b416badf73ddf68c83db0d415ae 11-Apr-2012 Daniel Sandler <dsandler@android.com> Unhide some new Notification APIs.

Bug: 6318391
Change-Id: Ie51f373cc84d845fa4aababab702c115fcc9e2e5
/frameworks/base/core/java/android/app/Notification.java
cde8aae955f2c1074a840074a9f586f95c3f61f7 05-Apr-2012 Daniel Sandler <dsandler@android.com> Fix crash in legacy notification construction path.

Bug: 6293584
Change-Id: I8c1c5162a2e9e3ebc5a6d3fed045c6c6a64b9bfd
/frameworks/base/core/java/android/app/Notification.java
a2985ed3099c9206a4fd9fd8eaf0e4025b82aca9 03-Apr-2012 Daniel Sandler <dsandler@android.com> Chronometer support in Notifications.

@hidden for now while we experiment with it in Phone.

Change-Id: Ib6ca3a8262f676d49d81e081a30c6d994c732a6b
/frameworks/base/core/java/android/app/Notification.java
96fd7c1c1acc03b40b1813ef65793560c175ef80 30-Mar-2012 Daniel Sandler <dsandler@android.com> Show action buttons in expanded notifications.

Any notification with at least one action will now have an
expanded form by default. BigPicture/BigText can have
actions, too, of course.

Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
/frameworks/base/core/java/android/app/Notification.java
f3b7343246bf20a8024853abe9c8eeef767d26da 27-Mar-2012 Daniel Sandler <dsandler@android.com> The beginning of expanded notifications.

There are now two "rebuilder" classes, each of which
consumes a Notification.Builder and modifies its behavior.
(Inheritance in Builder classes is...not advisable.)

- BigPictureStyle: includes a large Bitmap above the usual
notification strip.

- BigTextStyle: shows the contentText in a large, wrapping
TextView instead of truncating to one line.

As for SystemUI, the notification panel now shows the
expanded form if it is available, otherwise the usual
contentView is shown.

(Note that the structure of largeIcon notifications has
changed a bit: The largeIcon is no longer handled by the
status bar at all; it's entirely inside the template now.
Not only does this make the code simpler, and make large
notifications possible, but it fixes the longstanding
irritation that tapping on a largeIcon doesn't highlight the
whole notification row. Man, that feels good.)

Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
/frameworks/base/core/java/android/app/Notification.java
b2a1c23a553254b71f25f0ed0773d4d3126656f8 24-Mar-2012 Daniel Sandler <dsandler@android.com> Add text labels to intruder actions.

Change-Id: I544bed7b37c043639ee0e6a11bf757c0a191c1fc
/frameworks/base/core/java/android/app/Notification.java
a0a938cd5f6eaed449678a00420916cde711de63 15-Mar-2012 Daniel Sandler <dsandler@android.com> Notification actions API.

Actions will be attached to the Notification object and also
used to inject additional tap targets in the default
template used by Builder.

Change-Id: Idd58686b9c44b2ca7bb9ec5aa8337f3bdce5b878
/frameworks/base/core/java/android/app/Notification.java
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/core/java/android/app/Notification.java
6ceca588a268ed8fef4b32df278ca7567e608510 11-Jan-2012 Dianne Hackborn <hackbod@google.com> Update notification documentation to follow current guidelines.

The documentation is now consistent with the current UI guidelines
for handling notifications, and includes complete sample code showing
the correct way to do this.

Change-Id: I68f0afc62c2af164c3205535e62093679e2a256a
/frameworks/base/core/java/android/app/Notification.java
558459fe85f56f29a6ed6a4d0adb4a0bd6665884 14-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: add developer guide cross-references, Project ACRE, Round 2

Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
/frameworks/base/core/java/android/app/Notification.java
1c40013bb2afbd76050ac681d7880476aa7fc70d 05-Aug-2011 Jeff Sharkey <jsharkey@android.com> Add progress to Notification.Builder.

Provide method to surface progress when building a notification. Also
manages visibility of various items, including hiding the entire line
when unneeded.

Bug: 4022082, 3399877
Change-Id: I90d8fca383c746001aadc6c5f21c68a23bb937e5
/frameworks/base/core/java/android/app/Notification.java
ebce0115e239919680fc5574ae4ca79e617fcce8 16-Jun-2011 Daniel Sandler <dsandler@google.com> ICS updates to notification layouts.

Of note:

1. There is no "X" (veto) button anymore. (Well, there is,
but it's offscreen so it should still be available to
assistive devices.) Users can use "Clear all" or the new
swipe-to-veto gesture to clear notifications.

2. As a consequence of #1, your layout goes all the way to
the right edge of the notifications panel again. Enjoy
the extra space!

3. The numeric bubble in the notification icon is now capped
at "999+" like it is in the expanded notification view.
(Note that this involves a couple of new public framework
resources: one to indicate the number beyond which the
substitution string will be used, and one specifying a
localizable substitution string.)

Bug: 4651514
Bug: 4686329
Bug: 4501990
Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
/frameworks/base/core/java/android/app/Notification.java
b8796212e3544262193960ade01db6cb2023c8f9 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of ceae9983 to honeycomb-plus-aosp

Change-Id: Ic677e58dcc182908ae1fde33047b3fda013a37c3
5e98dbc7700ef39acca58aa4f4e63e5fc24828b3 23-Feb-2011 Daniel Sandler <dsandler@google.com> Merge "Documentation: Notification.icon is mandatory."
a8b9183a7cb4dca8d8e6507abc765c581bf67dcb 22-Feb-2011 Jozef BABJAK <jozef.babjak@gmail.com> Fixing self-assignment in cloning code.

Change-Id: I6c918c0c7345678cbb171905eccfca50e59ae41a
/frameworks/base/core/java/android/app/Notification.java
7aee61f5a96e94e158bf5ad3d8e192c4d4f7eff6 08-Feb-2011 Scott Main <smain@google.com> docs: fix links to revised fundamentals documents

Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
/frameworks/base/core/java/android/app/Notification.java
d952daec06018fe7064b8cafd31dfc71f9eee383 07-Feb-2011 Daniel Sandler <dsandler@google.com> Documentation: Notification.icon is mandatory.

Bug: 3325472
Change-Id: Ie685577fbb2f07c3a63dcf86f27172ff231de3b3
/frameworks/base/core/java/android/app/Notification.java
c6925ca684aaed981cc98cae50cf796231a56c0e 29-Jan-2011 Joe Onorato <joeo@google.com> 999

Bug: 3403177
Change-Id: Ib53098f364bb15249f27f89127e0d2a4daf81d6a
/frameworks/base/core/java/android/app/Notification.java
cb109a0eeaca12cdd954c567da4fc5f45a23213b 19-Jan-2011 Joe Onorato <joeo@google.com> Add docs for Notification.Builder.

Bug: 3362451
Change-Id: I8f16a7f266812190dc8d06751f5ca914e2050111
/frameworks/base/core/java/android/app/Notification.java
c9596d6d8e9154b5f87c8e887bfabf7546b68af5 13-Jan-2011 Joe Onorato <joeo@google.com> Possibly fix bad notification updates.

I think what was happening is that it was using a different layout but we were trying to reapply the
RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that
might show us what else is happening.

Bug: 3298062
Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
/frameworks/base/core/java/android/app/Notification.java
281d83f61f4036503ded1a967b8b43bfbaa373d0 05-Jan-2011 Joe Onorato <joeo@google.com> Notification.Builder.setAutoCancel() was setting the wrong flag.

Bug: 3306725
Change-Id: I84908fd3ac2cf9a4ce164179620c33df907d018f
/frameworks/base/core/java/android/app/Notification.java
059a2f8664571098fac665747d8bb8f84c5e07ed 04-Jan-2011 Joe Onorato <joeo@google.com> When the number field on a notifications is >100, just say "100+" instead of listing the number.

Bug: 3271445
Change-Id: Id5704cc5cba770b918c974eeec8f9ffb3f294450
/frameworks/base/core/java/android/app/Notification.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/core/java/android/app/Notification.java
8d0b655c496e9125fc8d289c4e5bc9a78297ba3d 23-Nov-2010 Joe Onorato <joeo@google.com> Add a better notification test and clean up the flag handling in the notification builder.

Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
/frameworks/base/core/java/android/app/Notification.java
52f80cd36f406725e85a1825741a45c69de3d898 22-Nov-2010 Joe Onorato <joeo@google.com> The icon sticks out of the ticker.

The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
/frameworks/base/core/java/android/app/Notification.java
561d3858bb9409b999a19f7ba93f0b12e1db835f 21-Nov-2010 Joe Onorato <joeo@google.com> The large icon for notifications.

Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
/frameworks/base/core/java/android/app/Notification.java
8595a3dd9a6feff70f8ddbad924d79b591d611e4 20-Nov-2010 Joe Onorato <joeo@google.com> Show the number in the expanded notification instead of in the bar.

Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
/frameworks/base/core/java/android/app/Notification.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/core/java/android/app/Notification.java
ef1e7763c2dc5b9bac69cc747efe05c81d9fd9fc 18-Sep-2010 Joe Onorato <joeo@google.com> Tablet ticker.

Change-Id: Ia3db5cc29eac1703123de3e1c6dc7c22e7d024eb
/frameworks/base/core/java/android/app/Notification.java
f22c30cd818db80e5c27d27c14b9dbe9507cef38 10-Sep-2010 Dianne Hackborn <hackbod@google.com> am 033b381b: am 7f07f842: Merge "Fix doc of fullScreenIntent." into gingerbread

Merge commit '033b381b4c91aff4bf76481d0b37fb5f39b50ec2'

* commit '033b381b4c91aff4bf76481d0b37fb5f39b50ec2':
Fix doc of fullScreenIntent.
392fea53ece4c874997df33cfe564925a3736f35 10-Sep-2010 Dianne Hackborn <hackbod@google.com> Fix doc of fullScreenIntent.

Change-Id: Ieb21bb92b4ebf95f831231f2871839fec8a97a86
/frameworks/base/core/java/android/app/Notification.java
6171401a0a5b25ec5d66d7693a5285d54cca89ae 04-Sep-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 6a3ffb5b to master

Change-Id: I3c77887f56c4fdc1cd80682eccc2f5e0020e2761
170bae7d832e0fd68e1ee9d96893b97e1dd98c52 04-Sep-2010 Dianne Hackborn <hackbod@google.com> Improve doc.

Change-Id: I841b04e1e455b6236fb8b65b965f2fc25c4461f0
/frameworks/base/core/java/android/app/Notification.java
d02bdaab495641ab50e2123fdfd99a819cc40540 26-Aug-2010 Daniel Sandler <dsandler@android.com> Remove experimental immersive mode support. DO NOT MERGE

Bug: 2949215

Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
/frameworks/base/core/java/android/app/Notification.java
e46cbd379a3c19708c7f7e5d3f35e2c596de0c46 17-Jun-2010 Daniel Sandler <dsandler@android.com> New API for high-priority Notifications and full-screen alerts.

* fullScreenIntent: a PendingIntent pointing to a
full-screen activity or other modal alert experience to be
shown to the user instead of (or in addition to) a
traditional status bar notification icon. Example: An
incoming call should pop up a full-screen activity
allowing the user to accept or decline the call.

The old way to accomplish this is to simply fire off the
full-screen intent directly from the Phone app. By routing
through the Notification system, we make way for the
FLAG_IMMERSIVE bit (forthcoming API) which would allow the
frontmost opaque window to suppress full-screen alerts.

* FLAG_HIGH_PRIORITY: This bit allows a notification to be
shown in windows that have the FLAG_IMMERSIVE bit set. For
example, a Notification corresponding to an incoming call
would be marked HIGH_PRIORITY so that even in an immersive
activity (i.e. a networked game) the Notification could be
shown to the user.

Change-Id: I4943e53f425800a6e152bc4992dd41586b43aff8
/frameworks/base/core/java/android/app/Notification.java
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
/frameworks/base/core/java/android/app/Notification.java
c83bb730ec0333e52990a40edf6d54bb66b1d5ba 20-Jan-2010 Joe Onorato <joeo@android.com> Add DateTimeView, a widget that shows a time or the date depending on the
current time. Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
/frameworks/base/core/java/android/app/Notification.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/core/java/android/app/Notification.java
8cf97d9982aae6197e48aabf2a3ada79fb39a041 10-Jun-2009 Simon Schoar <schoar@googlemail.com> Removed usage of tabs for indention
/frameworks/base/core/java/android/app/Notification.java
d45c9f4ceb5228912fe51c31fa7554a8e9bbfd6f 10-Jun-2009 Simon Schoar <schoar@googlemail.com> Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null)
example: notification.vibrate = new long[0];
/frameworks/base/core/java/android/app/Notification.java
b8b3645a9799c38ad68549316ebbf7a4849f2e0c 27-Apr-2009 Scott Main <> AI 147803: add docs and images for docs on Toast and Notification docs
also edit the Notification class doc
BUG=1800118

Automated import of CL 147803
/frameworks/base/core/java/android/app/Notification.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Notification.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Notification.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/app/Notification.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/app/Notification.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/app/Notification.java