567 Commits

Author SHA1 Message Date
Daniel Sandler
571a629f29 Merge "Show notification icons in the system bar." 2010-07-29 12:45:15 -07:00
Daniel Sandler
3eebd1ffbf Show notification icons in the system bar.
Caveats:
 - Ongoing and normal are lumped together
 - Currently no limit on number of icons (should be 4)
 - Still can't see the notifications in the panel

Change-Id: I83ac474db6ff290207d37747b672a1a56788a238
2010-07-29 15:42:11 -04:00
Jeff Brown
bbda99d208 Fixed StatusBar ANRs due to input event injection on UI thread.
Added a new asynchronous injection mode and made the existing
synchronization mechanism more robust.

Change-Id: I0464f70ff5cbd519dbb02686b2cb5d810fe7dbb2
2010-07-29 12:19:08 -07:00
Eric Fischer
359d79f317 Add character limit for translators.
Change-Id: If3d77fed7ebc1ef08c546b7f7d32177b4d80d2b9
2010-07-28 16:27:18 -07:00
Dianne Hackborn
fd1fbcad58 am ef1b9c6a: am 3ac8eb72: Update app label.
Merge commit 'ef1b9c6aa7a9a4dd79823e47829a9ca894c06a0f'

* commit 'ef1b9c6aa7a9a4dd79823e47829a9ca894c06a0f':
  Update app label.
2010-07-26 12:30:15 -07:00
Dianne Hackborn
3ac8eb7278 Update app label.
Change-Id: I6c688fd9292aeaa58435eec6273b3a19cad5eff9
2010-07-24 18:21:07 -07:00
Daniel Sandler
0f3332d0d6 Tweak FPO art.
Change-Id: I3a0176adbebd43a2cbf1d54c0d5153d0d3f5b60c
2010-07-23 15:54:27 -04:00
Daniel Sandler
a9ef06955d Merge "Improvements to the system bar:" 2010-07-23 12:00:11 -07:00
Daniel Sandler
9120d55b80 Improvements to the system bar:
- dummy panels for the notification & system areas
 - dummy battery/wifi status indicators
 - new "whiteboard ui" temporary artwork
2010-07-23 14:58:40 -04:00
Irfan Sheriff
3bb46be774 Merge "Fix wifi status icon" 2010-07-22 18:57:55 -07:00
Irfan Sheriff
311912ef75 Fix wifi status icon
Doing a setIcon makes the icon visible and overrides
setIconVisibility

Change-Id: If71c9b727ace268f47121c2bf5f724481f592c8e
2010-07-22 12:07:34 -07:00
Daniel Sandler
a101f8f6ef Fix pressed states on system bar buttons.
Change-Id: Ie12958fee80d9e292e4ab8e6a267db47d91b10b1
2010-07-21 16:44:42 -04:00
Daniel Sandler
3a04ef0adb Move more of the system bar to the layout.
Change-Id: I2fd67e687b8048a48e2c6531ac896d33815ce615
2010-07-15 16:35:29 -04:00
Joe Onorato
ce38d0c2e5 Merge "checkpoint tablet status bar" 2010-07-15 11:09:04 -07:00
Dianne Hackborn
7e92b2d9e4 am b0e787d2: am e339464f: am 1bcb6658: Merge "Fix issue #2834005: Android Settings.Secure bypass" into froyo
Merge commit 'b0e787d2d67d1214b3233b822a5ed2517c8e0557'

* commit 'b0e787d2d67d1214b3233b822a5ed2517c8e0557':
  Fix issue #2834005: Android Settings.Secure bypass
2010-07-12 19:11:03 -07:00
Dianne Hackborn
e339464f1c am 1bcb6658: Merge "Fix issue #2834005: Android Settings.Secure bypass" into froyo
Merge commit '1bcb665825dc97789e8c1b892ec4298fd0b8c552' into gingerbread

* commit '1bcb665825dc97789e8c1b892ec4298fd0b8c552':
  Fix issue #2834005: Android Settings.Secure bypass
2010-07-12 19:06:24 -07:00
Dianne Hackborn
24117ce3ae Fix issue #2834005: Android Settings.Secure bypass
Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572
2010-07-12 17:21:50 -07:00
Joe Onorato
808182dc87 checkpoint tablet status bar
Change-Id: Ia9089cce370ead4e685dffbca722fa8404a8f443
2010-07-12 14:29:15 -04:00
Daniel Sandler
ddfd24c329 am 4dc96b85: am f7d2b4a2: Use fullScreenIntent to show the USB mass storage dialog.
Merge commit '4dc96b8513ad3d3af54321716251f789769a11b4'

