77142 Commits

Author SHA1 Message Date
Svetoslav Ganov
1c094d338d Merge "Increase string length limit to fit translation." into jb-dev 2012-06-01 08:53:00 -07:00
Svetoslav Ganov
00ca7a8827 Merge "Accessibility focus traversal of lists inconsistent." into jb-dev 2012-06-01 08:52:19 -07:00
Chet Haase
561ff8a74e Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev 2012-06-01 07:29:53 -07:00
Svetoslav Ganov
b97c5d25c3 Increase string length limit to fit translation.
bug:6575039

Change-Id: I64fd00add017d02a1a5ccadc3f324f1f2793bbba
2012-05-31 20:25:30 -07:00
Svetoslav Ganov
2dda468606 Accessibility focus traversal of lists inconsistent.
1. Now the list traversal forward is the exact opposite
   of the traversal backward.

2. The focus search starts from the view against which
   the call is made as opposed to the one that has focus.
   This is now consistent with the rest of the focus search.

bug:6537747

Change-Id: Ida6a696636a3099531155fcbff256f71264f5008
2012-05-31 20:16:40 -07:00
Dianne Hackborn
d53710ce64 Merge "Extend process observer to be usable for media routing." into jb-dev 2012-05-31 19:04:44 -07:00
Dianne Hackborn
a93c2c117d Extend process observer to be usable for media routing.
It now has a new callback to report changes in the "importance"
of processes.  Rewrote the dispatching code to be a bit more
efficient now that we are sending more reports.

Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
2012-05-31 18:58:34 -07:00
Jeff Brown
6e8e41a336 Merge "Use sp<LooperCallback> to fix race causing dangling pointer." into jb-dev 2012-05-31 18:39:20 -07:00
Chris Craik
53913ed55c Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev 2012-05-31 17:57:45 -07:00
Dianne Hackborn
f0e96de863 Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev 2012-05-31 17:38:42 -07:00
Chet Haase
486590963e Skip eglSwapBuffers() call when we do not draw to GL
The fix is to track when we issue GL drawing commands, and to skip the
call to eglSwapBuffers() when a DisplayList does not result in
any actual rendering calls to GL.

Issue #6364143 QuickMuni list items and buttons flicker instead of fade

Change-Id: I60a02c61a58c32d92481a1e814b4c8a49c6a37a3
2012-05-31 17:22:27 -07:00
Alice Yang
be50440152 Merge "Fix bug where existing account not pre-checked" into jb-dev 2012-05-31 17:09:25 -07:00
Jeff Brown
80a1de1007 Use sp<LooperCallback> to fix race causing dangling pointer.
Bug: 6559630
Change-Id: I9b9c76577779841006f9c024a80685ba8b7cd0e1
2012-05-31 16:23:11 -07:00
Dianne Hackborn
a3a041d55b Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
Don't count an activity as a system dialog to be closed, if it is the
one that asked to have system dialogs closed.

Change-Id: I60bb194adde78dc3ac0a4d9b0c1dfbabd105e594
2012-05-31 16:18:21 -07:00
Alice Yang
6cab5e823a Fix bug where existing account not pre-checked
The fix was to call ListView.setItemChecked()
instead of ListView.setSelection() for setting radio button status.
Also refactored the code a bit so it's less verbose.

Bug 6588533

Change-Id: I8add072a0277183baec7c0d5634a28f2d3a28c5e
2012-05-31 15:48:51 -07:00
Eric Fischer
69a1f6e6a1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-31 15:41:07 -07:00
Craig Mautner
35c60c944a Merge "Use Surface layer for Surface operation." into jb-dev 2012-05-31 15:35:56 -07:00
Chris Craik
41ee465734 Force webview invalidates on unsuccessful functor attach
Functor attach should always be successful, but adding a fallback just in
case. Also invalidates the WebView on initial content arriving.

