41395 Commits

Author SHA1 Message Date
Daniel Sandler
e40451a89d 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
2011-02-03 21:11:46 -05:00
Romain Guy
2f57ba56b3 Prevent ProgressBar from slowing down everything.
bug #3422568

Change-Id: I70b322e140a8fdbe504c6984c54a22bcb7b753e7
2011-02-03 18:03:29 -08:00
Scott Main
4fe3e53e85 update menu dev guide with more info about action bar
Change-Id: I5b0b052c96b23a395a669b1c3da11dc87f625f25
2011-02-03 18:02:55 -08:00
Dianne Hackborn
1b1962f383 Merge "Fix issue #3420898: More wallpaper issues" into honeycomb 2011-02-03 17:48:51 -08:00
Gil Dobjanschi
7dd5763d0e Merge "Bug fix: 3421011 ANR during delete video clip" into honeycomb 2011-02-03 17:43:09 -08:00
Gilles Debunne
bbc910f229 Fix for StaticLayout bug with ellipsized text
This fixes the test, but I believe this class still needs a lot of fixing.

Change-Id: Ib6386196908ea8432b175d6994f9299778a322d2
2011-02-03 17:42:18 -08:00
Eric Laurent
0f31fe0968 Issue 3371080: fix volume update in mute state.
VolumePreference should take the stream mute state into account
when updating the progress bar if a change is received by
the content observer

Change-Id: Ia1a8af9d4cc349d2d57753d865e8d2e58daf04f1
2011-02-03 17:34:39 -08:00
Gil Dobjanschi
3f1c573940 Bug fix: 3421011 ANR during delete video clip
Change-Id: I9ba027619d611d76f41d9430a4ad3c9ee5211711
2011-02-03 17:18:17 -08:00
Chet Haase
5930177721 Merge "Fix leak in reused display lists" into honeycomb 2011-02-03 17:13:31 -08:00
Adam Powell
c1be7ac912 Merge "Asset updates for dialog frames and seek bar thumbs" into honeycomb 2011-02-03 16:57:21 -08:00
Dianne Hackborn
ac1471a4ff Fix issue #3420898: More wallpaper issues
- The ImageWallpaper wasn't watching for the desired dimensions to
  change, at which point it needs to resize its surface.
- The system process has been running with the small dalvik heap
  limit, which is too tight with these huge wallpapers; this would
  cause switching wallpapers to eventually stop working as it
  couldn't get the memory it needed to load the new one.
- The compatibility mode background surface had a bunch of issues,
  such as moving its windows to the right by the window size to
  make them disappear.  This of course doesn't play well with the
  now super-sized wallpaper surface.  This code is re-worked to
  not require such shenanigans.

Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
2011-02-03 16:54:24 -08:00
Justin Ho
40523b1b27 Merge "Updating default wallpaper" into honeycomb 2011-02-03 16:53:40 -08:00
Justin Ho
b3e0045794 Merge "Updated notification area layout Bumping clock up 1px Swapping in new Bluetooth icons" into honeycomb 2011-02-03 16:53:23 -08:00
Justin Ho
6e396c0d5c Updating default wallpaper
Change-Id: I176840dc2c08653827038246f187296029b22af4
2011-02-03 16:50:19 -08:00
Adam Powell
d650b51139 Asset updates for dialog frames and seek bar thumbs
Change-Id: I3214fe9a2f1e2404d29f0a2ea22ac2fdf4ddbf31
2011-02-03 16:47:11 -08:00
Chet Haase
d63cbd1076 Fix leak in reused display lists
Change-Id: I32a9c41abf8f8cbcaaaa6fcc82d296800014a1b2
2011-02-03 16:33:26 -08:00
Justin Ho
ba6d8ac50a Updated notification area layout
Bumping clock up 1px
Swapping in new Bluetooth icons

Change-Id: Ib98f402889478121860633ffdb490c422218889e
2011-02-03 16:32:48 -08:00
Romain Guy
87465f02e4 Merge "Fixes cache misses and extra allocations. Bug #3421454" into honeycomb 2011-02-03 16:31:41 -08:00
Romain Guy
2fc941e465 Fixes cache misses and extra allocations.
Bug #3421454

Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
2011-02-03 16:20:08 -08:00
Jim Miller
4c8aafe300 Fix 3419077: Allow subclasses to change SeekBarPreference action buttons.
Change-Id: I2c624c3693fe06d9d3db3c203c7d4fc7a80b79d9
2011-02-03 16:17:41 -08:00
Amith Yamasani
823fbbbab5 Merge "Expanded volume panel with sliders and mute buttons." into honeycomb 2011-02-03 16:11:32 -08:00
Amith Yamasani
2bbdd77ab2 Expanded volume panel with sliders and mute buttons.
Bug: 3395734

Volume panel that can be expanded and can be used
to control different streams' volume and toggle
silent mode.

Shows the active stream's slider on top and the
remaining below. Touching outside dismisses the
dialog as well as a 3 second timeout.

Dialog fades out after timeout.

Change-Id: Ief258cc904bfd3d62f1291adba4a9cf442bcb006
2011-02-03 15:49:12 -08:00
Mathias Agopian
33e9cb47d2 Merge "fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep" into honeycomb 2011-02-03 15:38:15 -08:00
Mathias Agopian
f0aec213ec fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep
when an app dies, make sure to disable all sensors that process
is connected to, regardless of wether this was the LAST connection
to this sensor.

