58448 Commits

Author SHA1 Message Date
Mathias Agopian
8632561e14 Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom 2011-09-26 16:19:26 -07:00
Mathias Agopian
a2a3f1e7e6 Merge "don't clear the framebuffer when the framebuffer is not used" into ics-factoryrom 2011-09-26 16:19:04 -07:00
Mathias Agopian
a7969d91ad Merge "Do not blend opaque windows." into ics-factoryrom 2011-09-26 16:18:59 -07:00
Mathias Agopian
81f69ba56a don't clear the framebuffer when the framebuffer is not used
when areas of the FB are undefined (transparent windows on top of
nothing), we clear those areas before composition.
however, it makes no sense to do this when the FB is not in use
(case where hwc handles all layers)

Bug: 5360529
Change-Id: I761a7d3664228ebbee0944aca8b0cc278fc94c9c
2011-09-26 16:14:05 -07:00
Romain Guy
7036fdd099 Do not blend opaque windows.
This change ensures the wallpaper is rendered into an opaque surface
which avoids a glClear() in SurfaceFlinger. This should save quite
a bit of work on every frame when panning the workspace in launcher.

Change-Id: Id43d3498a54c2d60ec4ee3377c92ef79bff55bc1
2011-09-26 16:12:04 -07:00
Mathias Agopian
781fea802b Region cannot handle malformed Rects. Abort the Region op in that case.
Bug: 5331198, 5334829
Change-Id: I05f2aaa95c55fe9e4a5d23180bb3032896c88151
2011-09-26 16:08:52 -07:00
Mathias Agopian
04ba6d0ebd Make sure Region handles invalid rectangles
the boolean operation code assumes rects are valid and
could go into an infinite loop if not. make sure we
abort before that happens.

Bug: 5331198, 5334829
Change-Id: I8aa42b2e0b37238ec2434b794dd84c1a1b70f163
2011-09-26 16:08:42 -07:00
Gilles Debunne
14ed50a9a3 Bug 5332065: IOOB in case the suggestionSpan has been removed
I don't understand how the SuggSpan that has been tapped to display
the popup can have disappeared when an item is clicked.

This problem seems specific to monkey test with a race condition somewhere.

Change-Id: I447b6563a1b959dc3c1ead31cde2d9bcad369765
2011-09-26 15:59:24 -07:00
Jamie Gennis
892ac4155a Merge "(DO NOT MERGE) SurfaceFlinger: fix isOpaque check in lockPageFlip" into ics-factoryrom 2011-09-26 15:44:41 -07:00
Jim Miller
3f5f83b54f Fix 5326463: rework sim state handling in lockscreen
Previously it was possible to get an inconsistent state because there
were two paths that updated the lock screen sim state.  This reworks
the data flow to ensure the same path is always used to update the state.

KeyguardUpdateMonitor now correctly updates the entire state of the callee
whenever a new callback is registered.

In addition, KeyguardUpdateMonitor now caches the phone state in order
to avoid a round-trip binder call in updateEmergencyCallButtonState().
This avoids a condition that could make lockscreen unresponsive while
updating the emergency call button state.

KeyguardStatusViewManager also ensures the TransportControlView is
hidden when created to ensure we don't inappropriately update the carrier
line while waiting for the first callbacks to update the status lines.

Change-Id: I6b3975b703a7d90bac8d0fe29fbc0f1d9c5e0e7d
2011-09-26 15:17:05 -07:00
Jamie Gennis
3780d38010 Merge "SurfaceFlinger: fix the transform hint" into ics-factoryrom 2011-09-26 15:09:15 -07:00
Eric Fischer
622abb73a9 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-26 14:55:58 -07:00
Eric Fischer
334c39be25 Import revised translations. DO NOT MERGE
Change-Id: I3b5544d4e5739d08d1c3c6cc59dafe89de3b92c0
2011-09-26 14:49:06 -07:00
Christopher Tate
5f2f41350e Don't hang in restore if the transport reports failure
Casualty of the recent refactoring: in this particular error case,
the restore sequence wasn't being directed into the finalization
state.  Fixes bug 5336295.

