OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Client app crashes if accessibility service uses invalid focus type." into...
Svetoslav Ganov [Mon, 4 Jun 2012 17:20:33 +0000 (10:20 -0700)]
Merge "Client app crashes if accessibility service uses invalid focus type." into jb-dev

12 years agoMerge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev
Raph Levien [Mon, 4 Jun 2012 17:06:19 +0000 (10:06 -0700)]
Merge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev

12 years agoClient app crashes if accessibility service uses invalid focus type.
Svetoslav Ganov [Mon, 4 Jun 2012 15:55:16 +0000 (08:55 -0700)]
Client app crashes if accessibility service uses invalid focus type.

1. If an accessibility service uses an invalid focus type argument
   when trying to find where focus is the queried application crashes.
   The same happens if the serivce calls focus search with an invalid
   derection. While we need the argument check in the controller that
   runs in the app process the accessibility service has to be the
   palace where an exception is thown for the invalid argument so
   the developer can fix his code.:

bug:6508797

Change-Id: Ib0d74f374fa60ee8fd6117f11c23af34f6c26ad3

12 years agoMerge "Focus search in AbsListView returns invisible views." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 15:17:26 +0000 (08:17 -0700)]
Merge "Focus search in AbsListView returns invisible views." into jb-dev

12 years agoFocus search in AbsListView returns invisible views.
Svetoslav Ganov [Mon, 4 Jun 2012 04:45:16 +0000 (21:45 -0700)]
Focus search in AbsListView returns invisible views.

1. The focus search algorithm considers only visible
   views, specifically when adding focusables. Since
   AbsListView implements a custom focus search strategy
   for better user experience it also has to return
   only views that are visible.

bug:6543878

Change-Id: I6207c29402e4ac6190c1e65d042e04449aa75ef8

12 years agoMerge "Implement an integrating VelocityTracker strategy." into jb-dev
Jeff Brown [Mon, 4 Jun 2012 04:16:38 +0000 (21:16 -0700)]
Merge "Implement an integrating VelocityTracker strategy." into jb-dev

12 years agoMerge "Make velocity tracker strategy configurable." into jb-dev
Jeff Brown [Mon, 4 Jun 2012 04:16:18 +0000 (21:16 -0700)]
Merge "Make velocity tracker strategy configurable." into jb-dev

12 years agoMerge "Touch exploration gesture end not delivered to clients." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 03:30:12 +0000 (20:30 -0700)]
Merge "Touch exploration gesture end not delivered to clients." into jb-dev

12 years agoTouch exploration gesture end not delivered to clients.
Svetoslav Ganov [Mon, 4 Jun 2012 02:34:34 +0000 (19:34 -0700)]
Touch exploration gesture end not delivered to clients.

1. Touch exploration gestures are demarcated by start and end
   events. Due to a bug in the AccessibilityManagerService
   the gesture end event was not dispatched. This caused the
   AccessibilityNodeInfoCache to be off sync since it relies
   on getting such events not to mention that the clients were
   not getting the end but only the start event. The issue
   was that the notified service types variable was not reset
   after every event so when the manager sends the last hover
   exit it flags that the service type is already notified
   resulting in dropping on the floor the following gesture
   end event.

bug:6539306

Change-Id: I2b96bcecea3b2240199d67f01afa6a033afce1de

12 years agoImplement an integrating VelocityTracker strategy.
Jeff Brown [Fri, 1 Jun 2012 20:24:04 +0000 (13:24 -0700)]
Implement an integrating VelocityTracker strategy.

This algorithm better tolerates certain kinds of errors in the
touch input than the least squares strategy but it may underestimate
the velocity of accelerating movements.  This algorithm is
mainly of interest as a baseline for testing and comparison with the
least squares algorithm, which remains the default.

Bug: 6413587
Change-Id: I8ddb50084e44875e234717907e5b06d03f59788c

12 years agoMake velocity tracker strategy configurable.
Jeff Brown [Fri, 1 Jun 2012 19:39:25 +0000 (12:39 -0700)]
Make velocity tracker strategy configurable.

This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.

There is no change to the current default strategy.

Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749

12 years agoMerge "Double input focus and focus movement in list not working." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 01:52:20 +0000 (18:52 -0700)]
Merge "Double input focus and focus movement in list not working." into jb-dev