Change-Id: I9c72b1792eee03815304674d5c2f25b5270e4748
2011-02-03 14:52:47 -08:00
Justin Ho
60a008ed83 Updated volume dialog assets
Change-Id: I520cb3286d29241ccd846f29f682b6582f5abce1
2011-02-03 14:47:42 -08:00
Justin Ho
cc84ea1768 Merge "Updated default wallpaper" into honeycomb 2011-02-03 14:13:08 -08:00
Justin Ho
39f377e9fc Updated default wallpaper
Change-Id: Ic0312b9216fe40232ec237591fc0a5506c5a5d6c
2011-02-03 14:11:40 -08:00
Justin Ho
e8d2b98526 Merge "Scrubbing OGGs and updating all WAVs" into honeycomb 2011-02-03 13:57:49 -08:00
Justin Ho
30edaf2ba6 Scrubbing OGGs and updating all WAVs
Change-Id: Ia112f61ba1bd237d001b836d07fd4e0be3eef1b3
2011-02-03 13:56:38 -08:00
Justin Ho
97e1dbab57 Merge "Adding remaining volume dialog assets" into honeycomb 2011-02-03 13:50:09 -08:00
Justin Ho
9b95d35221 Updated Talk notification icon
Bug: 3362749

Change-Id: I4896a283ba4a552ee23cd69c76a397c31cddfb8d
2011-02-03 13:41:15 -08:00
Justin Ho
f451a46cc2 Adding remaining volume dialog assets
Change-Id: If3e58507dd0af454a3dbcdb4cb826c60503d72cc
2011-02-03 13:40:04 -08:00
Justin Ho
ef36255f87 Merge "Revert "Sounds cleanup"" into honeycomb 2011-02-03 12:35:51 -08:00
Vasu Nori
e1cbd0a85f Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
This reverts commit 6bc710f769618e87b98d51cd02241e6b1a2fb653, reversing
changes made to 7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a.
2011-02-03 12:20:31 -08:00
Daniel Sandler
c53867926e Revert "Sounds cleanup"
This reverts commit b04c57ba980793c43b79c9d889e94e3cd164e8ad.
2011-02-03 15:06:32 -05:00
Michael Jurka
8275c60878 Merge "adding fast setters for translationx/y" into honeycomb 2011-02-03 12:00:37 -08:00
Romain Guy
3b66e43e8c Merge "Refresh display lists when turning off layers rendering. Bug #3420565" into honeycomb 2011-02-03 11:43:17 -08:00
Romain Guy
9d18f2d189 Refresh display lists when turning off layers rendering.
Bug #3420565

Change-Id: I2139540e591a97cd487e3d7cce6b70d6b23df9de
2011-02-03 11:32:38 -08:00
Xavier Ducrohet
5e76e0aea2 Merge "LayoutLib: Fix some rendering issues" into honeycomb 2011-02-03 11:21:37 -08:00
Justin Ho
205bdd4f89 Merge "Sounds cleanup" into honeycomb 2011-02-03 10:47:22 -08:00
Daniel Sandler
2243cca40c Merge "Time to take down the Christmas lights." into honeycomb 2011-02-03 10:33:51 -08:00
Joe Malin
70ff567a27 Merge "DOC CHANGE: Fix bugs in Installing SDK topic" into honeycomb 2011-02-03 10:27:22 -08:00
Daniel Sandler
8053b55f5b Time to take down the Christmas lights.
Bug: 3420764
Change-Id: Ie76341f165f8232efdcc90af66776751117b443a
2011-02-03 13:26:12 -05:00
Eric Laurent
9c0a1003bd Merge "Fix issue 3371080" into honeycomb 2011-02-03 10:26:05 -08:00
Justin Ho
8138fc1ff3 Merge "Adding Iridium as a ringtone" into honeycomb 2011-02-03 10:21:17 -08:00
Daniel Sandler
81034187a3 Merge "Move the low battery sound to the notification stream." into honeycomb 2011-02-03 09:47:45 -08:00
Dheeraj Sharma
36b685ffb0 Merge "Fix for issue : 3419353 Crash during transition generation" into honeycomb 2011-02-03 09:36:02 -08:00
Eric Laurent
25101b0b9a Fix issue 3371080
Modified default volume control logic in AudioService:
1 IN_CALL volume if in video/audio chat
2 NOTIFICATION if notification is playing or was playing less than 5s ago.
3 MUSIC

Modified silent mode:
- now also affect MUSIC stream type
- entering silent mode when VOL- hard key is pressed once while selected
stream volume is already at 0 (except for VOICE_CALL stream).
- exiting silent mode when pressing VOL+ hard key while in silent mode

Play sound FX (audible selections, keyboard clicks) at a fixed volume.

Modified audio framework:
- isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger)
- iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
2011-02-03 09:26:24 -08:00
Daniel Sandler
d57c8d93c0 Move the low battery sound to the notification stream.
This will allow its volume to be governed by the user's chosen
notification volume.

Bug: 3409396
Change-Id: I1bc59fd76f4b5250beac530b2711dd59d79b5384
2011-02-03 12:14:34 -05:00
Cary Clark
aa7dc92838 Merge "stop GL drawing thread before killing WebCore" into honeycomb 2011-02-03 08:48:24 -08:00