57799 Commits

Author SHA1 Message Date
Narayan Kamath
ddca4708b6 Merge "Fix two TTS bugs." 2011-09-07 05:53:14 -07:00
Chih-Chung Chang
47a52158d2 Fix 5156702: rotate thumbnails
Change-Id: I97b51dadf129172d5b154e9dfd66da254e4559d7
2011-09-07 19:20:45 +08:00
James Dong
ccccb505ab Merge "Use device-dependent frame rate in the media recorder performance test" 2011-09-07 04:07:39 -07:00
Dave Burke
a57c639fa7 Merge "Revert "To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams."" 2011-09-07 03:59:20 -07:00
Narayan Kamath
a65c62acab Fix two TTS bugs.
(a) Fix a null pointer exception, caused by a race condition
between stop / start calls.
(b) Fix a deadlock observed when multiple apps call stop() when
an item from one of those apps is currently being processed.

bug:5253061

Change-Id: I78533aecfda028588ce6aedb041009bc0a6f4620
2011-09-07 11:38:18 +01:00
Irfan Sheriff
6f7d385d96 Update documentation and cleanup to unhide API
Bug: 5247957
Change-Id: I3ef8ac013eec32eb540178ea5febec3d4c0a3428
2011-09-07 00:18:48 -07:00
Jim Miller
b4a431fa16 Merge "Fix 2679658: Be more aggressive about recreating lock screen." 2011-09-06 23:16:13 -07:00
Chet Haase
3791dc9b1c Merge "Fix issue with LayoutTransition on non-visible windows." 2011-09-06 22:36:13 -07:00
Irfan Sheriff
489a9d81fd Rename WpsConfiguration to Wps
For the purpose of exposing the class as a storage for Wps
info with p2p, it is better to just call it Wps

Bug: 5247957
Change-Id: Iaebef958dd8f08fdbeb4b9d7fa5ad5527400710d
2011-09-06 22:32:58 -07:00
Chet Haase
61158c621d Fix issue with LayoutTransition on non-visible windows.
There's a problem with how LayoutTransition cleans up after itself
when the target view is in a Window that is not on the screen.
The quick fix is to always start (and therefore properly end and clear)
transitions, regardless of whether the window is in the tree.

Change-Id: I23f4f4f04176f3943e5c6e1d78acba0190a96930
2011-09-06 22:19:45 -07:00
Adam Powell
7211dbabc5 Merge "Bug 5249855 - Add support for content descriptions on action bar tabs" 2011-09-06 21:50:56 -07:00
Adam Powell
94e56ef3b8 Bug 5249855 - Add support for content descriptions on action bar tabs
Add API support for supplying content descriptions on action bar tabs.
This helps accessibility in cases where no title text is shown.

Change-Id: I8fdc4c2f2b279871b9f24b0b16e5167879b22741
2011-09-06 21:23:59 -07:00
Christopher Tate
2982d06b7c Fix restore-agent timeouts
This patch parallels the previous one that fixed backup timeouts.
It establishes the same sort of state-machine process for walking
through the restore steps solely as events posted to the backup
manager's HandlerThread.

Fixes the rest of bug 5074923

Change-Id: I122a021cb1e9bb1342de0b71e5d4bc84cc630c58
2011-09-06 20:35:24 -07:00
Irfan Sheriff
dff28d5293 Handle state transition for p2p enable reject
Bug: 5265878
Change-Id: Ifd0ecb98876ffe098af06d67226f312d2a3d49c7
2011-09-06 19:49:08 -07:00
Winson Chung
9a355fbb0d Merge "Updating javadoc for StackView constructors (4554433)" 2011-09-06 19:41:46 -07:00
Jim Miller
62c3efd204 Fix 2679658: Be more aggressive about recreating lock screen.
In the past we were overly cautious about not recreating the lockscreen
under steady state conditions.  However, that allowed lockscreen
to get into weird states where the screen orientation and the
loaded layout disagree. Once in this state, the user could not
recover because we would never reload the layout due to the fixed
orientation of lock screen.

This avoids the problem by being more aggressive about reloading
the layout.  It now recreates the lockscreen (for reals) whenever
a view requests it via recreateMe().

In addition it serializes recreateMe() requests to ensure a pending
configuration change event has a chance to propagate and be handled
by the lockscreen looper.

