76648 Commits

Author SHA1 Message Date
Jeff Brown
00ff47484f Merge "More VelocityTracker refactoring." into jb-dev 2012-05-14 17:12:32 -07:00
Chris Craik
dbd98bfecb Merge "Remove unused native method" into jb-dev 2012-05-14 17:04:10 -07:00
Irfan Sheriff
f74f1ac81d Merge "Add work around to restart driver on failure" into jb-dev 2012-05-14 17:00:17 -07:00
Adam Powell
f77f480800 Fix ActionProviders that have submenus
Automatically create a submenu for items with ActionProviders that
provide a submenu when the item was not initially configured to have
one.

Bug 6493376

Change-Id: I27218e2ab205e87534f235eb04042b185d99d143
2012-05-14 16:44:43 -07:00
Eric Laurent
dfae6db022 Merge "Implement new volume display policy." into jb-dev 2012-05-14 16:30:47 -07:00
Svetoslav Ganov
e5dfa47d84 Improving accessibility focus traversal.
1. Now the views considered during the accessibility focus search
   are the ones that would get accessibility focus when thovered
   over. This way the user will get the same items i.e. feedback
   if he touch explores the screen and uses focus traversal. This
   is imperative for a good user experience.

2. Updated which focusables are considered when searching for access
   focus in ViewGroup. Generally accessibility focus ignores focus
   before/after descendants.

3. Implemented focus search strategy in AbsListView that will traverse
   the items of the current list (and the stuff withing one item
   before moving to the next) before continuing the search if
   forward and backward accessibility focus direction.

4. View focus search stops at root namespace. This is not the right
   way to prevent some stuff that is not supposed to get a focus in
   a container for a specific state. Actually the addFocusables
   for that container has to be overriden. Further this approach
   leads to focus getting stuck. The accessibility focus ignores
   root names space since we want to traverse the entire screen.

5. Fixed an bug in AccessibilityInteractionController which was not
   starting to search from the root of a virtual node tree.

6. Fixed a couple of bugs in FocusFinder where it was possible to
   get index out of bounds exception if the focusables list is empty.

bug:5932640

Change-Id: Ic3bdd11767a7d40fbb21f35dcd79a4746af784d4
2012-05-14 16:21:29 -07:00
Irfan Sheriff
f91d4e7bdd Add work around to restart driver on failure
A driver start can fail and device can stay stuck in that state.
Add a work around to retry once after a period of time and then
reload wifi if that does not work.

Bug: 6005966
Change-Id: I930554ac96ac25da2a38e49630d375656e32f6f6
2012-05-14 16:21:10 -07:00
Danielle Millett
05dde913f9 Merge "Setting liveliness to off" into jb-dev 2012-05-14 16:18:52 -07:00
Danielle Millett
46bbdec799 Setting liveliness to off
This is part of the change to remove the blink checkbox.  Since the
blink checkbox won't be visible anymore, we want to set liveliness to
off instead of checking the current value.

Change-Id: Iaa68cea8ec0a6012eaaaac77cea0f50575b7e660
2012-05-14 19:10:03 -04:00
George Mount
108feca9a0 Merge "Change selection to use left/right instead of base/extent." into jb-dev 2012-05-14 16:04:42 -07:00
Adam Powell
a3d4205cf2 Fix text coloring for action mode "close" option
Bug 6492714

Change-Id: I1e6d3a8c310b791b9e226de0d2984a430250475d
2012-05-14 16:02:36 -07:00
Chris Craik
8230231c88 Remove unused native method
depends on external/webkit change: https://android-git.corp.google.com/g/#/c/190468/

bug:6486310
Change-Id: Id1c1eabf27135c73e45a489ab4c7cfa26e0c9def
2012-05-14 15:57:06 -07:00
Geremy Condra
b696c0542c Merge "Adds support for the CertBlacklister." into jb-dev 2012-05-14 15:53:48 -07:00
Kenny Root
4ebaf0f1d4 Merge "Change thread priority for disk measurement to bg" into jb-dev 2012-05-14 15:42:31 -07:00
Romain Guy
c9ade202ed Merge "Forget the name of a texture after freeing Bug #6408362" into jb-dev 2012-05-14 15:38:52 -07:00
Romain Guy
99a6ddd4cd Forget the name of a texture after freeing
Bug #6408362

FontRenderer allocates large font textures when more room is needed
to store all the glyphs used by an application. Thse large textures
are the first to be freed when memory needs to be reclaimed by the
system. When freeing a texture, the renderer would however not set
the texture name to an invalid name, leading future allocations to
be performed on the same texture name. That name could have by then
be recycled by the driver and returned by a call to glGenTexture
and used to create an entirely different texture. This would cause
the font renderer to point to the wrong texture, thus leading to
the "corruptions."

