Daniel Sandler
87160757e8
Basic handling of Notifications with fullScreenIntent.
...
If a Notification has a non-null fullScreenIntent AND the
topmost Activity is not immersive, that PendingIntent will
fire (presumably causing a nice dialog or full-screen
activity to appear).
Immersive mode handling for FLAG_HIGH_PRIORITY Notifications
is still unimplemented (although the fullScreenIntent will
be suppressed in immersive mode).
Note that currently your fullScreenIntent notification will
also get posted to the status bar, so you're responsible for
clearing it out (e.g. in onPause in your alert intent). See
forthcoming changes to StatusBarTest for an example.
Change-Id: Ie750d1b7bcc788bd29ee1d8626f971dd47fd2817
2010-06-24 22:09:35 -04:00
Joe Onorato
0a0edccafb
Merge "Fix the notification vibration setting and add a test app that lets you recover from the busted state." into gingerbread
2010-06-24 17:51:22 -07:00
Joe Onorato
8932020f54
Fix the notification vibration setting and add a test app that lets you recover from the busted
...
state.
Bug: 2767349
Change-Id: Id0c41734e82a1256a49175a2dc6b40f0abaf4f8b
2010-06-24 17:49:44 -07:00
Dianne Hackborn
9d39d0cb36
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
2010-06-24 17:27:28 -07:00
Joe Onorato
75144ea38e
Move the status bar icon list, hopefully for the last time.
...
Change-Id: Ie495a41dac03e1fe5ddccefcbd2a0673090a6db1
2010-06-09 14:33:31 -07:00
Joe Onorato
f1f259165f
Call into the notification manager when the panel is revealed.
...
This lets it turn off the LED. However, it seems like somebody broke
the notification LEDs. GRRR.
Change-Id: I3f7066c2b2e1673dc0144a34cf59946351a647be
2010-06-09 14:33:30 -07:00
Joe Onorato
7a0f36bd93
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
2010-06-09 14:33:30 -07:00
Joe Onorato
9e875fcb55
Start the status bar service based on a configuration option, instead of trampolining through
...
a braodcast receiver.
Change-Id: I6ae0740fea07350b80c35c0ee2d938e0364d773e
2010-06-09 14:33:29 -07:00
Joe Onorato
8bc6c51419
Require the STATUS_BAR_SERVICE permission for something to be the status bar.
...
Change-Id: I57b2d296e0d0cef0d256ae6697fffc47188d14df
2010-06-09 14:33:23 -07:00
Joe Onorato
005847b03b
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
2010-06-09 09:15:25 -07:00
Joe Onorato
d956ae8b81
dead code removal
...
Change-Id: I4a11f027e764c92602d0429947e9ef39edd882e2
2010-06-09 09:15:25 -07:00
Joe Onorato
fe4f3ae33c
Move the usb mass storage notification & activity into SystemUI.apk.
...
Also fix the notification to show properly when the runtime is restarted.
Change-Id: Id0c7ef9f9dc9c9df18428cbaa7db1703f085137e
2010-06-09 09:15:25 -07:00
Joe Onorato
d2b1f00e1e
Add some disabled logging and another test case for reapplying the notification views.
...
Change-Id: I839d7771ab42a5d508ce7d15385f6ac6a4e3be83
2010-06-09 09:15:25 -07:00
Joe Onorato
169af47b00
remove logging
...
Change-Id: I42c2332c3c114700f5ade77b63b4f6010ea5507a
2010-06-02 14:48:46 -07:00
Joe Onorato
c91460d2c3
Pull the carrier name display in the windowshade out into its own view.
...
Change-Id: I76ea5e72288245b69273c76a470b54eaec890361
2010-06-02 14:48:46 -07:00
Joe Onorato
1a86dd10c1
Use the built-in handler instead of allocating another one.
...
Change-Id: Ia2e5db99b751d3f299c4a9b587ef718212bd8161
2010-06-02 14:48:46 -07:00
Joe Onorato
f551054055
Get the ticker working again.
...
Change-Id: Idb7e456bc302578c3866448334eb0ebf0ba235d4
2010-06-02 14:48:46 -07:00
Joe Onorato
9834d53469
better debugging "slot" for the notification icons.
...
Change-Id: Ib7c130a97826f6950f51462ef915a9d0a5f847d6
2010-06-02 14:48:46 -07:00
Joe Onorato
75199e3ddc
Populate the notifications at startup of SystemUI.apk.
...
Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
2010-06-02 14:48:46 -07:00
Joe Onorato
b77f53b21c
Get the IconMerger working again.
...
Change-Id: I73719f4fd475a39d4c1245de45c6a13c31e6323b
2010-06-02 14:48:46 -07:00
Daniel Sandler
87937dbcd1
New shadowy status bar, direct from Z'ha'dum.
...
Artwork is FPO but serviceable enough. Many hardcoded font
colors & styles were moved to styles.xml where they belong.
AM/PM finally given the old heave-ho (but configurable in
StatusBarPolicy.java).
Notification content remains on a light-gray background for
now (so as not to screw up custom RemoteViews) but status
icons will definitely need across-the-board rework to look
better against a dark background.
(Re-integrated on top of new status bar code.)
Change-Id: Ia180b3c2ba8e23c9a2f50cf46f98f12958022b53
2010-06-02 14:48:45 -07:00
Joe Onorato
798ac4c7d7
Start moving resources to SystemUI.apk.
...
Change-Id: Ibf30b8196d65d7fbca1177968cefa5f7a875bf1d
2010-06-02 14:48:45 -07:00
Joe Onorato
79de0c5500
Move the StatusBarPhone package into a new catch-all SystemUI.apk.
2010-06-02 14:48:45 -07:00
Joe Onorato
5ee67ebff2
Get the text appearance compiling
...
Change-Id: I1bc0a2ad57f370a0661c30b92e14ac2fce5cdfcd
2010-06-02 14:48:44 -07:00
Joe Onorato
9c1d823465
Deal with broken notifications.
...
Change-Id: I21582ba4db70677f411a7e14bcdd7eac7d5a643e
2010-06-02 14:48:44 -07:00
Joe Onorato
871bdb9867
Handle bad icon resources.
...
Change-Id: I87c5fe68ad8016596068ba7889f3b6d36da3386b
2010-06-02 14:48:44 -07:00
Joe Onorato
20da8f8ac9
Implement setAreThereNotifications.
...
Change-Id: I8b69330c35d613ce808a472748dd2651adb5efa3
2010-06-02 14:48:44 -07:00
Joe Onorato
0e26dffd6c
updateNotifications works.
...
Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
2010-06-02 14:48:44 -07:00
Joe Onorato
66b4c5bb36
Implement removeNotification.
...
Change-Id: I58b999901b45b4dce6d3af3a7701e0c9ad2b77df
2010-06-02 14:48:43 -07:00
Joe Onorato
aaba60b281
Notifications don't crash when you click them, and pass through events to NotificationManagerService
...
Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
2010-06-02 14:48:43 -07:00
Joe Onorato
e345fff2f8
notifications show
...
Change-Id: I9240b803c643874828c95afcf1ba9ed91194dbc0
2010-06-02 14:48:43 -07:00
Joe Onorato
a0c56fe939
Checkpoint. Doesn't build.
...
Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
2010-06-02 14:48:43 -07:00
Joe Onorato
18e69dfc72
Checkpoint. Data structures for Notifications in place.
...
Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
2010-06-02 14:48:43 -07:00
Joe Onorato
6528b35585
Remove unused stuff.
...
Change-Id: I85864ed242cb39c7298e82cb83beba8f98db6a6d
2010-06-02 14:48:42 -07:00
Joe Onorato
4762c2d75a
Add expand and collapse.
...
Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
2010-06-02 14:48:42 -07:00
Joe Onorato
f3f0e053f0
Make disable() work.
...
Change-Id: I93fea37e777b3e04fe7f9171d5b84821587c24f5
2010-06-02 14:48:42 -07:00
Joe Onorato
5368017294
Remove unused cruft.
...
Change-Id: I21a10d74106d1e4384a70cb654e4336b8f679e4a
2010-06-02 14:48:42 -07:00
Joe Onorato
263700df7b
Clock
2010-06-02 14:48:42 -07:00
Joe Onorato
66d7d01ed9
Get icon updating working.
...
Change-Id: I749967545af5c97756e316231e740208fcd8ad3c
2010-06-02 14:48:42 -07:00
Joe Onorato
514ad663f0
Set the visibility of the icons.
...
Change-Id: Ib414718f1c51f1d306308a989d5d31d8e3ea7fd1
2010-06-02 14:48:41 -07:00
Joe Onorato
fb78cd99f9
Put the icons in the right order.
...
Change-Id: Ice077764b74221319291474bb5681b941b2f7364
2010-06-02 14:48:41 -07:00
Joe Onorato
0cbda99f87
The status bar draws its icons now.
2010-06-02 14:48:41 -07:00
Joe Onorato
503007dd02
Checkpoint status bar factoring. Now it builds and doesn't crash at boot.
...
Change-Id: I23f2045abfec0b414d5381f5e609b7267da7f21a
2010-06-02 14:48:41 -07:00
Joe Onorato
94c98c0ed5
PhoneStatusBarService
...
Change-Id: I8c71f827f6cfb4f5dd5f13891c54fcd1f9680a46
2010-06-02 14:48:40 -07:00
Joe Onorato
90233a1ee5
Add IStatusBar
...
Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
2010-06-02 14:48:40 -07:00
Joe Onorato
25f95f9200
Rename IStatusBar to IStatusBarService.
...
Change-Id: Icfec2a830f037b21f6afaa796bf49da610567e7b
2010-06-02 14:48:40 -07:00
Joe Onorato
2314aab506
First pass at splitting the status bar for the different devices.
...
Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
2010-06-02 14:48:39 -07:00
Dan Bornstein
ea5477c854
am 89ad07b0: am 42ee86e6: Merge "For issue #2651381 , allow library prelinking." into froyo
...
Merge commit '89ad07b048ff035394596d6a8916f639f3f0b868' into kraken
* commit '89ad07b048ff035394596d6a8916f639f3f0b868':
For issue #2651381 , allow library prelinking.
2010-05-06 12:43:52 -07:00
Dan Bornstein
89ad07b048
am 42ee86e6: Merge "For issue #2651381 , allow library prelinking." into froyo
...
Merge commit '42ee86e66d972dcdf240e549e5fdc151a144af64' into froyo-plus-aosp
* commit '42ee86e66d972dcdf240e549e5fdc151a144af64':
For issue #2651381 , allow library prelinking.
2010-05-06 12:36:05 -07:00
Dan Bornstein
782e9fd749
For issue #2651381 , allow library prelinking.
...
Change-Id: I1cb467a158e21fc02cac6af585ac8d27c2bf42de
2010-05-05 18:23:05 -07:00