85176 Commits

Author SHA1 Message Date
Romain Guy
8a1374946a Deleting objects on the wrong thread is a silly idea
Bug #7195815

Turns out that multi-threading is hard.

Change-Id: Ib0b4bd6dc3caea27f7ced22cbb363bb955fe58ab
2012-09-25 15:49:03 -07:00
Svetoslav Ganov
1908cf9ec4 Merge "Fixing argument expectations of View.requestRectangleOnScreen" into jb-mr1-dev 2012-09-25 15:45:35 -07:00
Amith Yamasani
98edc95171 Load resources for the correct user
For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon

Bug: 7214384

Also fix binding to remote views

Bug: 7192802

Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
2012-09-25 15:45:27 -07:00
Alon Albert
fd901f735c Add a static generator that takes a Socket Write Timeout Argumanet
Use it from AndroidHttpClient

Bug: 6693087
Change-Id: I08648e441a6431d0944caaec0db516a26671f2a5
2012-09-25 15:33:28 -07:00
Jeff Brown
bf6f6f9de7 Update references to migrated global settings.
Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
2012-09-25 15:27:51 -07:00
Jeff Brown
d49359631b Handle user switched for settings changes.
Move OVERLAY_DISPLAY_DEVICES to Global.

Bug: 7127417
Change-Id: I632648ac5b01408512f59424f3bb55162431bea4
2012-09-25 15:26:51 -07:00
Svetoslav Ganov
989ae759f8 Fixing argument expectations of View.requestRectangleOnScreen
1. In a previous patch the implementation of the method was fixed
   in terms of end result but this broke some assumptions about the
   method arguments. This change updates the argument expectations.

bug:7172035

Change-Id: I76d738b1c74dfb1dd45fc667f3217911f1c10a5f
2012-09-25 15:16:54 -07:00
Jeff Brown
28e0b09a3d Fix typo.
Bug: 7183618
Change-Id: I0c761fc7f55b3f182007cb4d50cbfdce309f844a
2012-09-25 15:15:17 -07:00
Dianne Hackborn
e181bd9b5e Fix AbsListView to correctly retain its state if not layed out.
This covers a hole where if the list view restores its state and
then is asked to save its state before its layout happens, the
original state is lost.  Instead we just store that original state.

Also tweak FragmentManager to make sure an inactive fragment can
not have its state moved up out of CREATED.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: I5b40f37c259c7bcbe17dd1330016f9531f1b5534
2012-09-25 15:04:06 -07:00
Jason Sams
761d3d0df7 Reduce test warmup time to avoid driving into thermal throttle.
bug 7216044

Change-Id: I72c83e31dc39a0a810d8a453903213bd428dbe29
2012-09-25 15:00:04 -07:00
Baligh Uddin
b1c4ab5c2a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-25 14:53:43 -07:00
Svetoslav Ganov
1c9766e32a Merge "The active window for accessibilitiy incorrectly tracked." into jb-mr1-dev 2012-09-25 14:46:58 -07:00
Irfan Sheriff
c41096e1b4 P2p fixes
- Add wfdInfo details in group to allow display stack to filter
- Handle provision discovery failure and reset
- Do a discovery after group removal
- Handle failure to reinvoke and fall back to negotiation
- Avoid multiple REMOVE_GROUP calls that lead to removal
 of persisted network

Bug: 7210856
Change-Id: Ia2e613e9b1191b919a185f0411439341e2e151bc
2012-09-25 14:44:00 -07:00
Fabrice Di Meglio
7fb98b3449 Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode
Change-Id: I0a9cfbc6aa6919da3198a20aae6159bd867afe87
2012-09-25 14:42:43 -07:00
Baligh Uddin
1a2297a89d Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-25 14:40:57 -07:00
Baligh Uddin
3df0e3467f Import translations. DO NOT MERGE
Change-Id: I11ec4fc53b9af6b332260ffe8ee1e2503699be04
Auto-generated-cl: translation import
2012-09-25 14:06:12 -07:00
Svetoslav Ganov
a8afa694d6 Regression in screen introspection APIs due to the multi-user change.
1. The initial user was set to USER_NULL but some clients were registering
   before the user change callback happens. Since the initial user is
   the owner the current user id defaults to USER_OWNER.

2. The check for global clients and window connections was using the
   calling UID but there are processes that run in a per user basis
   as system UID (Setting for example). Now the check is stronger
   and comparing the caller PID with that of the system process.