12 years agoFix ordering of product-specific strings
Adam Powell [Sun, 3 Jun 2012 21:46:43 +0000 (14:46 -0700)]
Fix ordering of product-specific strings

Change-Id: Ic825e13be639731380897b937d80938762fce5ce

12 years agoFix product-specific string declaration
Adam Powell [Sun, 3 Jun 2012 21:32:04 +0000 (14:32 -0700)]
Fix product-specific string declaration

Change-Id: Ib753995ed7bf47bb6724309370c9b05d65cfd81b

12 years agoMerge "Add MediaRouter API." into jb-dev
Adam Powell [Sun, 3 Jun 2012 21:11:43 +0000 (14:11 -0700)]
Merge "Add MediaRouter API." into jb-dev

12 years agoMerge "Fixing a crash in the TouchExplorer." into jb-dev
Svetoslav Ganov [Sun, 3 Jun 2012 19:38:57 +0000 (12:38 -0700)]
Merge "Fixing a crash in the TouchExplorer." into jb-dev

12 years agoMerge "Hide notifications until the device is provisioned." into jb-dev
Daniel Sandler [Sun, 3 Jun 2012 18:46:13 +0000 (11:46 -0700)]
Merge "Hide notifications until the device is provisioned." into jb-dev

12 years agoMerge "Revert change to correct animations." into jb-dev
Craig Mautner [Sun, 3 Jun 2012 07:57:23 +0000 (00:57 -0700)]
Merge "Revert change to correct animations." into jb-dev

12 years agoFixing a crash in the TouchExplorer.
Svetoslav Ganov [Sat, 2 Jun 2012 23:26:44 +0000 (16:26 -0700)]
Fixing a crash in the TouchExplorer.

1. If the runnable for performing a long press is not
   removed when all pointers are up and it is executed
   the explorer gets into delegating mode with no pointer
   down and the next down crashes the explorer. Added
   code to remove the long press runnable in a few places
   it was missing and also added a safety in the runnable
   to avoid executing it in case there are no active pointers.

bug:6557183

Change-Id: I9dab3de88fd08d8e2b38af18249ac551837c0736

12 years agoFix bug 6558006: SystemUI native heap is huge. Fix memory leak
Raph Levien [Sat, 2 Jun 2012 22:47:29 +0000 (15:47 -0700)]
Fix bug 6558006: SystemUI native heap is huge. Fix memory leak

TextLayoutCache was leaking HB_Face objects, not freeing them when
purging the mCachedHBFaces cache. More full analysis is in the bug.

Change-Id: Ie5cd8b00c36b9d31963183c601cde49cbb73fafb

12 years agoRevert change to correct animations.
Craig Mautner [Sat, 2 Jun 2012 22:31:33 +0000 (15:31 -0700)]
Revert change to correct animations.

Incorrect animation was introduced with CL 196207 (perhaps in
combination with a later CL). Reverting part of that CL fixes
the incorrect animation and so far has not reintroduced the jank
that was fixed by that CL. If the jank reappears it should be
fixed in a different fashion than in CL 196207.

Fixes bug 6597505.

Change-Id: Ie8012237a8d49810ede51bd8d78ef8c2fd91ddd4

12 years agoMerge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev
Michael Jurka [Sat, 2 Jun 2012 22:30:54 +0000 (15:30 -0700)]
Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev

12 years agoMerge "Reduce recents memory usage" into jb-dev
Michael Jurka [Sat, 2 Jun 2012 22:30:26 +0000 (15:30 -0700)]
Merge "Reduce recents memory usage" into jb-dev

12 years agoDouble input focus and focus movement in list not working.
Svetoslav Ganov [Sat, 2 Jun 2012 21:35:02 +0000 (14:35 -0700)]
Double input focus and focus movement in list not working.

1. The clearFocus routine in ViewGroup was clearing the pointer
   to the descendant which has focus after calling clear focus
   on that child. However, currently clearing the focus of a view
   causes the view that loses focus to try to give the focus to
   the first focusable which potentially sets the pointer to the
   child that has input focus in the ViewGroup but the ViewGruop
   essentially clears that pointer. This resulted in having two
   focused views at the same time in some cases.

2. AbsListView was not calling the super implementation of add
   focusables if the focus type was not accessibility.

bug:6559819

Change-Id: I478dfed000b5de3f9b15e12eb82aa3d34c2301e4