Change-Id: I8a1e80e5b79e8f21d1baf5320c090df4f2066cd4
2012-05-14 15:32:18 -07:00
Jim Miller
b4238e0c59 Fix 6483412: Disable search from navbar while SUW is running
This fixes a problem where navbar gestures were enabled during
SetupWizard.

There's no clear signal for handling this in StatusBar since there
are a number of flags that we might use to determine the availability
of the search gesture.

However, the UI design generally calls for the gesture to be available
when the home button is visible, so I think it makes sense to start
with that and enable others as we encounter issues.

Change-Id: I7b37964ae5b51bf803d5808605f1afe694a88464
2012-05-14 15:26:20 -07:00
Romain Guy
2be45697f9 Merge "Fix two memory leaks Bug #6408362" into jb-dev 2012-05-14 15:22:13 -07:00
Daisuke Miyakawa
3422440633 Merge "Remove assets for Phone's incoming call widget" into jb-dev 2012-05-14 15:21:51 -07:00
Romain Guy
9d9758ae30 Fix two memory leaks
Bug #6408362

Change-Id: I58543938e7b64d83504e11e97b0dd21ef8ebf3b6
2012-05-14 15:19:58 -07:00
Brian Colonna
5a1c0cf492 Merge "Fix 6437474: Fixed black box appearing on rotation" into jb-dev 2012-05-14 15:16:14 -07:00
Stephen Hines
724de98edb Add unit tests for convert (with relaxed precision).
BUG=6127576

Change-Id: Ia5b4efa99de4f6df644779eeee6763eb31be4d90
2012-05-14 15:05:58 -07:00
Kenny Root
a69b7eb1fc Change thread priority for disk measurement to bg
Change the thread priority for all disk measurement and statfs calls to
background priority.

Also move the measurement fully into the measurement task since it makes
more sense.

Bug: 6332097
Change-Id: Iafc2151313ad9b14117daf67e933dccd32f68d54
2012-05-14 15:02:19 -07:00
Eric Fischer
8e96d58146 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:51:41 -07:00
Michael Jurka
b520676175 Merge "Hide notification panel when launching recent apps" into jb-dev 2012-05-14 14:44:33 -07:00
Michael Jurka
56a5783c02 Hide notification panel when launching recent apps
Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
2012-05-14 14:38:38 -07:00
Eric Fischer
1d1a5273a9 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:31:01 -07:00
Daisuke Miyakawa
df9b20504b Remove assets for Phone's incoming call widget
Bug: 6491970
Change-Id: I6c0965b7807daef91e0e61252f254ac704c60c67
2012-05-14 14:20:31 -07:00
Svetoslav Ganov
844047acb7 Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev 2012-05-14 14:14:26 -07:00
Eric Laurent
8c78752f2b Implement new volume display policy.
Whenever a stream type is muted, the progress bar in volume panel
is at 0.
If a stream is muted by ringer mode and does not control ringer mode,
the progress bar is disabled.
Pressing VOL- when in vibrate or silent mode resets the last audible
volume of ringtone stream (music strem on tablets) to 0.

VolumePanel implementation:
 - Always prefer AudioManager APIs over AudioService APIs when available on both.
 - Do not use AudioManager.shouldVibrate() (deprecated).

Change-Id: I57fcb19ada4e8d729b6b41d668496562ebe340c3
2012-05-14 14:13:10 -07:00
Romain Guy
00fdfe4106 Merge "Properly pre-cache latin glyphs Bug #6408362" into jb-dev 2012-05-14 14:12:27 -07:00
Philip Milne
c8b7747bc0 Merge "Add validation code for GridLayout.LayoutParams" into jb-dev 2012-05-14 14:12:06 -07:00
Romain Guy
ae91c4cbc7 Properly pre-cache latin glyphs
Bug #6408362

Change-Id: Ie11644c5a9e2d87d3b851b7e619e5f04b60a7e02
2012-05-14 14:06:02 -07:00
Michael Jurka
143a02aa79 Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev 2012-05-14 14:04:27 -07:00
Philip Milne
0f57cea898 Add validation code for GridLayout.LayoutParams
Bug 6404882.

The supplied code in this bug sets up a table with 2 columns and then
tries to add a component in column 5. Earlier attempts to fix this
by 'doing what the user meeant' had unwanted side-effects. This CL is
intended to defend against all ways to register invalid LayoutParams
and throw IllegalArgumentExcpetion when any column index falls outside the
range [0 .. N] where N is the number of columns. It also includes the
symmetrical check for rows.

