58089 Commits

Author SHA1 Message Date
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
Chia-chi Yeh
35d05dcba1 RTP: support payloads with larger packetization interval.
RFC 3551 section 4.2 said that a receiver should accept packets
representing between 0 and 200ms of audio data. Now we add the
ability to decode multiple frames in a payload as long as the
jitter buffer is not full. This change covers G711, GSM, and
GSM-EFR. AMR will be added later.

Bug: 3029736
Change-Id: Ifd194596766d14f02177925c58432cd620e44dd7
2011-09-06 14:34:44 -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
Svetoslav Ganov
2f8dbf5722 Merge "Increasing the tap radius for the handle in MultiWaveView to improve accessibility" 2011-09-06 14:08:48 -07:00
Chia-chi Yeh
1694dd095b Merge "SIP: avoid extreme small values in Min-Expires headers." 2011-09-06 13:56:54 -07:00
Joe Fernandez
8ef6970cf5 docs: adding warning to managedQuery() JavaDoc about cursor.close()
Change-Id: I31ba29f1781f7d83342582e25cf6aad0c72aa103
2011-09-06 13:51:02 -07:00
Eric Fischer
9f3000e96e Fix Bulgarian date format string order and punctuation.
Change-Id: I01c038f06f621c73a5d00c2cd842afd424e74da0
2011-09-06 13:45:46 -07:00
Peter Ng
f6bb1622ba Blue notify quicksettings icon implemented
-Increased quicksettings and clearall inherent asset padding to 32 from 16dp
-new touchstates for quicksettings and clearall
-clear all remains on the right and quicksettings remains left aligned to the right of the date

Bug: 5076789

Change-Id: I45d7da2d79b94822c04aa162ebef99ac79ce0368
2011-09-06 13:25:55 -07:00
Dianne Hackborn
1ed7a407fa Merge "Some more preloaded drawables." 2011-09-06 13:22:06 -07:00
Jaikumar Ganesh
81e23acb0b Add Bluetooth intents to protected broadcasts.
Change-Id: I3734a4ff7d964c64ce39ec3f897d3799aa9653f7
2011-09-06 13:07:17 -07:00
Dave Burke
f12abaf405 Merge "Handle setDataSource failures properly. #5261671" 2011-09-06 13:06:20 -07:00
Chia-chi Yeh
54eabd6c92 SIP: avoid extreme small values in Min-Expires headers.
If the expiry time cannot be found in Contact header or Expires
header, use the default value of 3600 seconds, which is specified
in RFC 3261.

Change-Id: I2607a398b96743614b01713cfd9b28f40386fac1
2011-09-06 13:06:08 -07:00
Svetoslav Ganov
6436876156 Merge "AbsListView does not populate accessibility events correctly." 2011-09-06 12:52:06 -07:00
Ben Komalo
444eca2329 Expose getting encryptstate through IMountService
- this really just calls cryptfs cryptocomplete
- needed so that UI logic can present a factory reset option if
encryption screwed up

Bug: 3384231
Change-Id: I553de87f0d03a65851030c9c5266e85866d30fa6
2011-09-06 12:48:53 -07:00