12 years agoMerge "Fix power manager issues." into jb-dev
Craig Mautner [Sat, 2 Jun 2012 18:24:29 +0000 (11:24 -0700)]
Merge "Fix power manager issues." into jb-dev

12 years agoMerge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev
Ben Murdoch [Sat, 2 Jun 2012 10:25:04 +0000 (03:25 -0700)]
Merge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev

12 years agoMerge "Fix 6592932: add means to replace assist icon from given package" into jb-dev
Jim Miller [Sat, 2 Jun 2012 03:34:43 +0000 (20:34 -0700)]
Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev

12 years agoMerge changes Id27ba241,I781fbe36 into jb-dev
Adrian Ludwig [Sat, 2 Jun 2012 03:08:12 +0000 (20:08 -0700)]
Merge changes Id27ba241,I781fbe36 into jb-dev

* changes:
  For JB, the READ_EXTERNAL_STORAGE permission is not enforced by default.  It may be enforced by default in future releases. Developers have the option of enabling enforcement to test their application and some may begin to include this permission on applications.  To avoid user confusion, the permission is placed in the development tools group.
  Update long strings to provide users with more information about permissions.

12 years agoFor JB, the READ_EXTERNAL_STORAGE permission is not enforced by default. It may...
Adrian Ludwig [Sat, 2 Jun 2012 02:57:57 +0000 (19:57 -0700)]
For JB, the READ_EXTERNAL_STORAGE permission is not enforced by default.  It may be enforced by default in future releases. Developers have the option of enabling enforcement to test their application and some may begin to include this permission on applications.  To avoid user confusion, the permission is placed in the development tools group.

Change-Id: Id27ba241db0253eac774401aaaa6e5c4340588d7

12 years agoMerge "Fix b/6575950 make shader program to support different precisions." into jb-dev
Ruei-sung Lin [Sat, 2 Jun 2012 02:42:22 +0000 (19:42 -0700)]
Merge "Fix b/6575950 make shader program to support different precisions." into jb-dev

12 years agoMerge "Calling the correct method when adding accessibility focusables." into jb-dev
Svetoslav Ganov [Sat, 2 Jun 2012 02:30:23 +0000 (19:30 -0700)]
Merge "Calling the correct method when adding accessibility focusables." into jb-dev

12 years agoUpdate long strings to provide users with more information about permissions.
Adrian Ludwig [Fri, 1 Jun 2012 00:26:16 +0000 (17:26 -0700)]
Update long strings to provide users with more information about permissions.

Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

12 years agoCalling the correct method when adding accessibility focusables.
Svetoslav Ganov [Sat, 2 Jun 2012 02:02:32 +0000 (19:02 -0700)]
Calling the correct method when adding accessibility focusables.

1. Since we added explicit accessibility focusable attribute when
   adding focusables views that do so should call this method. Some
   views were not updated to do so.

bug:6581924

Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843

12 years agoAdd MediaRouter API.
Adam Powell [Tue, 22 May 2012 17:05:00 +0000 (10:05 -0700)]
Add MediaRouter API.

This is just the initial state tracking. Still to go is
actually triggering Bluetooth A2DP correctly and tracking
process state in the system server.

Change-Id: I33031d52799d6e2d7208910da833831085cc3677

12 years agoMerge "Revert "Update long strings to provide users with more information about permi...
Adrian Ludwig [Sat, 2 Jun 2012 00:38:03 +0000 (17:38 -0700)]
Merge "Revert "Update long strings to provide users with more information about permissions."" into jb-dev

12 years agoRevert "Update long strings to provide users with more information about permissions."
Adrian Ludwig [Sat, 2 Jun 2012 00:33:38 +0000 (17:33 -0700)]
Revert "Update long strings to provide users with more information about permissions."

This reverts commit 714665c7a3bc4b4702e031448864d3d341f1f098

12 years agoMerge "Update long strings to provide users with more information about permissions...
Adrian Ludwig [Sat, 2 Jun 2012 00:32:44 +0000 (17:32 -0700)]
Merge "Update long strings to provide users with more information about permissions." into jb-dev

12 years agoUpdate long strings to provide users with more information about permissions.
Adrian Ludwig [Fri, 1 Jun 2012 00:26:16 +0000 (17:26 -0700)]
Update long strings to provide users with more information about permissions.

Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

Conflicts:

core/res/res/values/strings.xml

12 years agoFix build.
Adrian Ludwig [Fri, 1 Jun 2012 22:57:12 +0000 (15:57 -0700)]
Fix build.