Change-Id: I86a54abba899eb314f7cc8dbf6cbb98266bc548a
2011-09-06 19:23:52 -07:00
James Dong
30856a76dc Revert "To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams."
This reverts commit 983ab88e117fcbda9370b8f4ba94271d37149672.

related-to-bug: 5231309
2011-09-06 19:18:43 -07:00
James Dong
a985135daa Use device-dependent frame rate in the media recorder performance test
Change-Id: I778eca69c4acb9842f600c6ae23e7a89fb2e55f4
related-to-bug: 5264298
2011-09-06 19:15:48 -07:00
Fabrice Di Meglio
03e4d64587 Fix bug #5252977 TextView selection handles appearing in a weird state
- a remove of a listener was missing as dismis() and hide() need to
share the same semantics

Change-Id: I01dc5a971324d0aa0942e365d5302d93a1a51a16
2011-09-06 19:08:51 -07:00
Winson Chung
abc8b50a26 Updating javadoc for StackView constructors (4554433)
Change-Id: I084c9535f9be4ae4e3942828d3b624d28eae4b06
2011-09-06 18:44:21 -07:00
Mathias Agopian
7a57009c3a Merge "add an option to EGL to dump stack traces on errors" 2011-09-06 18:07:35 -07:00
Mathias Agopian
a674c9b84e Merge "Use hardware acceleration in all status bar windows." 2011-09-06 18:07:29 -07:00
Mathias Agopian
8ec2ff65da add an option to EGL to dump stack traces on errors
enable by setting debug.egl.callstack to 1

Change-Id: I7fad9ce71b4c4c5ece97d4f9d139348eab742a3c
2011-09-06 18:06:04 -07:00
Daniel Sandler
b69f7015e7 Use hardware acceleration in all status bar windows.
(Only applies to high-end devices. In situations where
memory budget or GPU/overlay support are lacking these will
still be done in software.)

Bug: 5233443
Change-Id: I668def10598f6a818d8011ba6dd8d1dd5440ae5e
2011-09-06 18:05:58 -07:00
Gilles Debunne
0046199dab Merge "Fix "out of bound exception" when the span has prefix." 2011-09-06 17:51:10 -07:00
Gilles Debunne
d486bd2789 Merge "Fix several issues with the "EasyEditSpan"." 2011-09-06 17:42:31 -07:00
Kristian Monsen
9041d9254e Fix for bug 5100096 Repeated Security Waring
Only giving the host to SslError.

Change-Id: I6112643cf25293348ff20193e67da5f52063ffa2
2011-09-07 01:37:02 +01:00
Brandon Keely
1aa952c11d Merge "Making task transitions more akin to wallpaper transitions, now that launching from All Apps invokes the task transition." 2011-09-06 17:30:52 -07:00
Ben Komalo
8e147b2937 Merge "Expose getting encryptstate through IMountService" 2011-09-06 17:14:52 -07:00
Romain Guy
2b72d93ce3 Merge "Don't destroy a window's buffers when moving it" 2011-09-06 17:02:43 -07:00
Romain Guy
f21c9b0f52 Don't destroy a window's buffers when moving it
Change-Id: Ib08608373ae4299639c1b157421ba633e4293446
2011-09-06 17:01:05 -07:00
Marco Nelissen
671db6f3ba Fix startBluetoothSco race
Change-Id: I8b711bd3c6b12f2e3e92144c0dadac72261bf914
2011-09-06 16:51:21 -07:00
Jaikumar Ganesh
535e8f3562 Merge "Add Bluetooth intents to protected broadcasts." 2011-09-06 16:47:19 -07:00
Peter Ng
090d31eaa3 Merge "Blue notify quicksettings icon implemented" 2011-09-06 16:42:54 -07:00
Andreas Huber
612e16191a Stop metadata retriever from dereferencing a NULL pointer if
the media extractor failed to initialize (malformed or unsupported content)

Change-Id: Icfad4e9eeb8d6713ad12eee7979ab30b696c06e0
related-to-bug: 5263840
2011-09-06 16:05:02 -07:00
Luca Zanolin
1564fc7c7e Fix several issues with the "EasyEditSpan".
- The easy edit span was displayed twice when in extracted mode. The orignal TextView now checks if it is in extra mode, and if so it does not display any pop-up
- The easy edit span was displayed before the view was layout causing the application to crash.