* commit '4dc96b8513ad3d3af54321716251f789769a11b4':
  Use fullScreenIntent to show the USB mass storage dialog.
2010-07-08 19:09:42 -07:00
Daniel Sandler
f7d2b4a2e0 Use fullScreenIntent to show the USB mass storage dialog.
Note that this is not a FLAG_HIGH_PRIORITY notification. In
immersive mode the UMS dialog will be suppressed entirely
(but an icon will still appear in the status bar).

Bug: 2821219
Change-Id: I21f910c8830aff8d0633deda4eb59dbda13262ed
2010-07-08 13:07:41 -04:00
Joe Onorato
a5b38cab74 top and bottom can't be the same thing
Change-Id: Ia5e4684db6dab390394f11182612c45818c7bcc0
2010-07-07 18:35:58 -04:00
Joe Onorato
52c1dc2fd9 buttons on the bottom
Change-Id: I52184ad2752c38bcc4c7646b404f3f305e0ac4b6
2010-07-07 18:33:14 -04:00
Joe Onorato
86f9bd2fd0 Add KeyButtonView
Change-Id: Ic32076c07bd45cbf2a6db25d8e8e933701fdf8b2
2010-07-07 18:33:14 -04:00
Joe Onorato
119a4015f0 add a button area
Change-Id: I78171b3d6cc44a5984e5f602565228909f3e1c00
2010-07-07 18:33:14 -04:00
Daniel Sandler
17adbfb5e5 am 0e1d3391: am b59b9445: Fix icon size in intruder alerts.
Merge commit '0e1d3391e3943e695caa0281f4e3374419bb616d'

* commit '0e1d3391e3943e695caa0281f4e3374419bb616d':
  Fix icon size in intruder alerts.
2010-07-07 11:12:27 -07:00
Daniel Sandler
b59b94456b Fix icon size in intruder alerts.
(Updated test app to confirm the fix.)

Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
2010-07-07 14:06:27 -04:00
Steve Howard
6d4a911e44 am 5c57e03d: am 6ffd9ff0: Merge "Log full exception when failing to inflate notification view" into gingerbread
Merge commit '5c57e03d3dbd474deb73f51b564c4fb929a2a816'

* commit '5c57e03d3dbd474deb73f51b564c4fb929a2a816':
  Log full exception when failing to inflate notification view
2010-07-01 19:43:12 -07:00
Steve Howard
ce94584096 Log full exception when failing to inflate notification view
When inflating a notification's view fails, include the exception in
the log message.  Without this exception all we get is "couldn't
inflate view for notification <package>/<id>", which isn't very
helpful for tracking down the particular error in the view.

This exception used to be included in the log message, but it was
removed in 005847b03b2 -- any particular reason why?

Change-Id: I623b9e4c8291e4c035f26380e5f22ad6b65176a7
2010-07-01 17:54:16 -07:00
Joe Onorato
06abd91d7a am 393e1459: am a2dd4c17: put the status bar back in the system process
Merge commit '393e1459340effdb8bdc6531e22c0976d0aea026'

* commit '393e1459340effdb8bdc6531e22c0976d0aea026':
  put the status bar back in the system process
2010-07-01 11:55:46 -07:00
Joe Onorato
b3066ee5f7 am 6fd470fb: am 6be4739e: quiet noisy debug spew
Merge commit '6fd470fbdc46777d7dc201bd6f475becc7976014'

* commit '6fd470fbdc46777d7dc201bd6f475becc7976014':
  quiet noisy debug spew
2010-07-01 11:55:42 -07:00
Joe Onorato
a2dd4c17bb put the status bar back in the system process
Change-Id: I401b0ac8e3c96b61e787eb18341d18be75b3761d
2010-07-01 07:51:04 -04:00
Joe Onorato
6be4739e1b quiet noisy debug spew
Change-Id: I55c3b16f58bbe0ec4c6547c525863a7d16f8263d
2010-07-01 07:47:08 -04:00
Daniel Sandler
9529f2ce8a am 9b4b74be: am 294c9fb8: Improved graphics for the intruder alert.
Merge commit '9b4b74becf0e99b0a9090758d6337c6615cff1d1'