Change-Id: I739102258739ceb9856b8867949fa7f53532189d

12 years agoFix power manager issues.
Craig Mautner [Fri, 1 Jun 2012 23:02:47 +0000 (16:02 -0700)]
Fix power manager issues.

1. If a new brightness animation is started while an unrelated one is
ongoing complete the old animation immediately. Unrelated means that
the old and new animations apply to different devices (button,
keyboard, or screen).

2. Do not interpret turning off the keyboard or button lights as
turning off the screen in isScreenTurningOffLocked().

Fixes bug 6519847.

Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc

12 years agoMerge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev
Chet Haase [Fri, 1 Jun 2012 22:52:28 +0000 (15:52 -0700)]
Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev

12 years agoMerge "Update indeterminate progress bar assets" into jb-dev
Adam Powell [Fri, 1 Jun 2012 22:29:54 +0000 (15:29 -0700)]
Merge "Update indeterminate progress bar assets" into jb-dev

12 years agoUpdate indeterminate progress bar assets
Adam Powell [Fri, 1 Jun 2012 22:22:36 +0000 (15:22 -0700)]
Update indeterminate progress bar assets

Bug 6587381

Change-Id: I2154ab36d697d5cee098fa7134288c1b45ca1de4

12 years agoSkip LayoutTransition animations on objects of size (0,0)
Chet Haase [Fri, 1 Jun 2012 22:09:07 +0000 (15:09 -0700)]
Skip LayoutTransition animations on objects of size (0,0)

LayoutTransition runs changing animations on all objects that change between
now and the next layout. This works in most normal situations, but when a container
is becoming visible, or being added to its container, or other first-time situations,
then some of the views and parent hierarchy may be of size (0,0). The user really
shouldn't need to see an animation up from these nonsense values, so we just
skip running the animation on these objects and simply place the objects where they
need to go.

Issue #6597648 view should not animate up from size (0,0)

Change-Id: I2c355a68bf1ce3b41fbec01ad95c78d83562ba32

12 years agoMerge "Revert "Make the protectionLevel of framework permissions consistent and relat...
Adrian Ludwig [Fri, 1 Jun 2012 21:54:07 +0000 (14:54 -0700)]
Merge "Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."" into jb-dev

12 years agoMerge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into...
Justin Ho [Fri, 1 Jun 2012 21:51:49 +0000 (14:51 -0700)]
Merge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into jb-dev

12 years agoMerge "Be more discriminating when canceling notifications on changing packages....
Daniel Sandler [Fri, 1 Jun 2012 21:31:05 +0000 (14:31 -0700)]
Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev

12 years agoMerge "Present a one-time chooser when sharing screenshots." into jb-dev
Daniel Sandler [Fri, 1 Jun 2012 21:29:07 +0000 (14:29 -0700)]
Merge "Present a one-time chooser when sharing screenshots." into jb-dev

12 years agoHide notifications until the device is provisioned.
Daniel Sandler [Tue, 22 May 2012 19:44:08 +0000 (15:44 -0400)]
Hide notifications until the device is provisioned.

During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8

12 years agoRevert "Make the protectionLevel of framework permissions consistent and related...
Adrian Ludwig [Fri, 1 Jun 2012 21:22:03 +0000 (14:22 -0700)]
Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."

This reverts commit a8a200278dcc232eabd4550f814439c94857c47c.

Conflicts:

core/res/AndroidManifest.xml
core/res/res/values/strings.xml

Change-Id: I3f76d93a6ffde031bf82c2afea315ebcdbc179e3

12 years agoMerge "Cannot double tap and hold outside of the input focused window." into jb-dev
Svetoslav Ganov [Fri, 1 Jun 2012 21:19:05 +0000 (14:19 -0700)]
Merge "Cannot double tap and hold outside of the input focused window." into jb-dev

12 years agoMerge "Survey says: NIET!" into jb-dev
Dianne Hackborn [Fri, 1 Jun 2012 21:13:08 +0000 (14:13 -0700)]
Merge "Survey says: NIET!" into jb-dev

12 years agoTemporarily disable FakeOemFeatures from userdebug or higher builds
Justin Ho [Fri, 1 Jun 2012 21:07:23 +0000 (14:07 -0700)]
Temporarily disable FakeOemFeatures from userdebug or higher builds

Change-Id: I452d079f60a087a36c20e984b38b8354327e1d5a

