diff options
| author | 2010-06-17 10:35:26 -0400 | |
|---|---|---|
| committer | 2010-06-17 11:34:13 -0400 | |
| commit | e46cbd379a3c19708c7f7e5d3f35e2c596de0c46 (patch) | |
| tree | 1e24b31ae5e2398c1ffb2debf72cb818affd3265 /libs/utils/PollLoop.cpp | |
| parent | 6b7b4845212b3a439c527f2e1eca205b6b45fceb (diff) | |
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
Diffstat (limited to 'libs/utils/PollLoop.cpp')
0 files changed, 0 insertions, 0 deletions