57089 Commits

Author SHA1 Message Date
Alex Sakhartchouk
a8bb921c8b Fixing the lockless fifo destory bug.
Removing unused code from element. build.

Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
2011-08-19 09:43:18 -07:00
Daniel Sandler
0199679dab Merge "Low profile mode ("lights out") for phone status bar." 2011-08-19 09:37:30 -07:00
Max Braun
3d41ecd9bd Fix occasional fusion divergence by detecting it and resetting the fusion.
Change-Id: I51186e12fb9b2316e3671e3908174f4495df89a0
2011-08-19 09:16:23 -07:00
Justin Ho
fb75e3b352 Merge "Unused assets removed from SystemUI" 2011-08-19 09:03:02 -07:00
Daniel Sandler
e137a1ea99 Low profile mode ("lights out") for phone status bar.
Also changes NAVIGATION_HIDDEN to remove the hide animation,
hopefully reducing the number of jarring transitions when
apps want to enable super-ultra-full-screen mode.

Bug: 5052456
Bug: 5146960
Change-Id: I5f5ebb23add81243dc8861b65d8f15ca4d9ce0d2
2011-08-19 11:46:11 -04:00
Daniel Sandler
03eb1dca8c New icon
Bug: 4111902
Change-Id: I7a13cde205196e15fa1a0947a8d20793a358d4fc
2011-08-19 10:18:10 -04:00
Mathias Agopian
e644b64783 Fix a crasher in SystemUI
Change-Id: Id0e91d949518aa1c5af57ae3b9b4e72347a5bd47
2011-08-18 21:07:00 -07:00
Mathias Agopian
eb031bb9dd Merge "give the proper orientation to the h/w composer HAL" 2011-08-18 21:05:51 -07:00
Adam Powell
54f655389a Merge "Fix bug 5186341 - Double Action bar when displayOptions is 0" 2011-08-18 20:36:17 -07:00
Adam Powell
82f24e82e1 Fix bug 5186341 - Double Action bar when displayOptions is 0
What does it mean??

Change-Id: I7978b8fb6877da6178f8db89ec085f1402acf743
2011-08-18 20:16:51 -07:00
Arve Hjønnevåg
c25a4c44f8 Merge "Add /proc/pagetypeinfo to dumpstate" 2011-08-18 20:11:47 -07:00
Mathias Agopian
28a5cc2b1d Merge "implement EGL_TEXTURE_EXTERNAL_OES in libagl" 2011-08-18 18:53:21 -07:00
Adam Powell
0f4739f7d0 Merge "Fix bug 5186258 - Incorrect window width is used for custom panel views in the MATCH_PARENT case" 2011-08-18 18:52:29 -07:00
Chih-Chung Chang
7f639d3315 Merge "Fix 5144356: Native crash while importing music" 2011-08-18 18:39:01 -07:00
Mathias Agopian
3f88327a54 give the proper orientation to the h/w composer HAL
we were using the "orientation" value instead of the
real transform, which may contain arbitrary rotations for
instance, and in some case ended up with a final "orientation"
that looked valid, but wasn't.

this fixes a problem on devices with a h/w composer hal where
the rotation animation looked weird.

Change-Id: I4be8a2a1bde49c33456fcf5c8d87ab515c216763
2011-08-18 18:33:44 -07:00
Adam Powell
3429ff53d0 Fix bug 5186258 - Incorrect window width is used for custom panel
views in the MATCH_PARENT case

Change-Id: I11c4a58303fa3c4a9f3540908c6409bacd84a35e
2011-08-18 18:32:48 -07:00
Adam Powell
2f5485587b Merge "Fix bug 5186160 - ActionBar.hide() doesn't hide the split ActionBar if called before onResume()" 2011-08-18 18:10:03 -07:00
Dianne Hackborn
937ffc174c Merge "Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked" 2011-08-18 18:05:19 -07:00
Jason Sams
777ec2662e Fix issue with freeing allocation with circular references.
Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
2011-08-18 18:01:33 -07:00
Fabrice Di Meglio
abb0f299fd Update TextLayout logging
- centralize logging into TextLayoutCache
- add offset logging

