OSDN Git Service

android-x86/frameworks-base.git
12 years agoWhoops, this version number wasn't updated when JB was introduced!
Dianne Hackborn [Fri, 8 Jun 2012 01:20:55 +0000 (18:20 -0700)]
Whoops, this version number wasn't updated when JB was introduced!

Change-Id: I9c9cd658cc1cba99b84059c8873c22b21b9f3c19

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 7 Jun 2012 20:56:09 +0000 (13:56 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 7 Jun 2012 20:52:56 +0000 (13:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic209397930750934fe3ab136ab3a4586257c1ed3

12 years agoMerge "Cannot interact with dialogs when IME is up and on not touch explored popups...
Svetoslav Ganov [Thu, 7 Jun 2012 20:50:58 +0000 (13:50 -0700)]
Merge "Cannot interact with dialogs when IME is up and on not touch explored popups." into jb-dev

12 years agoMerge "Protect against bogus input for ListViews" into jb-dev
Adam Powell [Thu, 7 Jun 2012 19:12:00 +0000 (12:12 -0700)]
Merge "Protect against bogus input for ListViews" into jb-dev

12 years agoCannot interact with dialogs when IME is up and on not touch explored popups.
Svetoslav Ganov [Thu, 7 Jun 2012 04:12:20 +0000 (21:12 -0700)]
Cannot interact with dialogs when IME is up and on not touch explored popups.

1. If the last touch explored location is within the active window we
   used to click on exact location if it is within the accessibility
   focus otherwise in the accessibility focus center. If the last touch
   explored location is not within the active window we used to just
   click there. This breaks in the case were one has touch explored
   at a given place in the current window and now a dialog opens *not*
   covering the touch explored location. If one uses swipes to move
   accessibility focus i.e. to traverse the dialog without touching
   it one cannot activate anything because the touch explorer is using
   the last touch explored location that is outside of the active
   window e.g the dialog.

   The solution is to clear the last touch explored location when a
   window opens or accessibility focus moves. If the last touch
   explored location is null we are clicking in the accessibility
   focus location.

bug:6620911

2. There is a bug in the window manager that does not notify a
   window that its location has changed (bug:6623031). This breaks
   accessibility interaction with dialogs that have input because
   when the IME is up the dialog is moved but not notified. Now
   the accessibility layer gets incorrect location for the
   accessibility focus and the window bounds.

   The soluion is when the accessibility manager service calls
   into the remove thress to obtain some accessibility node infos
   it passes the window left and top which it gets from the
   window manager. These values are used to update the attach info
   window left and top so all accessibility node infos emitted
   from that window had correct bounds in screen coordinates.

bug:6620796

Change-Id: I18914f2095c55cfc826acf5277bd94b776bda0c8

12 years agoMerge "Revert "Remove ViewTreeObserver allocations"" into jb-dev
Chet Haase [Thu, 7 Jun 2012 18:27:26 +0000 (11:27 -0700)]
Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev

12 years agoMerge "Small NFC API docs addition." into jb-dev
Martijn Coenen [Thu, 7 Jun 2012 17:35:15 +0000 (10:35 -0700)]
Merge "Small NFC API docs addition." into jb-dev

12 years agoMerge "Back from the dead: Carrier name, background dimming." into jb-dev
Chris Wren [Thu, 7 Jun 2012 16:44:54 +0000 (09:44 -0700)]
Merge "Back from the dead: Carrier name, background dimming." into jb-dev

12 years agoMerge "Fix notification icon fading." into jb-dev
Chris Wren [Thu, 7 Jun 2012 16:44:34 +0000 (09:44 -0700)]
Merge "Fix notification icon fading." into jb-dev

12 years agoRevert "Remove ViewTreeObserver allocations"
Chet Haase [Thu, 7 Jun 2012 14:48:48 +0000 (07:48 -0700)]
Revert "Remove ViewTreeObserver allocations"

This reverts commit b999cc118fe430699e9a67d5dab355125b873abb.

There was an assumption in this earlier change that observer dispatching could not be
recursive - we could only ever have one iteration on the observer listener list. This
assumption broke down in a specific app, and maybe in more, so reverting the change for now.
We should probably find a way to accomplish the same allocation-minimizing goal without
causing exceptions when violating our assumptions.

Issue #6620795 [Application compatibility] Lufthansa app crashes

Change-Id: I1c1f9ad329c14398feb0e74ce77e1a07111f7d1f

12 years agoTrack canvas clearing for swap buffers logic.
Chet Haase [Thu, 7 Jun 2012 02:03:58 +0000 (19:03 -0700)]
Track canvas clearing for swap buffers logic.

A previous fix made it necessary for a frame to render something to GL
in order to cause a call to eglSwapBuffers(). Besides the calls being
tracked as part of issuing a DisplayList, there is also a potential call
to clear the canvas (via glClear()) on non-opaque surfaces. This call is also
good to track, since a surface that gets cleared without any other drawing operations
is worth flipping to the screen (to erase old contents on that surface).

This fix tracks the status of the pre-draw operations to find out whether
glClear() was called and then sets the drawing status appropriately.

Issue #6606422 QuickContact dismissal is janky again (Tracking)

Change-Id: I5fcaccfdc9293dd46b83f2fc279730a5d2740ebf

12 years agoProtect against bogus input for ListViews
Adam Powell [Thu, 7 Jun 2012 05:46:42 +0000 (22:46 -0700)]
Protect against bogus input for ListViews

Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca

12 years agoFix notification icon fading.
Daniel Sandler [Wed, 6 Jun 2012 20:32:21 +0000 (16:32 -0400)]
Fix notification icon fading.

Bug: 6581738
Change-Id: I547cae03533d9a9e6cf1d15e4b47845f61eee072

12 years agoBack from the dead: Carrier name, background dimming.
Daniel Sandler [Tue, 5 Jun 2012 17:44:14 +0000 (13:44 -0400)]
Back from the dead: Carrier name, background dimming.

Unlike previous versions of Android, we now show the current
wifi SSID in the carrier label if connected to wifi.

Bug: 6612419
Bug: 6620626
Change-Id: Ifb5ba8efe6dd387e960efc6a9b1da69a08e97d96

12 years agoMerge "New mouse pointer arrow with high res versions. Bug: 6579869" into jb-dev
Christian Robertson [Thu, 7 Jun 2012 00:56:36 +0000 (17:56 -0700)]
Merge "New mouse pointer arrow with high res versions. Bug: 6579869" into jb-dev

12 years agoSmall NFC API docs addition.
Martijn Coenen [Wed, 6 Jun 2012 20:07:47 +0000 (13:07 -0700)]
Small NFC API docs addition.

Indicate that if the device does not support Bluetooth or WiFI,
calling the API is a no-op.

Bug: 6620788
Change-Id: Ib261e0e7855d0914e97803b3b808015b72f3a186

12 years agoMerge "Revert "Add temporary functor detach logging"" into jb-dev
Chris Craik [Wed, 6 Jun 2012 23:59:01 +0000 (16:59 -0700)]
Merge "Revert "Add temporary functor detach logging"" into jb-dev

12 years agoRevert "Add temporary functor detach logging"
Chris Craik [Wed, 6 Jun 2012 23:45:53 +0000 (16:45 -0700)]
Revert "Add temporary functor detach logging"

bug:6608646

This reverts commit f98851ab37c07b243c485168cca201b07a22e6c7

12 years agoMerge "Revert "Add more temporary logging for investigating detachFunctor"" into...
Chris Craik [Wed, 6 Jun 2012 23:45:04 +0000 (16:45 -0700)]
Merge "Revert "Add more temporary logging for investigating detachFunctor"" into jb-dev

12 years agoMerge "add MINIMAL_FONT_FOOTPRINT configuration for PDK" into jb-dev
Keun young Park [Wed, 6 Jun 2012 23:24:25 +0000 (16:24 -0700)]
Merge "add MINIMAL_FONT_FOOTPRINT configuration for PDK" into jb-dev

12 years agoMerge "Update group capability before connect" into jb-dev
Irfan Sheriff [Wed, 6 Jun 2012 22:45:41 +0000 (15:45 -0700)]
Merge "Update group capability before connect" into jb-dev

12 years agoMerge "Ensure we compute display name when needed" into jb-dev
Marco Nelissen [Wed, 6 Jun 2012 22:44:20 +0000 (15:44 -0700)]
Merge "Ensure we compute display name when needed" into jb-dev

12 years agoMerge "Disable automatic screen dimming." into jb-dev
Craig Mautner [Wed, 6 Jun 2012 22:24:36 +0000 (15:24 -0700)]
Merge "Disable automatic screen dimming." into jb-dev

12 years agoFix build.
Dianne Hackborn [Wed, 6 Jun 2012 22:02:25 +0000 (15:02 -0700)]
Fix build.

Change-Id: I42c3f6466d926258bbd303f2082de7207734451a

12 years agoUpdate group capability before connect
Irfan Sheriff [Wed, 6 Jun 2012 19:03:33 +0000 (12:03 -0700)]
Update group capability before connect

We need to get the latest group capability information before connect
now that the supplicant behavior is to do a delayed cleanup.

Bug: 6613470
Change-Id: Ie374d750950f3bd4376fd6a767bb253fd7986eb1

12 years agoDisable automatic screen dimming.
Craig Mautner [Wed, 6 Jun 2012 21:49:44 +0000 (14:49 -0700)]
Disable automatic screen dimming.

Done by setting the dimming period to Integer.MAX_VALUE. While it
doesn't technically disable dimming it will take 248 days to get to
any target value.

Fixes bug 6616423.

Change-Id: I5b753286b9d93664fbff79021be38adf4d8a007d

12 years agoMerge "Set screen brightness to match sensor at power on." into jb-dev
Craig Mautner [Wed, 6 Jun 2012 21:39:29 +0000 (14:39 -0700)]
Merge "Set screen brightness to match sensor at power on." into jb-dev

12 years agoadd MINIMAL_FONT_FOOTPRINT configuration for PDK
Keun young Park [Tue, 5 Jun 2012 22:20:17 +0000 (15:20 -0700)]
add MINIMAL_FONT_FOOTPRINT configuration for PDK

- all non-latin fonts excluded
- symlink used to create additional fonts

Bug: 6540216

Change-Id: Id0909124dc1d71331bde3c5911c24eee5b1692a2

12 years agoMerge "Fix some divide by zero errors that could crash the system." into jb-dev
Dianne Hackborn [Wed, 6 Jun 2012 21:16:05 +0000 (14:16 -0700)]
Merge "Fix some divide by zero errors that could crash the system." into jb-dev

12 years agoSet screen brightness to match sensor at power on.
Craig Mautner [Wed, 6 Jun 2012 21:13:39 +0000 (14:13 -0700)]
Set screen brightness to match sensor at power on.

Use the first sensor value received after screen on to set the screen
brightness. Do this setting immediately rather than animate to the
target brightness.

Fixes bug 6612418.

Change-Id: I6c24c55e0bd35ef58a6494d3b5e449954241fd00

12 years agoRevert "Add more temporary logging for investigating detachFunctor"
Chris Craik [Wed, 6 Jun 2012 20:59:33 +0000 (13:59 -0700)]
Revert "Add more temporary logging for investigating detachFunctor"

bug:6608646

This reverts commit 8857b2f76abad1e4ec742dfd85d0c997880be376

Change-Id: I1563b5974c52b84201ae448298f804eb0dcc235d

12 years agoMerge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev
Jake Hamby [Wed, 6 Jun 2012 21:01:24 +0000 (14:01 -0700)]
Merge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev

12 years agoEnsure we compute display name when needed
Marco Nelissen [Wed, 6 Jun 2012 20:37:50 +0000 (13:37 -0700)]
Ensure we compute display name when needed

Since the media scanner no longer uses an in memory cache, it always
found an entry for files inserted via MTP, which made it follow a
different code path than before, which in turn made the media
provider skip computing the display name column.
By clearing the row id in the media scanner when handling an mtp
request, we steer it back to the correct code path.
b/6297105
b/6525450

Change-Id: I624522b176a0057d246ce3040598af255b00a141

12 years agoDO NOT MERGE: Remove SMS shortcode warning feature.
Jake Hamby [Wed, 6 Jun 2012 20:56:50 +0000 (13:56 -0700)]
DO NOT MERGE: Remove SMS shortcode warning feature.

Fix jb-dev build. The SMS shortcode warning feature has some usability
limitations which need to be resolved before shipping. Remove the code
for JellyBean. It will be added back to a future release when the
feature is complete.

Bug: 6605549
Change-Id: Ic8a68dc0b1ad038618962185f5ee680d5281ca21

12 years agoMerge "Revert "Import translations. DO NOT MERGE"" into jb-dev
Eric Fischer [Wed, 6 Jun 2012 20:53:00 +0000 (13:53 -0700)]
Merge "Revert "Import translations. DO NOT MERGE"" into jb-dev

12 years agoRevert "Import translations. DO NOT MERGE"
Eric Fischer [Wed, 6 Jun 2012 20:51:50 +0000 (13:51 -0700)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 6a6f746ece453c43aa92808cd140012866c8eb5c

12 years agoMerge "Fix bug 6499508" into jb-dev
Michael Jurka [Wed, 6 Jun 2012 20:31:58 +0000 (13:31 -0700)]
Merge "Fix bug 6499508" into jb-dev

12 years agoMerge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev
Dianne Hackborn [Wed, 6 Jun 2012 20:31:55 +0000 (13:31 -0700)]
Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev

12 years agoMerge "Always queue A2DP connection state message with wakelock held" into jb-dev
Jean-Michel Trivi [Wed, 6 Jun 2012 20:31:53 +0000 (13:31 -0700)]
Merge "Always queue A2DP connection state message with wakelock held" into jb-dev

12 years agoMerge "New background for notification panel header." into jb-dev
Daniel Sandler [Wed, 6 Jun 2012 19:58:35 +0000 (12:58 -0700)]
Merge "New background for notification panel header." into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Wed, 6 Jun 2012 19:37:51 +0000 (12:37 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 6 Jun 2012 19:02:00 +0000 (12:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5a8719c293a25460058ad5b62069ea80c33da110

12 years agoFix some divide by zero errors that could crash the system.
Dianne Hackborn [Wed, 6 Jun 2012 18:48:46 +0000 (11:48 -0700)]
Fix some divide by zero errors that could crash the system.

Change-Id: I66273df84e45de59b5b161f4d13de67a9e0f46d5

12 years agoDocs (mostly): enumerate JELLY_BEAN target SDK changes.
Dianne Hackborn [Wed, 6 Jun 2012 00:38:50 +0000 (17:38 -0700)]
Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs.  I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c

12 years agoAlways queue A2DP connection state message with wakelock held
Jean-Michel Trivi [Wed, 6 Jun 2012 17:51:58 +0000 (10:51 -0700)]
Always queue A2DP connection state message with wakelock held

Messages for changes to A2DP connection state are intended to be
 queued in AudioService after acquiring a wake lock, which is
 released after the message has been handled.
This was correctly done for connection messages when the system
 is up and running, but wasn't when the BluetoothProfile service
 listener gets an onServiceConnected() event, which is the case
 the the device boots.
This change correctly uses the queueMsgUnderWakeLock() method
 whenever a MSG_SET_A2DP_CONNECTION_STATE is to be sent.

Bug 6616292

Change-Id: Ie337a4641a89c522e2d233bccaac4e08ce324117

12 years agoMerge "Removing leftover code to sync accessibility and input focus." into jb-dev
Svetoslav Ganov [Wed, 6 Jun 2012 17:55:12 +0000 (10:55 -0700)]
Merge "Removing leftover code to sync accessibility and input focus." into jb-dev

12 years agoFix bug 6499508
Michael Jurka [Wed, 6 Jun 2012 17:05:46 +0000 (10:05 -0700)]
Fix bug 6499508

Using a HashSet for the recycled views, instead of an ArrayList, to ensure items are not double-added

12 years agoMerge "Remove transient and unnecessary update density message." into jb-dev
Mangesh Ghiware [Wed, 6 Jun 2012 15:32:36 +0000 (08:32 -0700)]
Merge "Remove transient and unnecessary update density message." into jb-dev

12 years agoNew background for notification panel header.
Daniel Sandler [Mon, 4 Jun 2012 20:18:35 +0000 (16:18 -0400)]
New background for notification panel header.

Bug: 6593364
Change-Id: Ifc0a9c17cbb413316d9a06d9b29cf4ca843c2103

12 years agoRemoving leftover code to sync accessibility and input focus.
Svetoslav Ganov [Wed, 6 Jun 2012 04:10:00 +0000 (21:10 -0700)]
Removing leftover code to sync accessibility and input focus.

1. We have decided to let the accessibility services take care
   for syncing accessibility and input focus. Some apps may
   move input focus when a given view takes input focus which
   dragging accessibility focus can lead to a loop in the
   focus traversal. This change removes some leftover sync
   code.

bug:6616861

Change-Id: I57cb44e315a386d13596794d3767b559e9ee3d99

12 years agoMerge "More fun with MediaRouter" into jb-dev
Adam Powell [Wed, 6 Jun 2012 02:27:49 +0000 (19:27 -0700)]
Merge "More fun with MediaRouter" into jb-dev

12 years agoMore fun with MediaRouter
Adam Powell [Tue, 5 Jun 2012 02:22:45 +0000 (19:22 -0700)]
More fun with MediaRouter

Add action provider, button, and styles. Extend ActionProvider to
allow for getting references to MenuItem instances.

Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog
selection yet to come.

Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171

12 years agoMerge "Implement new rotation policy." into jb-dev
Jeff Brown [Wed, 6 Jun 2012 02:11:13 +0000 (19:11 -0700)]
Merge "Implement new rotation policy." into jb-dev

12 years agoRemove transient and unnecessary update density message.
Mangesh Ghiware [Wed, 6 Jun 2012 01:46:10 +0000 (18:46 -0700)]
Remove transient and unnecessary update density message.

On a page load, the (viewport) metadata settings for the main frame are
reset. Reloading a page with viewport meta tag specifying target density
dpi will result in 2 back to back update zoom density messages to be
sent from WebViewCore to UI thread.

In setupViewport(), remove update density messages in flight. If the new
density is indeed different from WebView's default scale, queue another
message.

Bug: 6509512
Change-Id: I195e40277bf1bcccb0e61d84ed84db1e34556243

12 years agoMerge "Fix issue #6609383: java.lang.SecurityException: Requires..." into jb-dev
Dianne Hackborn [Wed, 6 Jun 2012 01:01:29 +0000 (18:01 -0700)]
Merge "Fix issue #6609383: java.lang.SecurityException: Requires..." into jb-dev

12 years agoImplement new rotation policy.
Jeff Brown [Wed, 6 Jun 2012 00:47:11 +0000 (17:47 -0700)]
Implement new rotation policy.

Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a

12 years agoMerge "Fix logspam" into jb-dev
John Reck [Tue, 5 Jun 2012 23:50:10 +0000 (16:50 -0700)]
Merge "Fix logspam" into jb-dev

12 years agoMerge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev
Jake Hamby [Tue, 5 Jun 2012 23:34:27 +0000 (16:34 -0700)]
Merge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev

12 years agoFix issue #6609383: java.lang.SecurityException: Requires...
Dianne Hackborn [Tue, 5 Jun 2012 23:20:46 +0000 (16:20 -0700)]
Fix issue #6609383: java.lang.SecurityException: Requires...

...MANAGE_APP_TOKENS permission

Bug: 6609383
Change-Id: I5ce8ac1ec496af50477111b46e6daea81181e3ca

12 years agoMerge "Report extended error information from SQLite." into jb-dev
Jeff Brown [Tue, 5 Jun 2012 23:04:45 +0000 (16:04 -0700)]
Merge "Report extended error information from SQLite." into jb-dev

12 years agoMerge "Nodes with contentDescription should always be important for accessibility...
Svetoslav Ganov [Tue, 5 Jun 2012 22:55:42 +0000 (15:55 -0700)]
Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev

12 years agoNodes with contentDescription should always be important for accessibility.
Svetoslav Ganov [Tue, 5 Jun 2012 21:46:50 +0000 (14:46 -0700)]
Nodes with contentDescription should always be important for accessibility.

1. Now after setting the content description on a view we mark is as
   important for accessibility of the current important for accessibility
   mode of that view is auto.

2. Minor tweak to a touch explorer coefficient to make performing double
   tapping easier.

bug:6615353

Change-Id: I3b477f533a3ebde85d425caf32ace5e851240f88

12 years agoReport extended error information from SQLite.
Jeff Brown [Tue, 5 Jun 2012 21:29:02 +0000 (14:29 -0700)]
Report extended error information from SQLite.

The error code number is not as informative as the SQLite error
message, in particular because the error code has been stripped
of extended error information.  Make sure we ask SQLite for the
full error message whenever possible.

Bug: 6538393
Change-Id: I82457c0ff7e41659cf8195fa26e09dc2b467375e

12 years agoMerge "Eliminate wallpaper exposure during transition." into jb-dev
Craig Mautner [Tue, 5 Jun 2012 20:40:14 +0000 (13:40 -0700)]
Merge "Eliminate wallpaper exposure during transition." into jb-dev

12 years agoFix logspam
John Reck [Tue, 5 Jun 2012 20:20:54 +0000 (13:20 -0700)]
Fix logspam

 Bug: 6508832

Change-Id: I3061917ae7eba31723c006b1d30d20b7134890b8

12 years agoMerge "Add more temporary logging for investigating detachFunctor" into jb-dev
Chris Craik [Tue, 5 Jun 2012 19:28:49 +0000 (12:28 -0700)]
Merge "Add more temporary logging for investigating detachFunctor" into jb-dev

12 years agoDO NOT MERGE: Remove SMS shortcode warning feature.
Jake Hamby [Tue, 5 Jun 2012 19:16:06 +0000 (12:16 -0700)]
DO NOT MERGE: Remove SMS shortcode warning feature.

The SMS shortcode warning feature has some usability limitations which need
to be resolved before shipping. Remove the code for JellyBean. It will be
added back to a future release when the feature is complete.

Bug: 6605549
Change-Id: Ifb23d20f30199f242abb8bf7db015232a085c8e3

12 years agoMerge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev
Dianne Hackborn [Tue, 5 Jun 2012 18:45:13 +0000 (11:45 -0700)]
Merge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev

12 years agoAdd more temporary logging for investigating detachFunctor
Chris Craik [Tue, 5 Jun 2012 17:53:20 +0000 (10:53 -0700)]
Add more temporary logging for investigating detachFunctor

bug:6596807
Change-Id: Ic9e34e323b12a887f2e8df0773a6155627b6a64f

12 years agoFix issue #6584942 IllegalStateException: Failure saving state...
Dianne Hackborn [Tue, 5 Jun 2012 17:27:40 +0000 (10:27 -0700)]
Fix issue #6584942 IllegalStateException: Failure saving state...

...active SuggestFragment{419494f0} has cleared index: -1

There were issues when the same fragment was removed and then
added again before completely finishing the remove (such as due
to a running animation).

Two fixes:

- Now when you call FragmentTransaction.replace() and are replacing
  a fragment with the same fragment, this becomes a no-op, to avoid
  visual artifacts in the transition and bad states.
- When we are moving the fragment state up and it is currently
  animating away to the INITIALIZED state, we could end up making
  the fragment inactive as part of the cleanup.  In this case it
  shouldn't be made inactive; we just need to initialize it but
  keep it active since we are going to continue to use it.

Bug: 6584942
Change-Id: I8bfd73f2d8ef8f67b541b3e2525dfa5db6c3bfa5

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 5 Jun 2012 17:51:13 +0000 (10:51 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "StatusBar: Improve framerate on reveal animation." into jb-dev
John Spurlock [Tue, 5 Jun 2012 17:48:57 +0000 (10:48 -0700)]
Merge "StatusBar: Improve framerate on reveal animation." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 5 Jun 2012 17:46:41 +0000 (10:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: I09dd492b37f4658eabb1d67106da7ed45c51abd6

12 years agoMerge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev
Chet Haase [Tue, 5 Jun 2012 17:24:06 +0000 (10:24 -0700)]
Merge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev

12 years agoEliminate wallpaper exposure during transition.
Craig Mautner [Tue, 5 Jun 2012 17:20:56 +0000 (10:20 -0700)]
Eliminate wallpaper exposure during transition.

Make sure that the wallpaper target exists and is visible before
exposing the wallpaper.

Fixes bug 6570335.

Change-Id: I1dddfe26683e84fd813e7bee884ba2bd4bb85272

12 years agoRestore opaque alpha value when AlphaAnimation finishes
Chet Haase [Tue, 5 Jun 2012 14:54:09 +0000 (07:54 -0700)]
Restore opaque alpha value when AlphaAnimation finishes

Alpha values were being set correctly on native Display Lists during an
AlphaAnimation, but not when the animation finished. Only non-1 values
were being propagated to the Display List properties.

The fix is to track when we've set a non-1 alpha value from an AlphaAnimation
and to notice that flag when the value is 1 (because the animation ended), so that
we propagate that value correctly. Using the flag avoids sending a value of 1
(by far the most common case) unless we really need to restore it after animating
it with non-1 values.

Issue #6600592 Sometimes album art blends with list asset on queue

Change-Id: I51047d756a4ac42a2d907a4d77963cc23dfb1db3

12 years agoMerge "Adding more logging for bug: 6499508" into jb-dev
Michael Jurka [Tue, 5 Jun 2012 15:57:40 +0000 (08:57 -0700)]
Merge "Adding more logging for bug: 6499508" into jb-dev

12 years agoStatusBar: Improve framerate on reveal animation.
John Spurlock [Fri, 1 Jun 2012 19:34:27 +0000 (15:34 -0400)]
StatusBar: Improve framerate on reveal animation.

Ensure reveal animation runs after notification panel is completely drawn.
Align minimum close handle position to proper height with new super status bar.

Bug: 6555172
Change-Id: I7ae978caa1f28932ee56f65484b18330a4406b80

12 years agoMerge "Accessibility focus should not clear selection when taken away." into jb-dev
Svetoslav Ganov [Tue, 5 Jun 2012 06:08:29 +0000 (23:08 -0700)]
Merge "Accessibility focus should not clear selection when taken away." into jb-dev

12 years agoMerge "NullPointerException in AbsListView.focusSearch()." into jb-dev
Svetoslav Ganov [Tue, 5 Jun 2012 06:07:26 +0000 (23:07 -0700)]
Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev

12 years agoMerge "Global accessibility action to open recent apps shows the old dialog style...
Svetoslav Ganov [Tue, 5 Jun 2012 06:06:42 +0000 (23:06 -0700)]
Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev

12 years agoMerge "Add contentobserver for nsd_on setting" into jb-dev
Irfan Sheriff [Tue, 5 Jun 2012 05:53:00 +0000 (22:53 -0700)]
Merge "Add contentobserver for nsd_on setting" into jb-dev

12 years agoMerge "Do not run the spell checker in SearchView" into jb-dev
Satoshi Kataoka [Tue, 5 Jun 2012 05:42:00 +0000 (22:42 -0700)]
Merge "Do not run the spell checker in SearchView" into jb-dev

12 years agoDo not run the spell checker in SearchView
Satoshi Kataoka [Mon, 4 Jun 2012 08:12:08 +0000 (17:12 +0900)]
Do not run the spell checker in SearchView

Bug: 6603925
Change-Id: I75972185fb4d802f2a90649002e722ca4b676c42

12 years agoNullPointerException in AbsListView.focusSearch().
Svetoslav Ganov [Tue, 5 Jun 2012 02:47:40 +0000 (19:47 -0700)]
NullPointerException in AbsListView.focusSearch().

1. One of the loops was using the last visible position
   as its end boundary as opposed to the child count
   minus one.

bug:6610451

Change-Id: I600545ca3f64d1e982f909f893e5d34570ec5c8b

12 years agoAccessibility focus should not clear selection when taken away.
Svetoslav Ganov [Tue, 5 Jun 2012 02:32:35 +0000 (19:32 -0700)]
Accessibility focus should not clear selection when taken away.

1. Currently accessibility focus removal was clearing the selection
   in the view - in particular the accessibility cursor position
   which in the TextView case is the selection. This leads to a
   scenario where the selection may be cleared when the app does
   not explect. Further, the selection should not be cleared
   since the user can be say several pages in the content and
   removing and putting back accessibility focus would cause a
   tedious traversal to get to the previous position.

bug:6469840

Change-Id: Iba3c01600fa2c9c39f99085a5fbc4328aa539ea8

12 years agoMerge "Don't crash when scaling Bitmaps with private Bitmap.Configs" into jb-dev
Jack Palevich [Tue, 5 Jun 2012 00:56:10 +0000 (17:56 -0700)]
Merge "Don't crash when scaling Bitmaps with private Bitmap.Configs" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 5 Jun 2012 00:32:57 +0000 (17:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 5 Jun 2012 00:09:45 +0000 (17:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia697bb2342058f44ac8a2922ed4d3c4c851c1741

12 years agoAdding more logging for bug: 6499508
Michael Jurka [Mon, 4 Jun 2012 23:46:39 +0000 (16:46 -0700)]
Adding more logging for bug: 6499508

Change-Id: Iffc099e7de8b1d24bb33f1df6e17df7a099bfcb2

12 years agoAdd contentobserver for nsd_on setting
Irfan Sheriff [Fri, 1 Jun 2012 23:44:13 +0000 (16:44 -0700)]
Add contentobserver for nsd_on setting

Bug: 6606274
Change-Id: I863b9e2a2446d697f3c9c49f24dcdc2b599f091e

12 years agoMerge "Add temporary functor detach logging" into jb-dev
Chris Craik [Mon, 4 Jun 2012 22:49:20 +0000 (15:49 -0700)]
Merge "Add temporary functor detach logging" into jb-dev

12 years agoMerge "Change Recents background to solid color on sw600dp devices" into jb-dev
Michael Jurka [Mon, 4 Jun 2012 22:12:56 +0000 (15:12 -0700)]
Merge "Change Recents background to solid color on sw600dp devices" into jb-dev

12 years agoMerge "Update ProgressBar assets" into jb-dev
Adam Powell [Mon, 4 Jun 2012 21:46:54 +0000 (14:46 -0700)]
Merge "Update ProgressBar assets" into jb-dev

12 years agoUpdate ProgressBar assets
Adam Powell [Mon, 4 Jun 2012 21:33:50 +0000 (14:33 -0700)]
Update ProgressBar assets

Bug 6602341

Change-Id: I1279b26c37a89b7d04fb626574502a3c365b4d4f

12 years agoGlobal accessibility action to open recent apps shows the old dialog style.
Svetoslav Ganov [Mon, 4 Jun 2012 21:02:09 +0000 (14:02 -0700)]
Global accessibility action to open recent apps shows the old dialog style.

1. The global action to open recent apps shows the old dialog style rent apps
   panel. Apparently the key code to open recent apps is not opening the new
   UI so the AccessibilityManagerService is calling directly the method on
   the IStatusBarSerivce to do so.

bug:6607664

Change-Id: I94c1963b07947776bf1c2448903b26f3603f9a59

12 years agoChange Recents background to solid color on sw600dp devices
Michael Jurka [Mon, 4 Jun 2012 21:00:32 +0000 (14:00 -0700)]
Change Recents background to solid color on sw600dp devices

Bug: 6572502

12 years agoDon't do closing animation on an opening app.
Daniel Sandler [Mon, 4 Jun 2012 18:36:25 +0000 (14:36 -0400)]
Don't do closing animation on an opening app.

Check to make sure that the closing wallpaper animation isn't used on
an opening app token. This can happen when a previous animation hasn't
completed when the next animation is starting.

Fixes bug 6557751.

Change-Id: Ib8bd4dd7de1e361f6fc0cab11d0997e70f9ddd0b

12 years agoAdd temporary functor detach logging
Chris Craik [Mon, 4 Jun 2012 20:33:10 +0000 (13:33 -0700)]
Add temporary functor detach logging

bug:6596807
Change-Id: I22342079cdf238a933d62e9cbef58bc5af80522b