12 years agoFix 6592932: add means to replace assist icon from given package
Jim Miller [Fri, 1 Jun 2012 00:49:13 +0000 (17:49 -0700)]
Fix 6592932: add means to replace assist icon from given package

This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist.  It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST.  It should point to a StateListDrawable
in that package with the required states.  For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
    android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_normal" />
    <item android:state_enabled="true"
        android:state_active="true"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_activated" />
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="true"
        android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab

12 years agoCannot double tap and hold outside of the input focused window.
Svetoslav Ganov [Fri, 1 Jun 2012 20:52:54 +0000 (13:52 -0700)]
Cannot double tap and hold outside of the input focused window.

1. The long press routine was using the coordintates of the
   accessibility focused item in the input focused window.
   As a result double tap and hold did not work in a window
   that does not take input focus such as the system bar.
   Now the routine is using the last touch explored location
   if it cannot find accessibility focus in the last touched
   window.

bug:6584438

Change-Id: Ifd43adb20a066f389a9d4bd5716dd7ad834dd574

12 years agoSurvey says: NIET!
Dianne Hackborn [Fri, 1 Jun 2012 19:45:49 +0000 (12:45 -0700)]
Survey says: NIET!

Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b

12 years agoMerge "Fix NPE while creating autonomous GO" into jb-dev
Irfan Sheriff [Fri, 1 Jun 2012 20:38:10 +0000 (13:38 -0700)]
Merge "Fix NPE while creating autonomous GO" into jb-dev

12 years agoBe more discriminating when canceling notifications on changing packages.
Daniel Sandler [Fri, 1 Jun 2012 19:38:46 +0000 (15:38 -0400)]
Be more discriminating when canceling notifications on changing packages.

Specifically: don't do it if the package is enabled at the
time the PACKAGE_CHANGED broadcast is sent. (We only want to
cancel notifications when packages enter the disabled
state.)

Bug: 6589355
Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562

12 years agoPresent a one-time chooser when sharing screenshots.
Daniel Sandler [Thu, 31 May 2012 19:40:25 +0000 (15:40 -0400)]
Present a one-time chooser when sharing screenshots.

Bug: 6561747
Change-Id: I0ee98d10e6927a9166e643a4a965285a62379a9b

12 years agoMerge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev
Raph Levien [Fri, 1 Jun 2012 20:02:36 +0000 (13:02 -0700)]
Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev

12 years agoFix NPE while creating autonomous GO
Irfan Sheriff [Fri, 1 Jun 2012 19:37:11 +0000 (12:37 -0700)]
Fix NPE while creating autonomous GO

When autonomous GO is being created and we get a device lost event,
fix NPE

Bug: 6595978
Change-Id: Id93b693b8bcc447aea03c04be7556b1f2ff00a90

12 years agoMerge "Add a thread to handle the radio shutdown." into jb-dev
Jeff Brown [Fri, 1 Jun 2012 19:47:07 +0000 (12:47 -0700)]
Merge "Add a thread to handle the radio shutdown." into jb-dev

12 years agoFix bug 6596440: NPE when pulling down notification window
Raph Levien [Fri, 1 Jun 2012 19:02:13 +0000 (12:02 -0700)]
Fix bug 6596440: NPE when pulling down notification window

Pulling down the notification window set the navigation bar view to
"slippery", but this view is NULL on some devices such as Crespo.
The fix simply makes it a no-op in this case.