Change-Id: I52f229b2a8aed121715b37a5a42936875b23f3c9
2011-08-18 17:59:29 -07:00
Jim Miller
53bd70301d Merge "Fix 5149726: Add slight delay to initial lock screen 'ping' animation." 2011-08-18 17:46:57 -07:00
Jim Miller
cd2bad41af Fix 5149726: Add slight delay to initial lock screen 'ping' animation.
This adds a slight delay before the first ping animation runs.  The
idea is to ensure enough time for the display to come on and the user
to notice the animation.

Change-Id: I3d981f5d50efa14683bb08cf6a1430244ce67e55
2011-08-18 17:45:33 -07:00
Amith Yamasani
baf6dbfa93 Dismiss the volume overlay dialog when user touches above the dialog as well.
Bug: 5165168
Change-Id: Ib343c3b88371cb93f8241b1085d1a2f36a77b1ac
2011-08-18 17:40:29 -07:00
Christopher Tate
eeb2214213 Merge "Stop leaking DeathRecipient and BinderProxy instances" 2011-08-18 17:19:53 -07:00
Christopher Tate
86284c60b5 Stop leaking DeathRecipient and BinderProxy instances
The native-side death recipient object holds a global reference
to the DVM-side DeathRecipient instance.  This is necessary so
that the DeathRecipient isn't GC'd early in the case when the
caller of linkToDeath() doesn't retain their own reference to
the recipient instance.

However, that global reference was never being released in
association with the delivery of the actual binderDied() event.
In that case, if the death recipient did not explicitly call
unlinkToDeath() themselves, the hard global reference was
maintained and a hard-reference cycle was perpetuated, crossing
the native <-> DVM boundary.  This was visible as a gradual
leakage of DVM-side DeathRecipient and BinderProxy instances.

The one problematic constraint is that it needs to be valid to
call unlinkToDeath() cleanly *after* binderDied() is delivered
to the given recipient; that requires that we have the hard reference
linkage described above.  The fix is to replace the hard global
reference with a weak reference to the DVM-side DeathRecipient
after we deliver binderDied() to that recipient.  In the case
where the caller has retained their own reference to the instance
(i.e. they might still call unlinkToDeath() on it later), the
weak reference stays live and everything works cleanly (and is
reaped explicitly by unlinkToDeath() as usual).  In the case where
the caller has *not* retained the instance to call unlinkToDeath()
themselves, demoting to a weak DeathRecipient reference allows
the DeathRecipient to be GC'd, which in turn frees the DVM-side
BinderProxy it's tied to, and so on around the chain to free
all of the associated allocations.

Fixes bug 5174537

Change-Id: Ia4ad76e667140cc2a1b74508bbba652ab31ab876
2011-08-18 17:06:31 -07:00
Adam Powell
993a63abb9 Fix bug 5186160 - ActionBar.hide() doesn't hide the split ActionBar if
called before onResume()

Change-Id: I2c21f2bfb3314426d9dfd3b874f593f375c7838a
2011-08-18 16:35:53 -07:00
Mathias Agopian
f319e2f2eb implement EGL_TEXTURE_EXTERNAL_OES in libagl
this allows the emulator to display some graphics

Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
2011-08-18 16:26:21 -07:00
Adam Powell
931f0b8c07 Merge "Fix bug 5099037 - No delete option when multiple videos are selected" 2011-08-18 16:24:19 -07:00
Adam Powell
23f4cc0353 Fix bug 5099037 - No delete option when multiple videos are selected
Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
2011-08-18 16:19:31 -07:00
Dianne Hackborn
d99b293d5f Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked
Change-Id: I069673f2fbdf05e409c5e9ed99ccd1e15b4fe3ed
2011-08-18 16:02:41 -07:00
Nicolas Roard
fc8f2ca621 Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not." 2011-08-18 15:45:27 -07:00
Fabrice Di Meglio
b7f4d117d2 Merge "Update BiDiTest app" 2011-08-18 15:17:53 -07:00
Gloria Wang
0bf049c635 Merge "When switching surface, do not set mSeekNotificationSent as true, because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272." 2011-08-18 15:14:36 -07:00
Jeff Sharkey
9a20fa54c9 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00
Gloria Wang
3c578f2d6a When switching surface, do not set mSeekNotificationSent as true,
because there could be a previous uncompleted seeking which needs
to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent
as true here, then mediaplayer.cpp will be waiting for message
MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return
the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp.
Fix for bug 5181272.