bug:6511995
Change-Id: Ibca16505afec9f693ea4a7cc4966cd6d7353725c
2012-05-31 15:23:11 -07:00
Craig Mautner
881656831c Use Surface layer for Surface operation.
Previous fix exposed an existing bug where we were using mAnimLayer to
determine the highest Surface layer. This fix uses mSurfaceLayer to set
the layer limits for making the screenshot.

Fixes bug 6586168.

Change-Id: Iaa3b43867aef795ca617ff4b8076428dfc91eaf2
2012-05-31 14:25:31 -07:00
Jim Miller
593b4446fd Merge "Fix 6583164: Make navbar slippery when shade is open" into jb-dev 2012-05-31 13:47:47 -07:00
Jim Miller
b490c3e64d Fix 6583164: Make navbar slippery when shade is open
Change-Id: Ie7bc726dd292b8b363c155492fb620e49a123f05
2012-05-31 13:34:16 -07:00
Amith Yamasani
4a3a9685d1 Merge "Protect volumepanel slider creation from race condition." into jb-dev 2012-05-31 13:08:07 -07:00
Craig Mautner
a13b4da68d Merge "Fix initial brightness state after startup." into jb-dev 2012-05-31 13:07:03 -07:00
Eric Fischer
70a9975ab8 Import translations. DO NOT MERGE
Change-Id: Id25d07811a971bc2e52eaa9e755477114642af93
2012-05-31 12:52:04 -07:00
Irfan Sheriff
ce9b5c7611 Merge "Fix walled garden detection on nakasi" into jb-dev 2012-05-31 11:28:36 -07:00
Irfan Sheriff
ae094b2715 Fix walled garden detection on nakasi
Bug: 6576101
Change-Id: Iad2ea67e54662cd30a0e7425dab2a6174d13d152
2012-05-31 11:11:23 -07:00
Makoto Onuki
bde32efa20 Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev 2012-05-31 10:58:58 -07:00
Craig Mautner
af01fe0215 Fix initial brightness state after startup.
Setting of mInitialAnimation member was assuming that currentValue
member would only be 0 at boot. It also gets set to 0 when the
sensor goes dark. This fix removes mInitialValue reliance on
currentValue.

Fixes bug 6444319.

Change-Id: I27069f1b44f1f727533d34bbecad2e5aeaa7aab8
2012-05-31 10:03:32 -07:00
John Spurlock
e857632abd Merge "Dock: Renable desk-dock apps" into jb-dev 2012-05-31 08:44:47 -07:00
Uriel Rodriguez
fa716c7b9b Merge "BUG 5457035 : Anti-spoofing : DO NOT MERGE" into jb-dev 2012-05-31 08:44:15 -07:00
John Spurlock
a91047ff23 Merge "NavBar: Don't resize in portrait docks when HDMI connected." into jb-dev 2012-05-31 08:26:51 -07:00
Eric Laurent
cee7203f9a Merge "Send device connection intents from AudioService" into jb-dev 2012-05-31 08:22:50 -07:00
Daniel Sandler
b30cd0a801 NavBar: Don't resize in portrait docks when HDMI connected.
The computation moving the navbar up is too drastic when a device locked
in a portrait dock is connected to a landscape external display (e.g. a TV).
Instead, only do this if the aspect ratios of the device and external display
are the same.

Bug: 6513219
Change-Id: I7cfb1096b7d1a774032d22c4b0d7eb3177766c58
2012-05-31 10:48:53 -04:00
Daniel Sandler
43cee47d4f Merge "Simpler background art for notification panels." into jb-dev 2012-05-31 06:02:58 -07:00
James Dong
7b996d19af Fix a test case failure when there is no back-facing camera on a device
Change-Id: I427b2e03b266ff2d92c6fe64f732a256d285020e
related-to-bug: 6538628
2012-05-30 20:36:12 -07:00
Mathias Agopian
7f6519691f Merge "fix a potential buffer overflow in sensorservice" into jb-dev 2012-05-30 19:11:33 -07:00
Eino-Ville Talvala
28795d883a Merge "Fix race condition with preview callback." into jb-dev 2012-05-30 19:07:55 -07:00
Svetoslav Ganov
758534ed50 Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev 2012-05-30 19:06:23 -07:00
Svetoslav Ganov
9a4c5cd191 Ask to enable touch exploration only the first time it enables the feature.
1. Now we are asking the user to grant permission to the service to enable
   touch exploration only the first time this service is enabled. If the
   service was uninstalled and then later installed we ask the user again.
   This avoids the scenario in which rebooting the device or upgrading an
   accessibility service leaves the device in a state in which the user
   cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