Change-Id: Ibf5570cd1003e123da8b561685de8479663340ce
2011-09-26 13:10:38 -07:00
Daniel Sandler
61b645ab86 Merge "Update all RSSIs whenever the connectivity changes." into ics-factoryrom 2011-09-26 12:37:29 -07:00
Ben Komalo
69a6d537e6 Merge "Enter minimal boot mode when booting encrypted" into ics-factoryrom 2011-09-26 12:01:01 -07:00
Wink Saville
2783e1ce7a Merge "Remove unused persist.radio.imsregrequired." into ics-factoryrom 2011-09-26 10:25:21 -07:00
Justin Ho
48704d4962 Updated key and effect sounds
Change-Id: Ia7c771ed59bf1803ed7ff25d338a412906cf59c0
2011-09-26 09:47:18 -07:00
Wink Saville
9e2cc044fd Remove unused persist.radio.imsregrequired.
Change-Id: I49a2360260917f3e1034c1106ff139375fa1c9ed
2011-09-26 09:36:28 -07:00
Daniel Sandler
7c12eee643 Update all RSSIs whenever the connectivity changes.
The connectivity includes the network condition, which is a
magic number that indicates how useful the connection is
(driven by ability to connect to GTalk, and manifested with
a differently-colored signal icon).

Previously we were only updating the icons of the network
type currently in use. Now we tickle all the icons any time
the connectivity changes, to avoid the two icons getting out
of sync (example: on mobile, connection is bad, connect to
wifi, conncetion is good; wifi icon appears and turns blue
but mobile RSSI remains gray).

Bug: 5369405
Change-Id: I78b62084b819c83f83aacc146feeb323c1199dc0
2011-09-25 15:53:33 -04:00
Daniel Sandler
f733c2aaa6 Make the status and navigation bars OPAQUE.
Bug: 5369240
Change-Id: I1c01baa732f441bf7d2c469eb7d3d82d26da07b1
2011-09-25 15:03:40 -04:00
Jamie Gennis
fd2429d440 SurfaceFlinger: fix the transform hint
This change fixes the transform hint to use only the global display
transform rather than incorporating the transient layer-specific
transform used during animations.

Bug: 5366891
Change-Id: I5408dcd3f4771d010953e8a696a484c835bfe81e
2011-09-24 11:27:20 -07:00
Russell Brenner
a6ccaa736d Merge "Replaced Lohit_Hindi with Lohit-Devanagari" into ics-factoryrom 2011-09-23 17:38:10 -07:00
Eric Fischer
b8c7826264 Merge "Mark MCC locale replacement strings not translatable." into ics-factoryrom 2011-09-23 15:45:27 -07:00
Eric Fischer
90bf476588 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-23 15:37:46 -07:00
Eric Fischer
9bb4a78190 Mark MCC locale replacement strings not translatable.
Change-Id: Icc7a7a3b8c6c7c606fbb5c00dcf9292d9dc3de1c
2011-09-23 15:35:11 -07:00
Eric Fischer
a94fd2f05e Import revised translations. DO NOT MERGE
Change-Id: I1c2a959cd127faec64c01523fdec3baf43e8d7ab
2011-09-23 15:21:30 -07:00
Irfan Sheriff
c21994bc26 Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryrom 2011-09-23 15:18:37 -07:00
Russell Brenner
9d8c7e8242 Replaced Lohit_Hindi with Lohit-Devanagari
Lohit-Devanagari is now provided by external/lohit-fonts, replacing
Lohit_Hindi from here. Removed font from fonts.mk and renamed in
fallback_fonts.xml.

Bug: 5364436
Change-Id: I0b8f65dbfdbec1802fba526209d7f88d2cf64fc4
2011-09-23 15:09:52 -07:00
Ben Komalo
3573d400a5 Enter minimal boot mode when booting encrypted
Bug: 5233488
Change-Id: Iba7a41c69af2387594d2be562d587918cd17a348
2011-09-23 15:08:24 -07:00
Irfan Sheriff
32f04e9009 Fix watchdog to stop ping after wifi disconnects
- The pings are delayed async messages that were getting handled
after a disconnect as well

- Increase poll time to 200 ms, so we block on a receive for 1ms every 200ms for a
sent packet