Change-Id: I720a257c1715febda5932d50906c5dddbca2b312

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 1 Jun 2012 18:20:12 +0000 (11:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 1 Jun 2012 18:18:05 +0000 (11:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I52e722cf5764a415d56036183bcd79907c011dc0

12 years agoMerge "AccessibilityInteractionController crash with IndexOutOfBoundException." into...
Svetoslav Ganov [Fri, 1 Jun 2012 18:14:12 +0000 (11:14 -0700)]
Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev

12 years agoAccessibilityInteractionController crash with IndexOutOfBoundException.
Svetoslav Ganov [Fri, 1 Jun 2012 16:10:25 +0000 (09:10 -0700)]
AccessibilityInteractionController crash with IndexOutOfBoundException.

1. The findAccessibilityNodeInfosByTextUiThread was reusing an ArrayList
   instance also used by the logic to initialize an AccessibilityNodeInfo.
   Hence, if the find method got some view and creates the infos for them
   the method creating the info was reusing the same array list and was
   nuking its contents.

bug:6556585

Change-Id: I1d013bf7b1f715f8b4c4ba60c677233bec40647c

12 years agoMerge "Refresh signal cluster for airplane switch." into jb-dev
Andrew Flynn [Fri, 1 Jun 2012 16:00:46 +0000 (09:00 -0700)]
Merge "Refresh signal cluster for airplane switch." into jb-dev

12 years agoMerge "Handle wakelocks for device connection intents from AudioService" into jb-dev
Jean-Michel Trivi [Fri, 1 Jun 2012 15:58:51 +0000 (08:58 -0700)]
Merge "Handle wakelocks for device connection intents from AudioService" into jb-dev

12 years agoMerge "Increase string length limit to fit translation." into jb-dev
Svetoslav Ganov [Fri, 1 Jun 2012 15:53:00 +0000 (08:53 -0700)]
Merge "Increase string length limit to fit translation." into jb-dev

12 years agoMerge "Accessibility focus traversal of lists inconsistent." into jb-dev
Svetoslav Ganov [Fri, 1 Jun 2012 15:52:19 +0000 (08:52 -0700)]
Merge "Accessibility focus traversal of lists inconsistent." into jb-dev

12 years agoMerge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev
Chet Haase [Fri, 1 Jun 2012 14:29:53 +0000 (07:29 -0700)]
Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev

12 years agoGet a WebViewDatabaseClassic instance lazily. Do not merge.
Ben Murdoch [Fri, 1 Jun 2012 13:00:39 +0000 (14:00 +0100)]
Get a WebViewDatabaseClassic instance lazily. Do not merge.

Rather than caching the WebViewDatabaseClassic instance in a member,
grab the instance when we need it.

In the case of WebSyncManager - neither it or it's subclass uses
the WebViewDatabaseClassic (and it's subclass is final) so remove
it's initialisation. We must leave the member declared however
to satisfy the published API.

Bug: 6482144
Change-Id: Ibf5186a2851d17f5ad62b35ad543aeadff5618d9

12 years agoAdd more logging for bug 6499508 (getting warmer!)
Michael Jurka [Fri, 1 Jun 2012 12:06:01 +0000 (05:06 -0700)]
Add more logging for bug 6499508 (getting warmer!)

Change-Id: Id55c6e9641508804d7f4a1b83e1251ea960d4aa5

12 years agoReduce recents memory usage
Michael Jurka [Fri, 1 Jun 2012 11:06:45 +0000 (04:06 -0700)]
Reduce recents memory usage

Change-Id: I7e50bc1987dd75b1fbbe4e91d13490ae1faa6cb8

12 years agoIncrease string length limit to fit translation.
Svetoslav Ganov [Fri, 1 Jun 2012 03:25:27 +0000 (20:25 -0700)]
Increase string length limit to fit translation.

bug:6575039

Change-Id: I64fd00add017d02a1a5ccadc3f324f1f2793bbba

12 years agoAccessibility focus traversal of lists inconsistent.
Svetoslav Ganov [Fri, 1 Jun 2012 03:07:20 +0000 (20:07 -0700)]
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

12 years agoMerge "Extend process observer to be usable for media routing." into jb-dev
Dianne Hackborn [Fri, 1 Jun 2012 02:04:44 +0000 (19:04 -0700)]
Merge "Extend process observer to be usable for media routing." into jb-dev

12 years agoExtend process observer to be usable for media routing.
Dianne Hackborn [Thu, 31 May 2012 22:29:36 +0000 (15:29 -0700)]
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

12 years agoMerge "Use sp<LooperCallback> to fix race causing dangling pointer." into jb-dev
Jeff Brown [Fri, 1 Jun 2012 01:39:20 +0000 (18:39 -0700)]
Merge "Use sp<LooperCallback> to fix race causing dangling pointer." into jb-dev

12 years agoAdd a thread to handle the radio shutdown.
Jeff Brown [Fri, 1 Jun 2012 00:39:13 +0000 (17:39 -0700)]
Add a thread to handle the radio shutdown.

Protect the ShutdownThread from possible hangs in the telephony,
Bluetooth or NFC stack while turning off the radios.

Bug: 6585958
Change-Id: I6b448c854c5a0efb0eedd90437853ef2571e785b

12 years agoMerge "Force webview invalidates on unsuccessful functor attach" into jb-dev
Chris Craik [Fri, 1 Jun 2012 00:57:45 +0000 (17:57 -0700)]
Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev

12 years agoMerge "Maybe fix #6584979: Unable to launch share chooser activity from a Notificatio...
Dianne Hackborn [Fri, 1 Jun 2012 00:38:42 +0000 (17:38 -0700)]
Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev

12 years agoSkip eglSwapBuffers() call when we do not draw to GL
Chet Haase [Thu, 31 May 2012 22:21:51 +0000 (15:21 -0700)]
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

12 years agoMerge "Fix bug where existing account not pre-checked" into jb-dev
Alice Yang [Fri, 1 Jun 2012 00:09:25 +0000 (17:09 -0700)]
Merge "Fix bug where existing account not pre-checked" into jb-dev

12 years agoRefresh signal cluster for airplane switch.
Andrew Flynn [Thu, 31 May 2012 22:39:15 +0000 (15:39 -0700)]
Refresh signal cluster for airplane switch.

This fixes a bug where if Airplane mode on/off is the only icon
that is changing in the signal cluster (for example, someone on
a wifi-only device has wifi turned on in airplane mode, so wifi
icon is not changing), this will refresh the signal cluster.

Bug: 6531918
Change-Id: I7a440b84c9dfa0b300b81d14426b99fd48fad06c

12 years agoUse sp<LooperCallback> to fix race causing dangling pointer.
Jeff Brown [Thu, 31 May 2012 23:23:11 +0000 (16:23 -0700)]
Use sp<LooperCallback> to fix race causing dangling pointer.

Bug: 6559630
Change-Id: I9b9c76577779841006f9c024a80685ba8b7cd0e1

12 years agoMaybe fix #6584979: Unable to launch share chooser activity from a Notification action
Dianne Hackborn [Thu, 31 May 2012 23:18:21 +0000 (16:18 -0700)]
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

12 years agoFix bug where existing account not pre-checked
Alice Yang [Thu, 31 May 2012 22:48:51 +0000 (15:48 -0700)]
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

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 31 May 2012 22:41:07 +0000 (15:41 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Use Surface layer for Surface operation." into jb-dev
Craig Mautner [Thu, 31 May 2012 22:35:56 +0000 (15:35 -0700)]
Merge "Use Surface layer for Surface operation." into jb-dev

12 years agoForce webview invalidates on unsuccessful functor attach
Chris Craik [Thu, 31 May 2012 22:05:57 +0000 (15:05 -0700)]
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

12 years agoUse Surface layer for Surface operation.
Craig Mautner [Thu, 31 May 2012 21:25:31 +0000 (14:25 -0700)]
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

12 years agoMerge "Fix 6583164: Make navbar slippery when shade is open" into jb-dev
Jim Miller [Thu, 31 May 2012 20:47:47 +0000 (13:47 -0700)]
Merge "Fix 6583164: Make navbar slippery when shade is open" into jb-dev

12 years agoFix 6583164: Make navbar slippery when shade is open
Jim Miller [Thu, 31 May 2012 20:34:16 +0000 (13:34 -0700)]
Fix 6583164: Make navbar slippery when shade is open

Change-Id: Ie7bc726dd292b8b363c155492fb620e49a123f05

12 years agoMerge "Protect volumepanel slider creation from race condition." into jb-dev
Amith Yamasani [Thu, 31 May 2012 20:08:07 +0000 (13:08 -0700)]
Merge "Protect volumepanel slider creation from race condition." into jb-dev

12 years agoMerge "Fix initial brightness state after startup." into jb-dev
Craig Mautner [Thu, 31 May 2012 20:07:03 +0000 (13:07 -0700)]
Merge "Fix initial brightness state after startup." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 31 May 2012 19:52:04 +0000 (12:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id25d07811a971bc2e52eaa9e755477114642af93

12 years agoMerge "Fix walled garden detection on nakasi" into jb-dev
Irfan Sheriff [Thu, 31 May 2012 18:28:36 +0000 (11:28 -0700)]
Merge "Fix walled garden detection on nakasi" into jb-dev

12 years agoFix walled garden detection on nakasi
Irfan Sheriff [Wed, 30 May 2012 23:52:38 +0000 (16:52 -0700)]
Fix walled garden detection on nakasi

Bug: 6576101
Change-Id: Iad2ea67e54662cd30a0e7425dab2a6174d13d152