3. The code for finding the focused window id was not checking the
   global window token list in addition to that of the current user.

4. The code updating the active window id was calling out into the
   window manager with a lock held.

bug:7224670

Change-Id: I9f4b7ea67eb5598b30ee7d1b68a1d3ce0cf8cfb4
2012-09-25 13:59:37 -07:00
Michael Jurka
08e8d8462d Fix 7216870: recents relaunches dismissed activity 2012-09-25 13:52:35 -07:00
Baligh Uddin
62b482a40b Import translations. DO NOT MERGE
Change-Id: Ia1678a1bc272328e2cd35b5b5cccd79a0e65bbba
Auto-generated-cl: translation import
2012-09-25 13:42:05 -07:00
Philip Milne
1ab8a08a9b Merge "Fix for bug: #7172778. Javadoc errors in LocationManager." into jb-mr1-dev 2012-09-25 13:23:31 -07:00
Romain Guy
ade54e5b36 Merge "Fix recents animation in landscape on tablet" into jb-mr1-dev 2012-09-25 13:21:11 -07:00
Romain Guy
a752e7c809 Fix recents animation in landscape on tablet
Change-Id: I8b550c38fb5392d7d0b7f72ba565256ad2751cc3
2012-09-25 13:20:05 -07:00
Philip Milne
73577888ec Fix for bug: #7172778. Javadoc errors in LocationManager.
Change-Id: Iaebd4cf00c8a33bcf4fc74eaa1dfec9675032826
2012-09-25 12:58:26 -07:00
Fabrice Di Meglio
1f88ba8bf6 Fix bug #6427629 Clean up layout direction APIs
- getLayoutDirection() / getTextDirection() / getTextAligment() dont do resolution
- resolution done into onMeasure()
- use XX_RESOLVED bits to check if resolution needs to be done
- code formatting

Change-Id: Ie46a5535860e90f3449b96cfe0aa04dd7e3006d7
2012-09-25 12:50:17 -07:00
Romain Guy
64339168c4 Merge "Don't destroy the same texture twice Bug #7221449" into jb-mr1-dev 2012-09-25 12:22:55 -07:00
Romain Guy
ef09a210dd Don't destroy the same texture twice
Bug #7221449

SurfaceTexture already deletes the GL texture when detachFromContext
is invoked. The newly introduced refcount would casue the Layer
object to be destroyed later and attempt to delete the GL texture
again. By the time the second cleanup occurs, the texture name
might have been reused by somebody else, resulting in erroneous
behaviors.

Change-Id: I257c589fea64b34c00f46fbfaa7732e6854a5e41
2012-09-25 12:22:21 -07:00
Winson Chung
89ba270c66 Merge "Fixing various QS issues. (Bug 7216908, Bug 7217154)" into jb-mr1-dev 2012-09-25 12:20:18 -07:00
Daniel Sandler
509e2ced81 Merge "Improvements to notification/settings panels:" into jb-mr1-dev 2012-09-25 11:52:43 -07:00
Irfan Sheriff
9b3a7f798e Merge "Update doc on getConfiguredNetworks" into jb-mr1-dev 2012-09-25 11:50:46 -07:00
Daniel Sandler
173bae2c67 Improvements to notification/settings panels:
A) Hide icons corresponding to the active panel with a
   downward push animation. Notes:
   1. this animation will now apply any time the status bar
	  icons are disabled via DISABLE_NOTIFICATION_ICONS.
   2. DISABLE_SYSTEM_INFO will now only hide the right hand
      icons (system status icons, battery, clock). But you
	  weren't using it anyway, right?

B) Stop pulling down the panels in response to just a touch
   on the status bar. (That should never have worked.) In
   general, we now require that a fling proceed more than
   10dp to be treated as a fling with velocity (as opposed
   to a v=0 fling, or "let-go").

C) If a panel is pulled down more than halfway and then let
   go with v=0, it is expanded. If less than halfway, it is
   contracted. (Helps fix B) above, plus it just makes good
   sense.)

