58264 Commits

Author SHA1 Message Date
Eric Laurent
1fbe7a8e82 Merge "Issue 4345021: Audio routed to multiple devices..." 2011-09-13 12:57:37 -07:00
Eric Laurent
5f37be324f Issue 4345021: Audio routed to multiple devices...
There is a possiblility that the condition on which RecordThread::checkForNewParameters_l()
waits after updating the command completion status is never signalled.
This happens if the thread executing ThreadBase::setParameters() has timed out waiting
for the status (for instance if the audio HAL takes too long to execute the setParameters()
command. Then the RecordThread is stuck forever.

The fix consists in waiting for the condition with a timeout in RecordThread::checkForNewParameters_l().

Change-Id: I7fc671bc2fc43ba4acb65a2beb33ee05742f091e
2011-09-13 12:44:22 -07:00
Dianne Hackborn
180c48489f Fix issue #5309443: Ninjump crashes on boot with...
...java.lang.IllegalArgumentException: Window type can not be
changed after the window is added

Change-Id: I4e34622c99d721fa214fd534a9bbfc8006184770
2011-09-13 12:39:25 -07:00
Gilles Debunne
18b4311922 Merge "Bug 5281947: add to dictionnary option promoted in suggestions." 2011-09-13 12:38:03 -07:00
Mike Lockwood
eb6456b31e Move Power Manager minimum screen brightness to a framework resource
Bug: 5279179

Change-Id: I445e78c774ad08be6582fa8870487a5210465a08
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-13 15:24:02 -04:00
Daniel Sandler
52d27423bf Merge "Transparent notification shade." 2011-09-13 12:20:03 -07:00
Daniel Sandler
5ccff81a64 Fix overlapping wifi and airplane icons.
Bug: 5254547
Change-Id: If293be36c4e06a8fac6f728b1f96e5759fe20f6d
2011-09-13 15:17:58 -04:00
Jake Hamby
5d39ec4a37 Add method to retrieve MSISDN for CDMA/LTE devices.
For CDMA/LTE devices, the MDN and MSISDN may be different.
Add a new method getMsisdn() to the Phone interface to return the
MSISDN. For GSM/UMTS, this will be the same as getLine1Number().
For CDMA/LTE, getLine1Number() will continue to return the MDN
and getMsisdn() will return the MSISDN.

Change-Id: Iba0ca24858992b21f63ae7ec0c27d2e90d4b0903
2011-09-13 11:58:08 -07:00
Daniel Sandler
9c00d5b8e7 When the status bar hides, close the notification panel.
Bug: 5087130
Change-Id: I8a63f424158faa3266f6904c0a57ac352a0555e4
2011-09-13 14:49:03 -04:00
Andreas Huber
bf208ec91e Merge "Support .avi tracks that have a sample size of 1, i.e. samples != chunks" 2011-09-13 11:37:22 -07:00
Jason Sams
53fc3e1867 Cleanup example code.
Change-Id: I060ea53c867ded0e6956776859fc2710c7302148
2011-09-13 11:29:02 -07:00
Costin Manolache
5d42a7df1d Merge "For consistency with getAuthToken, pass UID/PID for add account. Needed for customizing the add account flow" 2011-09-13 11:21:16 -07:00
Andreas Huber
63749954aa Support .avi tracks that have a sample size of 1, i.e. samples != chunks
Assume for now that all chunks are the same size, i.e. have the same number of
samples.

Change-Id: Ib8a7dfeb16cc3e5be199ff9d98b68dd0b9c23eb8
related-to-bug: 5279872
2011-09-13 11:12:57 -07:00
James Dong
0209da1cb1 Change an assert failure due to unsupported level by HW AVC decoder and report the error to applications
Change-Id: I522a994981d86329ccc86c3b536b561dc6e40eeb
related-to-bug: 5300618
2011-09-13 11:00:17 -07:00
Chia-chi Yeh
7a685e8911 Merge "SIP: fix keep-alive measurement and increase the timeout." 2011-09-13 10:35:04 -07:00
Andreas Huber
fa6dfdcfd7 Don't post position updates too frequently
i.e. don't hog my message queue.

related-to-bug: 5284760
Change-Id: I8e2d36a11dbee1567b18ed13dc5257a65c6eeda7
2011-09-13 09:48:22 -07:00
Shaopeng Jia
9683f990a2 Adding isEmergencyNumber which also takes in a defaultCountryIso.
Also update CallerInfo and CallerInfoAsyncQuery to use the new method.

Bug: 5247602
Change-Id: I2bbb0806ad2787d53b19bc1e9bdfb0ee8be26980
2011-09-13 16:10:08 +02:00
Chia-chi Yeh
d17b6d5266 SIP: fix keep-alive measurement and increase the timeout.
Bug: 5226511
Change-Id: I1283790581496b1ff4e583a8d9379cdc39f78c20
2011-09-13 03:02:30 -07:00
Mathias Agopian
62bb0cdc74 Merge "improve sensorservice_test output" 2011-09-12 22:17:21 -07:00
Mathias Agopian
8c2733527a improve sensorservice_test output
Change-Id: I6248b6f1f001fedec1bddcddfcd2b381d9bb4bf4
2011-09-12 22:16:01 -07:00
Daniel Sandler
49f5840734 Transparent notification shade.
Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
2011-09-13 00:35:52 -04:00
Daniel Sandler
e168452ad5 Merge "Fix the takeoff position of a flung windowshade." 2011-09-12 20:26:52 -07:00
Adam Powell
66d46f1db8 Merge "Fix bug 5296851 - Silly monkeys." 2011-09-12 19:19:33 -07:00
Daniel Sandler
fe172cc861 Fix the takeoff position of a flung windowshade.
We were carefully tracking the vertical offset between the view
origin and the user's incident touch, but not actually
including it when performing a fling. (This might have
worked at one point but been later buried under some
refactoring rubble.)

Bug: 5210198
Change-Id: I97ae883491a5dedf1b48683441096fe9938d118f
2011-09-12 22:18:41 -04:00
Adam Powell
b844011046 Fix bug 5296851 - Silly monkeys.
Change-Id: Idae81d426051c2e1b00a1d1b62b505effd0a2a68
2011-09-12 19:14:11 -07:00
Christopher Tate
8f73b5dfac Fix bug 5297302 - Remember to release surface after starting drag
Forgetting to release it was "safe" in that GC would eventually
tidy it up anyway, but in the meantime it was possible for a user to
do lots of drag operations, racing ahead of the progress of the garbage
collector, and wind up with drags failing because we'd run out of
surface slots due to all the piled up stale drag shadows.

Change-Id: I7ac93b13cc9996dda04a404571fbc44cb4314694
2011-09-12 18:33:45 -07:00
Matthew Xie
1667446c90 Merge "Fix a compile error when debug is turned on" 2011-09-12 18:30:48 -07:00
Jeff Sharkey
883adec771 Merge "Handle data changed during FlingRunnable." 2011-09-12 18:28:15 -07:00
Matthew Xie
62f7c9737f Fix a compile error when debug is turned on
logv uses a variable that is declared after its use

Change-Id: Id5c09698e4a0a91befa3ce2f60ce02ec28733889
2011-09-12 18:25:31 -07:00
Jeff Sharkey
7f2202b0bd Handle data changed during FlingRunnable.
Bug: 5297171
Change-Id: I733ed978bb1d237c992f5d003b212baeac102a3d
2011-09-12 18:20:56 -07:00
Adam Powell
413ce9ddab Merge "Pause WebKit drawing when WebView loses window focus." 2011-09-12 18:15:37 -07:00
Adam Powell
e00e8a7837 Pause WebKit drawing when WebView loses window focus.
This prevents animations and other live page content from consuming
too many resources while the user is interacting with a popup window.

Bug 5300522

Change-Id: I40fb6d16d56b540c431172052a1ae7fead7109be
2011-09-12 18:04:00 -07:00
Dianne Hackborn
f0ec2dd327 Merge "Fix problems where we were allocating TypedArray when not needed." 2011-09-12 17:52:54 -07:00
The Android Automerger
3f2821425f keep history after reconcile of gingerbread-release 2011-09-12 17:16:34 -07:00
Svetoslav Ganov
8a6d732360 Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation." 2011-09-12 17:05:44 -07:00
Michael Jurka
f1c8adc9ae Merge "Bug fixes in Recents" 2011-09-12 17:04:53 -07:00
Dianne Hackborn
ab0f485e64 Fix problems where we were allocating TypedArray when not needed.
Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
2011-09-12 17:04:32 -07:00
Jaikumar Ganesh
cc0b8b2c47 Use an integer for the channel id.
Hashcode are not guranteed to be unique.

Change-Id: I905c4855785ac3da9fde8bb41e1a2678f1e9e5cc
2011-09-12 16:58:29 -07:00
Svetoslav Ganov
bd5c9768c4 Merge "Adding accessibility delegate mechanism for backwards compatibility support." 2011-09-12 16:58:13 -07:00
Michael Jurka
0e8063a3b4 Bug fixes in Recents
- Making thumbnails invisible until loaded (fixes regression)
- Speed up dismiss animation from menu
- Make the max swipe velocity greater
- Make only the thumbnail and app title long-clickable
- No more click sound when tapping outside the thumbnails to dismiss Recents
- Tweaking color of recents app label text

Change-Id: If7b6cd59e92feb0472eb3ea266733549cb9f4d4b
2011-09-12 16:55:04 -07:00
Jeff Sharkey
e44365b539 Merge "Data usage structure optimizations." 2011-09-12 16:50:34 -07:00
Amith Yamasani
1357c0a228 Merge "Use a new config flag to decide if notification led pulsing can be turned on/off." 2011-09-12 16:46:58 -07:00
Svetoslav Ganov
34ffaabc30 CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.
bug:5160586

Change-Id: I3861cfc398566805cdf3c551cbf20dc7b5c208d9
2011-09-12 16:19:37 -07:00
Jeff Sharkey
69b0f63af2 Data usage structure optimizations.
Driven by traceview hotspots found in Settings UI.

Change-Id: I614a049523c526b7fcd12fffdf53a3e4723623e4
2011-09-12 16:13:20 -07:00
Svetoslav Ganov
031d9c1389 Adding accessibility delegate mechanism for backwards compatibility support.
1. Added an AccessibilityDelegate class in View which can be set by
   a client that wants to cutomize accessibility behavior via
   composition as opposed to inheritance. Insead overriding a new method in
   View thus being bound to the API version that introduced this
   method a developer can conditionally inject the accessibility
   customization if the platform API version is heigh enough. The
   developer will have to override the method of interest of the
   delegate. The default implementation of the delegate methods is
   the same as that of View in the case that there is no delegate
   set. If a delegate is set calling an accessibility related method
   on View will be handed off to the corresponsing method of the
   delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
2011-09-12 15:42:19 -07:00
Chet Haase
2f2eea704e Merge "Fix wobbly spinners" 2011-09-12 15:17:32 -07:00
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -07:00
Jeff Brown
e982d836d6 Merge "Track status bar fling velocity using screen coords. Bug: 5210198" 2011-09-12 14:50:38 -07:00
Jeff Brown
125b73eb59 Merge "Fix ACTION_CANCEL handling in status bar. Bug: 5198231" 2011-09-12 14:50:31 -07:00
Dianne Hackborn
1cd955b01d Merge "Get rid of some animation flickers and other bad things." 2011-09-12 14:42:02 -07:00