74511 Commits

Author SHA1 Message Date
Jeff Brown
deb6ed8c2e Don't reuse StringBuilder outside of lock when dumping ANR.
The ANR dumping code was reusing the shared StringBuilder while
not holding the ActivityManagerService lock.  As a result, other
threads could sweep in and clobber the ANR information.
We don't want to hold the lock here, so just create a new StringBuilder.

Change-Id: I0d91af55f5c123102cfab2cd97035491efed59c0
2012-04-10 14:26:26 -07:00
Robert Ly
9585dcc48a am 2e9dac4b: Merge "docs: fixing ndk bug 5991108" into ics-mr1
* commit '2e9dac4b0584bce238fed60ba2801af3e7a2c003':
  docs: fixing ndk bug 5991108
2012-04-10 14:26:26 -07:00
Robert Ly
2ce5444d63 am 2e9dac4b: Merge "docs: fixing ndk bug 5991108" into ics-mr1
* commit '2e9dac4b0584bce238fed60ba2801af3e7a2c003':
  docs: fixing ndk bug 5991108
2012-04-10 14:26:25 -07:00
Robert Ly
c4bbc7b4e4 am 876b7b87: Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1
* commit '876b7b876e6ebb08979cf1a4861910215c4aae2b':
  docs: fixing renderscript doc bug 6111834
2012-04-10 14:26:23 -07:00
Robert Ly
86b6e26c78 am 876b7b87: Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1
* commit '876b7b876e6ebb08979cf1a4861910215c4aae2b':
  docs: fixing renderscript doc bug 6111834
2012-04-10 14:26:19 -07:00
Robert Ly
11d33b3da5 am 23f08c6d: Merge "docs: fixing broken link for bug 6104366" into ics-mr1
* commit '23f08c6d64976989f6519b4c65f2006865e8fd76':
  docs: fixing broken link for bug 6104366
2012-04-10 14:26:10 -07:00
Robert Ly
b3f7fc2f77 am 2e9dac4b: Merge "docs: fixing ndk bug 5991108" into ics-mr1
* commit '2e9dac4b0584bce238fed60ba2801af3e7a2c003':
  docs: fixing ndk bug 5991108
2012-04-10 14:26:08 -07:00
Robert Ly
9fd8aaca47 am 876b7b87: Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1
* commit '876b7b876e6ebb08979cf1a4861910215c4aae2b':
  docs: fixing renderscript doc bug 6111834
2012-04-10 14:26:07 -07:00
Craig Mautner
1f4e0ccba0 Fix NPE in setTransparentRegion.
Check for null Surface before using it.

Fixes bug 6312835.

Change-Id: Iaaac2a5d88e81b88e369815e09818c268085e4b7
2012-04-10 14:24:38 -07:00
Robert Ly
23f08c6d64 Merge "docs: fixing broken link for bug 6104366" into ics-mr1 2012-04-10 14:24:00 -07:00
Robert Ly
2e9dac4b05 Merge "docs: fixing ndk bug 5991108" into ics-mr1 2012-04-10 14:23:50 -07:00
Robert Ly
876b7b876e Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1 2012-04-10 14:23:37 -07:00
Craig Mautner
592647ee2e Merge "Fix IndexOutOfBoundsException." 2012-04-10 14:23:10 -07:00
George Mount
1bee28f4c8 Merge "Revert "Revert "Keep selection handles in edit fields.""" 2012-04-10 14:23:07 -07:00
Eric Fischer
cd1c059bbc Merge "Import translations. DO NOT MERGE" 2012-04-10 14:22:52 -07:00
Jack Palevich
2b39c3126b Merge "Notify monitor waiters when changing mSurfaceIsBad value." 2012-04-10 14:20:28 -07:00
Jeff Sharkey
cc0ec91307 Merge "Move to Android-specific NTP pool." 2012-04-10 14:01:53 -07:00
Jeff Sharkey
40caf8f443 Move to Android-specific NTP pool.
Use "2.android.pool.ntp.org" since it returns both IPv4 and IPv6
addresses.  Verified that NTP client works correctly on both.

Change-Id: I0187ef4a6d3b353cfcc77957b1303ca01c67cbe9
2012-04-10 13:48:10 -07:00
George Mount
7102eb2d30 Revert "Revert "Keep selection handles in edit fields.""
This reverts commit 90c08eafad72454a31282fd887ec23d357c904a4
2012-04-10 13:41:51 -07:00
Gilles Debunne
ce5f917b54 Merge "Removed exception from SpannableStringBuilder" 2012-04-10 13:36:40 -07:00
Eric Laurent
a219c5eec8 Merge "audio preprocessing: added static factory method" 2012-04-10 13:32:22 -07:00
Gilles Debunne
34ec2b54da Removed exception from SpannableStringBuilder
Bug 6312196

Change-Id: I9cece36b40d8948e0e85bd433954818991009ad5
2012-04-10 13:31:11 -07:00
Robert Ly
621ff7d1a5 docs: fixing ndk bug 5991108
Change-Id: I70b5505fc424b278ea8977955857c92082a1f828
2012-04-10 13:30:45 -07:00
Eric Fischer
7866e84fbc Import translations. DO NOT MERGE
Change-Id: I988480b6b1ff1b745b4126ef89ee57b97513d6e2
2012-04-10 13:29:58 -07:00
Robert Ly
41a8c7e68a docs: fixing broken link for bug 6104366
Change-Id: Ic8f7a9c5540cc0dd2251b7373e80b1f9ab6d8aa9
2012-04-10 13:20:44 -07:00
Craig Mautner
93a035cce1 Fix IndexOutOfBoundsException.
This fix resolves an exception thrown when the snapshot ArrayList has
no entries.