Bug: 7211541 (A)
Bug: 7227237 (B)
Bug: 7228541 (B)
Change-Id: I5662269b753376804bf629239835dc212716d5c3
2012-09-25 14:38:43 -04:00
Ian Rogers
a8a7e7140d Merge "Extra GC heap configuration parameters." into jb-mr1-dev 2012-09-25 11:34:35 -07:00
Brian Carlstrom
5e21bf934b Unhide SSLCertificateSocketFactory.setSoWriteTimeout
Bug: 6693087
Change-Id: I585c2a61226da58077fd7cd7826695ce17380248
2012-09-25 10:38:52 -07:00
Amith Yamasani
b8c2ac3ecb Merge "Watch for voice recognition service changes for all users" into jb-mr1-dev 2012-09-25 10:36:00 -07:00
Amith Yamasani
f80a9b2f8a Watch for voice recognition service changes for all users
Monitor package changes and update the default recognizer

Bug: 7216043

Change-Id: I6b358b62401eaf58b38059caa57f72585f332eb5
2012-09-25 10:31:47 -07:00
Eric Laurent
4bbcc65497 Display a fixed volume silder when docked.
Align UI indication to volume policy when docked: the music volume
cannot be adjusted when docked or connected to HDMI. Display
a disabled slider at max volume in this case to be consistent.

Bug 4335692.

Change-Id: I6f8db143b0e2ecf54e4bdacd88afdeb661a98a18
2012-09-25 10:28:05 -07:00
Winson Chung
f4b5ab193c Fixing various QS issues. (Bug 7216908, Bug 7217154)
- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
2012-09-25 10:26:39 -07:00
Jean-Baptiste Queru
3b772c6b67 Merge into jb-mr1-dev
Change-Id: Idc74e8e0f3cea76b995f4262428006949708ce32
2012-09-25 09:46:54 -07:00
Jean-Baptiste Queru
5ef9cb68c3 Merge into jb-mr1-dev
Change-Id: I4696f4336d79ca199f2358bfb3ed5fc7e6c51732
2012-09-25 09:46:23 -07:00
Jean-Baptiste Queru
b8d4c9ff22 Merge into jb-mr1-dev
Change-Id: Iaee05ce2bc5103c46fe9a148ad166f694c246c2f
2012-09-25 09:45:48 -07:00
Jean-Baptiste Queru
7e886bc3f7 Merge into jb-mr1-dev
Change-Id: I2e1eee6976ef4682c9f8daffed699ee4c59060c3
2012-09-25 09:45:19 -07:00
Romain Guy
03de511af7 Fix graphics glitch and layouts in recents on 10" display
Change-Id: I7fa58a84d4e899ea995aa680ee550b5ddb30b6a6
2012-09-25 09:44:46 -07:00
Romain Guy
ed1b6f4fc0 Really Trigger the log when EGL_NO_CONTEXT is returned by eglCreateContext
Bug #7216919

Change-Id: Ie4a855ee51a0a4fad69bae8f377189d0c653f543
2012-09-25 09:44:35 -07:00
Jean-Baptiste Queru
a7546e3623 Merge into jb-mr1-dev - do not merge
Change-Id: I3582e3a68c6c38569884e9a903b5230bf890e7fa
2012-09-25 09:43:59 -07:00
Romain Guy
c002936e4b Trigger the log when EGL_NO_CONTEXT is returned by eglCreateContext
Bug #7216919

Change-Id: If2059227d55e8ddb2d2673ee36029c3c92dd9a3d
2012-09-25 09:43:23 -07:00
Jean-Baptiste Queru
bf2e088b00 Merge into jb-mr1-dev
Change-Id: Iba23d16643b8754f6e0a7288b2ca242f722f1bdd
2012-09-25 09:42:57 -07:00
Jean-Baptiste Queru
164ff6bb64 Merge into jb-mr1-dev
Change-Id: I65f9c552cf0ef2792df64c907f0a56913e6c6f30
2012-09-25 09:42:30 -07:00
Jean-Baptiste Queru
fe3632bcbe Merge into jb-mr1-dev
Change-Id: Ib0523ded92e2fe4be6a32d092baa55b527229c07
2012-09-25 09:42:01 -07:00
Jean-Baptiste Queru
56d8cc1031 Merge into jb-mr1-dev
Change-Id: I6504b000be7e3b6e770af99c5a922fd1e9ec73de
2012-09-25 09:41:25 -07:00
Jean-Baptiste Queru
ecfc9ca5f5 Merge into jb-mr1-dev
Change-Id: Ia9c5e2295fe61ae0f5275d3ddfd056d9778b66d1
2012-09-25 09:40:41 -07:00
Jean-Baptiste Queru
d336460089 Merge into jb-mr1-dev
Change-Id: Idf183be6a41ff37add5141a20e96d5190396d1a4
2012-09-25 09:40:08 -07:00