Bug: 5361564
Change-Id: I1931a1c4146e78a87407d541d8c3934ff8232604
2011-09-23 14:48:26 -07:00
Christopher Tate
b20d378cec Merge "Don't crash during full backup when CheckJNI is enabled" into ics-factoryrom 2011-09-23 13:19:33 -07:00
Christopher Tate
ca1605e6e3 Don't crash during full backup when CheckJNI is enabled
It's not okay to pass null to JNI methods and trust that it will just
back off and return a null result cleanly.  Fixes bug 5361822 .

Change-Id: Id8a17b958fd183d55cb6475f394e158c13aae2ea
2011-09-23 13:12:49 -07:00
Wei Huang
3d9a9e55df Merge "Update camera javadoc about AE and AWB lock." into ics-factoryrom 2011-09-23 10:04:02 -07:00
Eric Fischer
c4517842ee Merge "Delete translations of files that no longer exist." into ics-factoryrom 2011-09-23 09:43:55 -07:00
Pannag Sanketi
1d71c7b40a Merge "Returning EOS in SurfaceMediaSource:read" into ics-factoryrom 2011-09-23 09:06:55 -07:00
Wei Huang
5d87227bad Merge "Clear callbacks in camera stopPreview." into ics-factoryrom 2011-09-23 08:30:32 -07:00
Justin Ho
a780fb8e22 Merge "Updating ellipsis in Roboto Bug: 5344295" into ics-factoryrom 2011-09-23 07:28:31 -07:00
Justin Ho
16faafb493 Updating ellipsis in Roboto
Bug: 5344295

Change-Id: Ia885ff39da0609f51863665125bae3a1024e161c
2011-09-23 07:27:35 -07:00
Chih-yu Huang
664d72e663 Clear callbacks in camera stopPreview.
Clear those callbacks to remove the references
so the memory can be recycled.

bug:5358774
Change-Id: I3b6034a1891126b3437a6744013f38a64f5bb03b
2011-09-23 20:28:28 +08:00
Peter Ng
dd33bf0ebb Merge "Fix 5355659: Minor tweak to wave ping radius in MultiWaveView." into ics-factoryrom 2011-09-22 17:28:29 -07:00
Jim Miller
fb708a1a6c Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.
Change-Id: Ib85c9d375e26897ce87b41addfaba503d9430f18
2011-09-22 17:21:56 -07:00
Eric Fischer
6b1a9af51e Delete translations of files that no longer exist.
Change-Id: I26edc4a3dd2ac19c410af75c4fce1b67100a71d2
2011-09-22 17:17:55 -07:00
Pannag Sanketi
a1849fceaf Returning EOS in SurfaceMediaSource:read
In SurfaceMediaSource::read, if disconnect has already been called, then
ERROR_END_OF_STREAM should be returned rather that NO_INIT. Else, it
sometimes leads to a crash in mediarecorder stop() call.

Related to FactoryROM bug: 5332812

Change-Id: I22132538ab2501d084e0283876817b1ec3f64a1d
2011-09-22 17:03:48 -07:00
Robert Greenwalt
b849074cb5 Merge "Tell the resolver what protocols to use." into ics-factoryrom 2011-09-22 16:57:43 -07:00
Justin Ho
4dfe869520 Merge "CAB assets" into ics-factoryrom 2011-09-22 16:57:03 -07:00
Justin Ho
777163e046 Merge "Updated emergency icon on lockscreen" into ics-factoryrom 2011-09-22 16:54:17 -07:00
Justin Ho
03c3a35394 Updated emergency icon on lockscreen
Change-Id: Idd4dc679c45aedce627a5be0991879d83758650e
2011-09-22 16:52:56 -07:00
Robert Greenwalt
d90c611a59 Tell the resolver what protocols to use.
Stop guessing based on the connectivity of the default route and use the correct
v4/v6 proto for your pid.

bug:5284168
Change-Id: Ife82a8d8e54c0ace2bc9e8a624b11d29a4e285e2
2011-09-22 16:43:15 -07:00
Justin Ho
ec29658513 CAB assets
Change-Id: I40e979a57173220586aafa6cb76d7431c8bbd91f
2011-09-22 16:09:08 -07:00