Change-Id: I290aff29b6d9ec8db67c66abbe1f352a43f57073
2011-08-18 14:52:36 -07:00
Xavier Ducrohet
1797d6086f am d98e1be2: am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"
* commit 'd98e1be20e1cca5c36c7e0344500d4a5574568aa':
  Change generated dependency file names
2011-08-18 14:51:43 -07:00
Adam Powell
6ccadb04a4 Merge "Fix bug 5185010 - android:backgroundSplit doesn't accept a color value" 2011-08-18 14:49:27 -07:00
Xavier Ducrohet
d98e1be20e am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"
* commit 'f4750724cf8db972a052cb388dc9a39fc7aa6dd6':
  Change generated dependency file names
2011-08-18 14:48:49 -07:00
Xavier Ducrohet
f4750724cf am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"
* commit '9d829f98dc19edecb2305b61b9c79517c4f95383':
  Change generated dependency file names
2011-08-18 14:45:36 -07:00
Xavier Ducrohet
9d829f98dc am 21e6e2de: Merge "Change generated dependency file names"
* commit '21e6e2de1f0062f949fcc52d0b4559dfa3246e0e':
  Change generated dependency file names
2011-08-18 14:41:56 -07:00
Adam Powell
73f2677dc0 Fix bug 5185010 - android:backgroundSplit doesn't accept a color value
Let both backgroundSplit and backgroundStacked take raw color values.

Change-Id: I05035d6b29bf2973b23da2faf2943d56cba7755f
2011-08-18 14:32:11 -07:00
Jamie Gennis
c8f4c6a5d0 Merge "SurfaceTexture: fix queues-to-composer" 2011-08-18 14:31:39 -07:00
Xavier Ducrohet
21e6e2de1f Merge "Change generated dependency file names" 2011-08-18 14:29:15 -07:00
Eino-Ville Talvala
16b67137b8 Make changing white-balance mode always disable AWB lock.
Fixes previously unspecified behavior wrt changing white-balance mode
while AWB is locked.

Change-Id: Ib70597319010cc7e6c88b26cae534ceea4fb46ce
2011-08-18 13:57:49 -07:00
repo sync
a8993e10f9 Merge "Use supplicant control channel interface for p2p" 2011-08-18 13:43:52 -07:00
Adam Powell
843c3545d5 Merge "Fix bug 5183775 - Action bar custom layouts with default gravity misbehave" 2011-08-18 13:21:56 -07:00
Fabrice Di Meglio
af3e6d64d1 Update BiDiTest app
- add a default TextView

Change-Id: I0ce92503204e370d9c928440cdd4876701c6c4cb
2011-08-18 13:12:43 -07:00
Daniel Sandler
35e8eda7e1 Merge "Don't resize & dim system status icons, only notifications." 2011-08-18 12:52:57 -07:00
Daniel Sandler
64b12615bc Merge "Remove 'no notifications' label for now." 2011-08-18 12:52:12 -07:00
Daniel Sandler
7579bca7a0 Don't resize & dim system status icons, only notifications.
Also lots more debugging info.

Bug: 5164743
Change-Id: I10db182b27def835888af15d1237329048ca52c4
2011-08-18 15:47:26 -04:00