* commit '9b4b74becf0e99b0a9090758d6337c6615cff1d1':
  Improved graphics for the intruder alert.
2010-06-30 15:48:41 -07:00
Daniel Sandler
294c9fb899 Improved graphics for the intruder alert.
Change-Id: I9aa6c8995da39f332b724fabe67ed5efe584552f
2010-06-30 15:32:26 -04:00
Daniel Sandler
04f229a40d am 77655393: am 5d7f6e61: Merge "Support for tapping on an immersive-mode priority notification." into gingerbread
Merge commit '776553934aa254b4240fc84ef6d97105a640348e'

* commit '776553934aa254b4240fc84ef6d97105a640348e':
  Support for tapping on an immersive-mode priority notification.
2010-06-29 12:32:57 -07:00
Daniel Sandler
27a8be4b35 Support for tapping on an immersive-mode priority notification.
When the user taps on an intruder alert (the priority
notification in immersive mode), the .contentIntent in the
Notification object will be sent, just as we handle tapping
on a normal Notification in the windowshade.

Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d
2010-06-29 15:19:54 -04:00
Joe Onorato
c5c2f5b5e5 resolved conflicts for merge of 32b739b6 to master
Change-Id: I5a1791d12ca57ee682e46ade7d24b21e9f59aff2
2010-06-29 13:57:19 -04:00
Joe Onorato
6443de56f3 resolved conflicts for merge of 7f9ede96 to master
Change-Id: Iaa688e5f7adaa363c88e0824b44233c8906e9e26
2010-06-29 12:58:39 -04:00
Joe Onorato
1c95ecb47a recombine StatusBarService and PhoneStatusBarService
Change-Id: I64178209985bfac283740d6a667211d2f962f71a
2010-06-29 11:00:04 -04:00
Joe Onorato
b54ef61434 Separate the status bar height from the icon size.
Change-Id: I9cc8c5e8ed2c48d03b7c1c89f1bf7f94cc119171
2010-06-29 09:45:54 -04:00
Daniel Sandler
e94364c749 am be5f3121: am 5dbd05ed: Intruder alert! (First try at the immersive-mode alert bar.)
Merge commit 'be5f31212064b78735cd6f643015f244ad81ce78'

* commit 'be5f31212064b78735cd6f643015f244ad81ce78':
  Intruder alert! (First try at the immersive-mode alert bar.)
2010-06-28 14:24:33 -07:00
Daniel Sandler
5dbd05ed18 Intruder alert! (First try at the immersive-mode alert bar.)
When a FLAG_HIGH_PRIORITY notification is posted and the
foreground activity is immersive, this window will be shown
to the user. It disappears after a while (currently 10s,
which is far too long to be usable but is very handy for
testing) and can be dismissed by a tap.

Artwork is extremely rough; please ignore the aesthetics.

Still TODO:
  - sticky alerts for ongoing priority notifications
  - tap to launch PendingIntent associated with the
    notification

Change-Id: Ief4a98b84cc836d33359bd7d65de9909f5186317
2010-06-28 16:33:27 -04:00
Daniel Sandler
ddac8829b4 am bc4bc709: am 87160757: Basic handling of Notifications with fullScreenIntent.
Merge commit 'bc4bc709a819801a23aa604896ae2457ae710bec'

* commit 'bc4bc709a819801a23aa604896ae2457ae710bec':
  Basic handling of Notifications with fullScreenIntent.
2010-06-25 08:29:56 -07:00
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
ab3c7d2a8c am 0bf5cce9: am 0a0edcca: Merge "Fix the notification vibration setting and add a test app that lets you recover from the busted state." into gingerbread
Merge commit '0bf5cce9ee5f7db9932a8ba27e86836a9d96677c'

* commit '0bf5cce9ee5f7db9932a8ba27e86836a9d96677c':
  Fix the notification vibration setting and add a test app that lets you recover from the busted
2010-06-24 17:55:59 -07: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
8bb998d52c am ea8eafad: am 2529a453: Merge "Make bad notifications crash their application." into gingerbread
Merge commit 'ea8eafad4f5438ec1291d45376959a996d36e15e'

* commit 'ea8eafad4f5438ec1291d45376959a996d36e15e':
  Make bad notifications crash their application.
2010-06-24 17:33:14 -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
Ficus Kirkpatrick
00a50872b0 Quiet down some log spew.
Change-Id: I769247c7b5b0ab4a233932635752ec602442af34
2010-06-16 13:28:39 -07:00