Change-Id: I958a6d16035889cd954b78108773426e8b6b6d95
2012-05-14 13:42:05 -07:00
Eric Fischer
fb7a89fe55 Import translations. DO NOT MERGE
Change-Id: I7ad9995da8405b20d50ecb211786ebc86469ea42
2012-05-14 13:30:10 -07:00
Dianne Hackborn
776627b8b0 Merge "Add missing XML close tag. Fixes bug 6488238." into jb-dev 2012-05-14 13:18:37 -07:00
Jake Hamby
47509c744f Merge "Change SMS security check to enforceCallingPermission()." into jb-dev 2012-05-14 13:12:14 -07:00
Raph Levien
d26e18bfe9 Add missing XML close tag. Fixes bug 6488238.
Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
2012-05-14 13:11:57 -07:00
Eric Fischer
8f38310e40 Import translations. DO NOT MERGE
Change-Id: Ie0e5b24e9df9f9c2e3706cf17bb04cc3e1d00cb0
2012-05-14 13:11:13 -07:00
Chet Haase
728e43948c Merge "Minor touch-up of Animation docs" into jb-dev 2012-05-14 12:58:08 -07:00
Jamie Gennis
04d3521839 Merge "WindowManager: unset the wallpaper window crop" into jb-dev 2012-05-14 12:14:49 -07:00
George Mount
647827a5d3 Change selection to use left/right instead of base/extent.
Bug 5859620
 Simplify text selection to use left/right rather than
 base/extent. In combination with webkit change, this
 fixes RTL selection. The handle directions are properly-
 facing when the text direction is the same for both
 sides of selection.
 Webkit Change: I3362c5034ce08ce1517a86882c13b78aff35fe3f

Change-Id: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada
2012-05-14 11:24:56 -07:00
Jean-Michel Trivi
2411c3361e Merge "Verify AudioTrack only uses a valid multichannel configuration" into jb-dev 2012-05-14 08:56:53 -07:00
Jean-Michel Trivi
d9e587137b Verify AudioTrack only uses a valid multichannel configuration
Enforce the same rules as for HDMI output:
- FL/FR must be present
- paired channels must be used in pairs (e.g. no rear left
   without rear right)

Bug 6392126

Change-Id: I0a39e474dcf509cb7eabd8edd1f0e44852d72b51
2012-05-14 08:49:42 -07:00
Brian Colonna
a5cf93a84a Merge "Fix 6283709: set max FUL failed attempts to 5" into jb-dev 2012-05-14 07:56:07 -07:00
Brian Colonna
ffefd0fdd1 Fix 6283709: set max FUL failed attempts to 5
After an unrecognized face occurs 5 times in a row, we disable FUL
until the user unlocks via the backup lock.  This prevents attacks
where someone tries a bunch of different photos, hoping for a good
enough match to the device's owner.

This value was previously set to 15, which is much higher than
necessary.  This change sets it to 5.  We've been holding off on
this change because it makes our testing more difficult, but we
want this in there for factory ROM this week.

Change-Id: I4e1acc5b1dcc2c0629e0c0fe97a837d6edc44d5d
2012-05-14 10:34:08 -04:00
Brian Colonna
88240596fc Fix 6437474: Fixed black box appearing on rotation
The biometric unlock initializeView() function is called every time
the lockscreen is recreated.  Since this normally happens when the
device turns off, initializeView() was covering the backup lock so the
backup lock is not exposed when the device turns back on.  However,
initializeView() is also called when lockscreen is recreated due to an
orientation change.

With this change, the show() call to cover the backup lock has been
moved out of initializeView(), and the backup lock is now only covered
when the screen is turning off, preventing the backup lock from being
covered on an orientation change.

This also includes changes to prevent biometric unlock function calls
from occurring when SIM or Account unlock is in use.  In fact, in any
situation where we know FUL won't be used, we don't even construct it.
This is not only more efficient, but it also cuts down on the
possibility of errors where FUL is being used when it shouldn't be.

Change-Id: Ie97761840df8de5701703d9b9b991726fb601064
2012-05-14 10:06:05 -04:00
Jamie Gennis
521e0d794d WindowManager: unset the wallpaper window crop
This change removes the window crop of the wallpaper when setting its position.

Change-Id: I0f4dc10ea9a724b210f75286580ef391145286df
2012-05-14 04:11:02 -07:00
Mathias Agopian
7ed1d6613e Merge "fix SurfaceView visibility state changes" into jb-dev 2012-05-13 23:50:32 -07:00