2012-05-30 18:41:08 -07:00
Amith Yamasani
a654986978 Protect volumepanel slider creation from race condition.
It is possible for 2 different threads to poke the mStreamControls at the same time,
causing the monkey bug mentioned in the bug report below.

Bug: 6411852

Couldn't think of any other reason Stream type 3 (MUSIC) wouldn't exist in the list.
It's possible that a programmatic call came in at the same time as the volume key press.

Synchronizing blocks where the mStreamControls are populated and accessed.

Change-Id: Ifedec6b0f8bad9634cb9e079fda785c433bdb7a7
2012-05-30 18:28:08 -07:00
Amith Yamasani
4b55eac42d Merge "Remove some unnecessary man page entries" into jb-dev 2012-05-30 18:23:36 -07:00
Dianne Hackborn
388d4801d5 Merge "Working on issue #6561352: java.lang.RuntimeException: Unable to start..." into jb-dev 2012-05-30 18:11:23 -07:00
Mathias Agopian
acd31516c6 fix a potential buffer overflow in sensorservice
Bug: 6580560
Change-Id: Icf6cafbca09174515a964a7cd69d8cc589ad52de
2012-05-30 18:08:30 -07:00
Amith Yamasani
fd3d009dde Remove some unnecessary man page entries
Change-Id: I1ceda3f5efac83b80ab4b6e7cae4086aeed5062a
2012-05-30 17:57:06 -07:00
Svetoslav Ganov
f14c078ccc Merge "Don't mark list headers or invalid items as disabled." into jb-dev 2012-05-30 17:47:02 -07:00
Chet Haase
762ca84cb2 Merge "Sped up ActionBar and StatusBar animations" into jb-dev 2012-05-30 17:22:37 -07:00
Dianne Hackborn
efc620a8b9 Merge "Add time stamp to content provider connection." into jb-dev 2012-05-30 17:20:28 -07:00
Eino-Ville Talvala
ca367b7178 Fix race condition with preview callback.
Bug: 6301018
Change-Id: I19b8bc03ef3983d69e1e986c0f1a8154af5ab080
2012-05-30 17:06:54 -07:00
Uriel Rodriguez
4fa995a932 BUG 5457035 : Anti-spoofing : DO NOT MERGE
Squashed commit of the following:

commit c0969669a6bd55df805665c17e088456c1672da3
Author: Danielle Millett <dmillett@google.com>
Date:   Wed May 30 15:41:22 2012 -0400

    Turning liveliness back on

    As part of the change of putting in the new head turn option, it's
    now passing in the correct value to Face Unlock instead of forcing it
    to always be false.

    Change-Id: I745da5431cbc2d447f3d07ec7215c5b1850f6d57

Change-Id: I36a819b43e89a463bb3bb3ede0db36477fd45066
2012-05-30 20:01:38 -04:00
Chet Haase
e8118e17b2 Sped up ActionBar and StatusBar animations
Animations to show/hide the ActionBar and StatusBar were very slow, given
the size of the objects and the distances covered by the sliding animations.
Also, the ActionBar animation was sometimes hiccuppy as it faded in/out.
This change eliminates the ActionBar fade (which is unnecessary) and speeds
up the animations (smaller durations and steeper interpolation curves). Also,
it eliminates the startDelay on the ActionBar show animation.

Issue #6564089 Options menu should slide in much quicker (nakasi/JB)

Change-Id: I2c8298301f7bf26bbbc94444e715420a2c029ba0
2012-05-30 16:47:54 -07:00