Fixes bug 6311207.

Change-Id: I84383417116a4a62eb2842792ed04096aebc8ee2
2012-04-10 13:19:35 -07:00
George Mount
f5711ab0fe Merge "Revert "Keep selection handles in edit fields."" 2012-04-10 13:16:03 -07:00
George Mount
90c08eafad Revert "Keep selection handles in edit fields."
This reverts commit 5d84368a7577c5d53ce885cd2d095cc5ba40d924
2012-04-10 13:14:48 -07:00
Craig Mautner
8330e40b98 Merge "Reduce load on CPU when animating rotation." 2012-04-10 13:01:12 -07:00
Craig Mautner
73850cb699 Reduce load on CPU when animating rotation.
This change keeps requestTraversalLocked from being called on virtually
every call to animate while rotating.

Change-Id: I6d2db37db3bb82f4f9ecc84b17dbf121819a6c1b
2012-04-10 12:56:27 -07:00
Eric Laurent
855255d89f audio preprocessing: added static factory method
Added static methods to check availability and create audio preprocessing
effects.

Change-Id: I945e97fe41912ff8880befacaba162a08b5a1267
2012-04-10 12:34:07 -07:00
George Mount
ad0ef21011 Merge "Keep selection handles in edit fields." 2012-04-10 12:33:58 -07:00
Daniel Sandler
0af489568d Fix PowerMgr NPE on emulator.
Bug: 6313695
Change-Id: Ib12b9102df01603df135cef03fd2a2f6e3634dd1
2012-04-10 15:15:32 -04:00
Robert Ly
af16675097 docs: fixing renderscript doc bug 6111834
Change-Id: Iea6fdaf03a0064462d57e4b62500ad689ba2b824
2012-04-10 11:56:33 -07:00
Gilles Debunne
d3ce6f50c1 Merge "Faster and simpler replace in SSB, take two" 2012-04-10 11:00:57 -07:00
Dianne Hackborn
79af6063d5 Merge "Hide the optional permission stuff, not making it in to JB." 2012-04-10 10:31:28 -07:00
Teng-Hui Zhu
450c75a59b am 6e32ebdf: (-s ours) am bbc46ae7: am 544f89ae: Update SurfaceTexture interface for forward compatibility
* commit '6e32ebdff1365d754ad3ad8e156aa941d162d129':
  Update SurfaceTexture interface for forward compatibility
2012-04-10 09:13:54 -07:00
Teng-Hui Zhu
6e32ebdff1 am bbc46ae7: am 544f89ae: Update SurfaceTexture interface for forward compatibility
* commit 'bbc46ae7499bc0fa67612c67dd23c1758336c935':
  Update SurfaceTexture interface for forward compatibility
2012-04-10 08:42:23 -07:00
Teng-Hui Zhu
bbc46ae749 am 544f89ae: Update SurfaceTexture interface for forward compatibility
* commit '544f89aece46e8f4bbe4eed93116c8736e68ac07':
  Update SurfaceTexture interface for forward compatibility
2012-04-10 08:38:39 -07:00
Teng-Hui Zhu
544f89aece Update SurfaceTexture interface for forward compatibility
Change-Id: I32d224428c0127800714a976b4d7bb68cc7c2464
2012-04-10 07:35:54 -07:00
Brian Colonna
0b2b1feaa2 Merge "Passing useLiveliness flag to FUL in startUi call" 2012-04-10 06:25:26 -07:00
Jack Palevich
7dee7a38ba Notify monitor waiters when changing mSurfaceIsBad value.
Otherwise the waiters might not wake up, leading to ANRs.

Bug: 6307843
Change-Id: I0646b4e8368f80dbff46342f75709992796973fd
2012-04-10 06:05:42 -07:00
Daniel Sandler
c38cf4c7db Merge "New Android Dreams architecture, disabled for now." 2012-04-10 05:33:07 -07:00
Scott Main
06cce88529 am 37250468: am be36ea9e: am a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '372504684fa0f74c290e0eaf7134979a55118fea':
2012-04-09 23:59:12 -07:00
Scott Main
372504684f am be36ea9e: am a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit 'be36ea9e04df8f3b97dec7793e37fa1d1465922b':
2012-04-09 23:55:47 -07:00
Jesse Hall
9d873d439f Merge "Avoid waking EGL in getInitCount" 2012-04-09 22:43:34 -07:00
Jesse Hall
3da2dc9d4c Merge "Release the scratch pbuffer surface after use" 2012-04-09 22:41:04 -07:00
Justin Mattson
4233f26249 Check if WallpaperService is enabled
If WallpaperService is disabled, don't delay starting SurfaceFlinger
until it is.

Change-Id: I95db6b7bc791329e2bae33472cfeb125e5f6f324
2012-04-09 18:36:15 -07:00
John Grossman
e843f378c9 TimedAudio: Track of the number of pending frames.
Keep track of the number of frames pending in the timed audio queue so
we can implement framesReady in O(1) time instead of O(N).  This
change partially addresses bug 6020970; the bug will be completely
addressed once this change has been up-integrated into master.

Change-Id: I599eb15ea1f6d715b97b30e65214fb6fadd169df
Signed-off-by: John Grossman <johngro@google.com>
2012-04-09 18:04:49 -07:00
Dianne Hackborn
02da1f27ed Merge "Fix issue #6309296: Framework returns Configuration.SCREENLAYOUT_SIZE_LARGE for Xoom" 2012-04-09 17:45:06 -07:00