New feature:

- the span is automatically hidden after a timeout

I also renamed all the fields and classes to "EasyEdit...". There were still some field/class using an old name.

Bug: 5255363
Bug: 5247453
Bug: 5246997

Change-Id: Ic9bf05d2525e2df9017c91344a687e8cb9105417
2011-09-07 00:01:28 +01:00
Brandon Keely
09c921b5ce Making task transitions more akin to wallpaper transitions, now that launching from All Apps invokes the task transition.
Change-Id: I10b6de9b5ec20dfd1a2f53030d90972bc4acd0ff
2011-09-06 15:52:01 -07:00
Gilles Debunne
6fbe5ca643 Updated text selection color. As in 133272
b/5217848

Change-Id: I628c65af941d575a402a38f45bc923ebb4256c56
2011-09-06 15:35:56 -07:00
Justin Ho
1d124d5037 Merge "Updated highlighted text color Bug: 5217848" 2011-09-06 15:12:56 -07:00
Fabrice Di Meglio
c6fc20a91b Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics" 2011-09-06 15:12:25 -07:00
Justin Ho
0db271d2ee Updated highlighted text color
Bug: 5217848

Change-Id: I186bade97b2edf8cca621611fbc8325411f12e96
2011-09-06 15:04:05 -07:00
Romain Guy
fe1aafe4ac Merge "Prevent crash in View.createSnapshot if getResources() returns null Bug #5260241" 2011-09-06 15:03:06 -07:00
Romain Guy
c529d8d8c7 Prevent crash in View.createSnapshot if getResources() returns null
Bug #5260241

Change-Id: I90b6d5a8961a6b7b50603a9f59a6e39093646bd4
2011-09-06 15:01:39 -07:00
Luca Zanolin
2346e0117d Fix "out of bound exception" when the span has prefix.
Change the behavior of the highlight marking the "suggested text" and not the differences.

Bug: 5252699
Change-Id: I4c7e9fc9bac81da8b5f643990b86a336363d7968
2011-09-06 22:56:59 +01:00
Eric Laurent
b6738fc6a5 Merge "Issue 5247986: Battery drain due to audio wakelock" 2011-09-06 14:53:59 -07:00
Eric Laurent
fa6067f87c Merge "VoIP JNI: Force AEC on for tuna board" 2011-09-06 14:53:14 -07:00
Eric Laurent
b0808f9c43 Issue 5247986: Battery drain due to audio wakelock
The problem occurs when activating or deactivating A2DP connection
while SoudPool has a channel active. This can happen quite frequently now
that the UI sound effects are enabled by default.
If PCM data is remaining in the AudioTrack buffer when it is restroyed and
re-created on the new AudioFlinger output thread, this data is flushed.
As a consequence, no underrun or request for new data callback is sent to
SoundPool and the sound channel remains active for ever as the end of the
sample is never detected.

Change-Id: I13e0c11e4ce3f83bff7f58d347ca814b6a86712b
2011-09-06 14:37:20 -07:00
Eric Fischer
2cc2d984b1 Merge "Fix Bulgarian date format string order and punctuation." 2011-09-06 14:24:06 -07:00
Svetoslav Ganov
1b2d5edac8 Merge "Tuning the TouchExplorer" 2011-09-06 14:16:17 -07:00
Chet Haase
c861bd778b Clarify AnimationSet docs and behavior
Two problems fixed here:
- The docs for AnimationSet were too vague and incorrect: some properties of
Animation (such as duration) are pushed from the AnimationSet down to its children, as
the current docs say. Some other properties (such as repeatCount) are ignored. Other
properties (such as startOffset) apply to the Set itself, but not to the children.
Fix: clarify this behavior for each of the properties.
- The behavior for XML resources was just busted. We would set the various properties
(e.g., duration) and then forget that we did so, since we reset the flags that marked
their existence after we loaded the resource. In fact, the duration property was
always being reset to 0, regardless of what it was set to in the xml resource.
Fix: Make it work they way it always should have: respect the values read from the XML
resource and make them behave the same way they do when set at runtime.

Change-Id: I07d68876d2259105dc5a359501d5c656ecfaa8e5
2011-09-06 14:14:29 -07:00