OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Don't long press if preventDefault is called" into jb-dev
John Reck [Tue, 29 May 2012 23:23:10 +0000 (16:23 -0700)]
Merge "Don't long press if preventDefault is called" into jb-dev

12 years agoDon't long press if preventDefault is called
John Reck [Tue, 29 May 2012 23:02:23 +0000 (16:02 -0700)]
Don't long press if preventDefault is called

 Bug: 6554060

Change-Id: Iad263c78a0e1504dd10e9ef5b92505bca6991cbc

12 years agoMerge "Prevent construction/use of invalid restore session proxies" into jb-dev
Christopher Tate [Tue, 29 May 2012 22:52:24 +0000 (15:52 -0700)]
Merge "Prevent construction/use of invalid restore session proxies" into jb-dev

12 years agoMerge "Fix (mostly) issue #5109947: Race condition between retrieving a..." into...
Dianne Hackborn [Tue, 29 May 2012 22:51:24 +0000 (15:51 -0700)]
Merge "Fix (mostly) issue #5109947: Race condition between retrieving a..." into jb-dev

12 years agoMerge "Adding accessibility focusable attribute (hidden for now)." into jb-dev
Svetoslav Ganov [Tue, 29 May 2012 22:46:15 +0000 (15:46 -0700)]
Merge "Adding accessibility focusable attribute (hidden for now)." into jb-dev

12 years agoMerge "Make location providers upgradeable." into jb-dev
Nick Pelly [Tue, 29 May 2012 22:28:00 +0000 (15:28 -0700)]
Merge "Make location providers upgradeable." into jb-dev

12 years agoAdding accessibility focusable attribute (hidden for now).
Svetoslav Ganov [Wed, 23 May 2012 01:10:31 +0000 (18:10 -0700)]
Adding accessibility focusable attribute (hidden for now).

1. This attribute specifies whether a view can take accessibility
   focus. It has three values: 1) auto - the system determines
   based on whether the view is actionable and has actionable
   predecessor. Accessibility services can put accessibility focus
   on such a node at will; 2) yes ; this view always takes access
   focus; 3) no - the view cannot takes accessibility focus and
   accessibility services cannot put accessibility focus on it.

Change-Id: I2ebf4e7c75bf6b39e1742b6868b37ccdd4cc7d28

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 29 May 2012 21:28:56 +0000 (14:28 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Allow apps with SEND_SMS_NO_CONFIRMATION to bypass short code check." into...
Jake Hamby [Tue, 29 May 2012 20:54:19 +0000 (13:54 -0700)]
Merge "Allow apps with SEND_SMS_NO_CONFIRMATION to bypass short code check." into jb-dev

12 years agoMerge "Better handle changing app transitions." into jb-dev
Craig Mautner [Tue, 29 May 2012 20:53:06 +0000 (13:53 -0700)]
Merge "Better handle changing app transitions." into jb-dev

12 years agoFix (mostly) issue #5109947: Race condition between retrieving a...
Dianne Hackborn [Wed, 23 May 2012 20:12:42 +0000 (13:12 -0700)]
Fix (mostly) issue #5109947: Race condition between retrieving a...

...content provider and updating its oom adj

This introduces the concept of an "unstable" reference on a content
provider.  When holding such a reference (and no normal stable ref),
the content provider dying will not cause the client process to be
killed.

This is used in ContentResolver.query(), .openAssetFileDescriptor(),
and .openTypedAssetFileDescriptor() to first access the provider
with an unstable reference, and if at the point of calling into the
provider we find it is dead then acquiring a new stable reference
and doing the operation again.  Thus if the provider process dies
at any point until we get the result back, our own process will not
be killed and we can safely retry the operation.

Arguably there is still the potential for a race -- if somehow the
provider is killed way late by the OOM killer after the query or
open has returned -- but this should now be *extremely* unlikely.
We also continue to have the issue with the other calls, but these
are much less critical, and the same model can't be used there (we
wouldn't want to execute two insert operations for example).

The implementation of this required some significant changes to the
underlying plumbing of content providers, now keeping track of the
two different reference counts, and managing them appropriately.  To
facilitate this, the activity manager now has a formal connection
object for a client reference on a content provider, which hands to
the application when opening the provider.

These changes have allowed a lot of the code to be cleaned up and
subtle issues closed.  For example, when a process is crashing, we
now have a much better idea of the state of content provider clients
(olding a stable ref, unstable ref, or waiting for it to launch), so
that we can correctly handle each of these.

The client side code is also a fair amount cleaner, though in the
future there is more than should be done.  In particular, the two
ProviderClientRecord and ProviderRefCount classes should be combined
into one, part of which is exposed to the ContentResolver internal
API as a reference on a content provider with methods for updating
reference counts and such.  Some day we'll do that.

Change-Id: I87b10d1b67573ab899e09ca428f1b556fd669c8c

12 years agoBetter handle changing app transitions.
Craig Mautner [Sun, 27 May 2012 19:02:11 +0000 (12:02 -0700)]
Better handle changing app transitions.

When we are in the middle of an app transition and need to change to a
new one we were not ending the old one in a clean state. Also,
wallpapers were defaulting to the wrong animation in certain
situations.

Remove ':' style iterators.

Fixes bug 6486708.

Change-Id: Ied17e8410486020295db380ff68df5dad08bc5cc

12 years agoFix 6398209: General animation improvements for swipe to search
Jim Miller [Thu, 24 May 2012 00:03:27 +0000 (17:03 -0700)]
Fix 6398209: General animation improvements for swipe to search

This cleans up the animation for swipe to search from the navbar.  In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 29 May 2012 19:41:20 +0000 (12:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: I85d4f52df7eedc1ee7d01e2aeeb98df66b2eb292

12 years agoMerge "Fix bug where recents was getting preloaded unnecessarily" into jb-dev
Michael Jurka [Tue, 29 May 2012 19:26:35 +0000 (12:26 -0700)]
Merge "Fix bug where recents was getting preloaded unnecessarily" into jb-dev

12 years agoMerge "Fixing typos related to portrait enums." into jb-dev
Winson Chung [Tue, 29 May 2012 19:19:10 +0000 (12:19 -0700)]
Merge "Fixing typos related to portrait enums." into jb-dev

12 years agoMerge "Set phone/data signal icon ids to 0 in airplane mode" into jb-dev
Andrew Flynn [Tue, 29 May 2012 19:18:22 +0000 (12:18 -0700)]
Merge "Set phone/data signal icon ids to 0 in airplane mode" into jb-dev

12 years agoMerge "Track animating apps up until animation starts." into jb-dev
Craig Mautner [Tue, 29 May 2012 18:45:16 +0000 (11:45 -0700)]
Merge "Track animating apps up until animation starts." into jb-dev

12 years agoFixing typos related to portrait enums.
Winson Chung [Tue, 29 May 2012 17:56:26 +0000 (10:56 -0700)]
Fixing typos related to portrait enums.

Change-Id: Ia2ca7aebec7c9adba093aec594429c9f01875448

12 years agoMerge "Show power menu on tablets." into jb-dev
Amith Yamasani [Tue, 29 May 2012 18:22:32 +0000 (11:22 -0700)]
Merge "Show power menu on tablets." into jb-dev

12 years agoTrack animating apps up until animation starts.
Craig Mautner [Tue, 29 May 2012 17:46:00 +0000 (10:46 -0700)]
Track animating apps up until animation starts.

ActivityStack sets the mNextAppTransition value before moving the apps
to their proper position. This makes the test for mNextAppTransition
being TRANSITION_UNSET incorrect. Better to just look for animating.

Fixes bug 6565418.

Change-Id: I4651b7d3678e46fc712a8e901992fb01b94c415e

12 years agoMerge "Adding debugging code for bug where recycled views still had parent" into...
Michael Jurka [Tue, 29 May 2012 15:41:49 +0000 (08:41 -0700)]
Merge "Adding debugging code for bug where recycled views still had parent" into jb-dev

12 years agoFix bug where recents was getting preloaded unnecessarily
Michael Jurka [Tue, 29 May 2012 15:25:32 +0000 (08:25 -0700)]
Fix bug where recents was getting preloaded unnecessarily

Change-Id: I7d2254da009113f81fae0a785583b1c7fd6ad020

12 years agoMerge "Moved setting the flag to suppress face unlock during a phone call" into jb-dev
Danielle Millett [Tue, 29 May 2012 13:24:05 +0000 (06:24 -0700)]
Merge "Moved setting the flag to suppress face unlock during a phone call" into jb-dev

12 years agoMake location providers upgradeable.
Nick Pelly [Sun, 27 May 2012 23:12:45 +0000 (16:12 -0700)]
Make location providers upgradeable.

Use config_netowrkLocationProviderPackageName and
config_geocodeProviderPackageName as intial packages. If another
package exists (or is later installed) that also implements a
provider, and has the same signatures as the original providers,
and has a hgiher version number, then use that instead.

The old code used a funky fix of package name substring checks
and service checks that was broken and not upgradeable.

Bug: 6499445
Change-Id: Ic58f09cf85d31d9abf47707093e22f31dda25cf0

12 years agoAdding debugging code for bug where recycled views still had parent
Michael Jurka [Tue, 29 May 2012 10:44:18 +0000 (03:44 -0700)]
Adding debugging code for bug where recycled views still had parent

Bug: 6499508
Change-Id: Iaf95ee6a0836c5f1e863d6a5b969e032d36a2b27

12 years agoActually set the video scaling mode :-)
Bryan Mawhinney [Sun, 27 May 2012 16:42:46 +0000 (17:42 +0100)]
Actually set the video scaling mode :-)

Change-Id: Ia3e77b68a07651861e9be268ab77cac808b3be79

12 years agoMerge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev
Romain Guy [Sat, 26 May 2012 02:21:49 +0000 (19:21 -0700)]
Merge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev

12 years agoMerge "Don't ANR on hover, scroll or if a window goes away." into jb-dev
Jeff Brown [Sat, 26 May 2012 01:38:24 +0000 (18:38 -0700)]
Merge "Don't ANR on hover, scroll or if a window goes away." into jb-dev

12 years agoMerge "Make Google search panel go away when receiving phone call" into jb-dev
Chet Haase [Fri, 25 May 2012 22:49:47 +0000 (15:49 -0700)]
Merge "Make Google search panel go away when receiving phone call" into jb-dev

12 years agoMerge "Copy over the scroll position for the scrolling layer" into jb-dev
John Reck [Fri, 25 May 2012 22:49:15 +0000 (15:49 -0700)]
Merge "Copy over the scroll position for the scrolling layer" into jb-dev

12 years agoShow power menu on tablets.
Amith Yamasani [Thu, 24 May 2012 20:53:26 +0000 (13:53 -0700)]
Show power menu on tablets.

Bug: 6524432

Show power menu on all devices by default. Specific devices will be disabled in overlays.

Handle airplane mode changes differently when the telephony states are not reliable.
Use simple toggle for silent mode when there's no vibrator.

Change-Id: Ic5ef521eee19cd300d909250203ff204f3a1ae1e

12 years agoAllow apps with SEND_SMS_NO_CONFIRMATION to bypass short code check.
Jake Hamby [Fri, 25 May 2012 22:12:36 +0000 (15:12 -0700)]
Allow apps with SEND_SMS_NO_CONFIRMATION to bypass short code check.

Change SMSDispatcher to bypass SMS premium short code confirmation
dialog when caller has "android.permission.SEND_SMS_NO_CONFIRMATION"
permission (instead of checking package name against hardcoded list).

This permission is only available to system apps or those signed with
the same certificates as those in the system image.

Bug: 6502817
Change-Id: I6098d448892cc5e842ba6dc10cf494295e7226af

12 years agoMerge "Retain device during connecting state" into jb-dev
Irfan Sheriff [Fri, 25 May 2012 22:13:27 +0000 (15:13 -0700)]
Merge "Retain device during connecting state" into jb-dev

12 years agoMerge "For 720dp devices, less motion during task-to-task transition." into jb-dev
Brandon Keely [Fri, 25 May 2012 21:38:47 +0000 (14:38 -0700)]
Merge "For 720dp devices, less motion during task-to-task transition." into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 25 May 2012 21:24:44 +0000 (14:24 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 25 May 2012 21:14:55 +0000 (14:14 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoPrevent construction/use of invalid restore session proxies
Christopher Tate [Fri, 25 May 2012 21:14:49 +0000 (14:14 -0700)]
Prevent construction/use of invalid restore session proxies

Possible (rare) null return was not being handled.  Fixes
bug 6554812.

Change-Id: I470e916f2156ff7ed2947d6ce21ef2816fc7f97d

12 years agoCopy over the scroll position for the scrolling layer
John Reck [Fri, 25 May 2012 21:02:26 +0000 (14:02 -0700)]
Copy over the scroll position for the scrolling layer

 Bug: 6557664

Change-Id: I9b1257ee0a4d75f5b445e9f72455d51e4add1c77

12 years agoMerge "Fix bug #6558264 Recent apps launcher is not getting dismissed after launching...
Fabrice Di Meglio [Fri, 25 May 2012 20:49:39 +0000 (13:49 -0700)]
Merge "Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key" into jb-dev

12 years agoMake Google search panel go away when receiving phone call
Chet Haase [Fri, 25 May 2012 19:59:01 +0000 (12:59 -0700)]
Make Google search panel go away when receiving phone call

Issue #6557847 "Google" launcher icon stuck in ring slider after getting incoming call

Change-Id: If77f66fd241af7fbfe6228498b07fd1cfcef36bd

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 20:32:45 +0000 (13:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I893c25a4fd206d9b0c018c44e4441ef36d12eed0

12 years agoFix bug #6558264 Recent apps launcher is not getting dismissed after launching Google...
Fabrice Di Meglio [Fri, 25 May 2012 18:36:03 +0000 (11:36 -0700)]
Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key

- close Recent Apps before launching the Assistant

Change-Id: I823dc254252fb3c1fde0a3adcfb895e368c7d77e

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 20:11:43 +0000 (13:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3528164ed7d96f571cf31df0715100da5120b082

12 years agoRetain device during connecting state
Irfan Sheriff [Fri, 25 May 2012 00:16:50 +0000 (17:16 -0700)]
Retain device during connecting state

With join taking much longer, sometimes device can be lost from supplicant.
Retain device to complete connection.

Also, clear up stale peer data after find stops during inactive state.

Bug: 6557725
Change-Id: I15b92e50a837481f974034b1ea7b32c8abee969e

12 years agoMerge "Fix for IOOB in SearchView" into jb-dev
Gilles Debunne [Fri, 25 May 2012 19:43:39 +0000 (12:43 -0700)]
Merge "Fix for IOOB in SearchView" into jb-dev

12 years agoTale of status bar on crespo, part 3
Romain Guy [Fri, 25 May 2012 19:08:39 +0000 (12:08 -0700)]
Tale of status bar on crespo, part 3
Bug #6541079

The vanished shall not be forgotten.

Change-Id: If01a53d8c203ef82e54d0b440063a8dbebe7b14a

12 years agoMerge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev
Romain Guy [Fri, 25 May 2012 18:43:13 +0000 (11:43 -0700)]
Merge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev

12 years agoTale of status bar on crespo, part 2
Romain Guy [Fri, 25 May 2012 17:44:45 +0000 (10:44 -0700)]
Tale of status bar on crespo, part 2
Bug #6541079

In which a flood destroys flatland.

Change-Id: Ifd1913b645c08531b221b3e010c133f14bcfb0c2

12 years agoMerge "Fix delayed wifi shutdown" into jb-dev
Irfan Sheriff [Fri, 25 May 2012 17:31:46 +0000 (10:31 -0700)]
Merge "Fix delayed wifi shutdown" into jb-dev

12 years agoMerge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev
Romain Guy [Fri, 25 May 2012 17:28:01 +0000 (10:28 -0700)]
Merge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev

12 years agoMerge "Better support for HTML5 audio loop." into jb-dev
Teng-Hui Zhu [Fri, 25 May 2012 17:10:11 +0000 (10:10 -0700)]
Merge "Better support for HTML5 audio loop." into jb-dev

12 years agoMerge "Squelch the logs from SizeAdaptiveLayout." into jb-dev
Chris Wren [Fri, 25 May 2012 13:21:55 +0000 (06:21 -0700)]
Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev

12 years agoFix for IOOB in SearchView
Gilles Debunne [Fri, 25 May 2012 12:04:01 +0000 (14:04 +0200)]
Fix for IOOB in SearchView

Bug 6476578

The latest bug report show a query.length() of 33 while
mQueryTextView.length() is 0 on line 514.

I can see 2 reasons which can explain this discrepancy:
- the mQueryTextView has a filter, which alters the text.
- some asynchronous event (IME?) changes the text in the mean time.

I would favor the second one, which seems to break a lot of single
thread assumptions in the code and generates other IOOB exceptions.

Note that depending on what they are used for, it may be more consistent
to use mQueryTextView.getText() instead of query in the following
assignment.

Change-Id: Ie8a5486b11a80543f8f90980454933c5a74c073e

12 years agoFix delayed wifi shutdown
Vishal Mahaveer [Thu, 24 May 2012 19:03:36 +0000 (14:03 -0500)]
Fix delayed wifi shutdown

Use a wake up alarm to ensure delayed shut down message is sent

Bug: 5926285
Change-Id: I26a3353ddabb17d55299d8b5f9faf4c7ef5b2448
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
12 years agoDon't ANR on hover, scroll or if a window goes away.
Jeff Brown [Fri, 25 May 2012 01:57:32 +0000 (18:57 -0700)]
Don't ANR on hover, scroll or if a window goes away.

Prevents ANR on hover or scroll events.

Prevents ANR in the case where one finger touches a window which
is subsequently removed then a second finger comes along and tries
to touch something.

Change-Id: I985ccb70cd86659992328f14f8a705f3f05ea2e5

12 years agoTale of status bar on crespo, part 1
Romain Guy [Fri, 25 May 2012 02:13:56 +0000 (19:13 -0700)]
Tale of status bar on crespo, part 1
Bug #6541079

In which ghosts are more desirable than standing soldiers.

Change-Id: I92ec33fa344938eabe5adf6644683c7ab19ba8a5

12 years agoMerge "Fix 6535413: Fix overlapping controls in keyguard" into jb-dev
Jim Miller [Fri, 25 May 2012 01:45:24 +0000 (18:45 -0700)]
Merge "Fix 6535413: Fix overlapping controls in keyguard" into jb-dev

12 years agoFix 6535413: Fix overlapping controls in keyguard
Jim Miller [Wed, 23 May 2012 23:59:57 +0000 (16:59 -0700)]
Fix 6535413: Fix overlapping controls in keyguard

It appears that rendering order changed in recent builds.  The
transport control used to work in HC and ICS.  In any case, the fix
is to swap the positions of the two widgets, which ensures the
transport control appears on top of the status area.

Change-Id: I312d0a83e7bebbdc57f037e732e371538a781e86

12 years agoMerge "Unhide KeyguardManager locked and secure state getters" into jb-dev
Jean-Michel Trivi [Fri, 25 May 2012 01:27:37 +0000 (18:27 -0700)]
Merge "Unhide KeyguardManager locked and secure state getters" into jb-dev

12 years agoMerge "Support skipping a touch stream due to lack of handlers" into jb-dev
John Reck [Fri, 25 May 2012 01:11:36 +0000 (18:11 -0700)]
Merge "Support skipping a touch stream due to lack of handlers" into jb-dev

12 years agoUnhide KeyguardManager locked and secure state getters
Jean-Michel Trivi [Fri, 25 May 2012 00:13:06 +0000 (17:13 -0700)]
Unhide KeyguardManager locked and secure state getters

Unhide the following methods:
  android.app.KeyguardManager.isKeyguardLocked()
  android.app.KeyguardManager.isKeyguardSecure()

Fix some javadoc typos

Change-Id: Iedcd9f6a5261b7a3b47431edff013f629e1dc45d

12 years agoMerge "Fix 6547012: ignore events outside the home/back/recent navigation area" into...
Jim Miller [Fri, 25 May 2012 00:51:10 +0000 (17:51 -0700)]
Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev

12 years agoMerge "Redraw all windows earlier in power on sequence." into jb-dev
Craig Mautner [Fri, 25 May 2012 00:48:44 +0000 (17:48 -0700)]
Merge "Redraw all windows earlier in power on sequence." into jb-dev

12 years agoFix 6547012: ignore events outside the home/back/recent navigation area
Jim Miller [Wed, 23 May 2012 22:50:04 +0000 (15:50 -0700)]
Fix 6547012: ignore events outside the home/back/recent navigation area

This fixes the search panel to only show if touch events originate
in the home/back/recent area.

Change-Id: I370da8b5c5613b7bbab5d266ba51a61df8f3a57b

12 years agoMerge "Add debug for tracking down connectivity issues." into jb-dev
Wink Saville [Thu, 24 May 2012 23:05:18 +0000 (16:05 -0700)]
Merge "Add debug for tracking down connectivity issues." into jb-dev

12 years agoAdd debug for tracking down connectivity issues.
Wink Saville [Thu, 24 May 2012 22:44:01 +0000 (15:44 -0700)]
Add debug for tracking down connectivity issues.

bug: 6529189
Change-Id: I5dc4316ceacf48625f0839e0200b77a1e0984465

12 years agoRedraw all windows earlier in power on sequence.
Craig Mautner [Thu, 24 May 2012 18:28:26 +0000 (11:28 -0700)]
Redraw all windows earlier in power on sequence.

Send a message to all windows to redraw before notifying
PhoneWindowManager of screen on. This minimizes the delay in
screen update that causes the keyguard clock to display the old time
before displaying the current time.

Fixes bug 6381021.

Change-Id: Ida7071e7dac2284540f101c5d004511b52133b91

12 years agoSupport skipping a touch stream due to lack of handlers
John Reck [Thu, 24 May 2012 22:30:40 +0000 (15:30 -0700)]
Support skipping a touch stream due to lack of handlers

 Bug: 6317798

Change-Id: Ia1652e9030e877e270326e9e8a8b040810b89f09

12 years agoBetter support for HTML5 audio loop.
Teng-Hui Zhu [Thu, 24 May 2012 21:53:28 +0000 (14:53 -0700)]
Better support for HTML5 audio loop.

Loop is trigger by a seek to 0 when ended on native side but there is no play
call. So on java side, we detect this and call into native side to trigger a
play after completion.
This fixed the UI problem and keep in sync with the native mode.
Beyond that, we don't need to reload for looping and we don't have the seek
to play artifacts.

bug:5461143

webkit change:
https://android-git.corp.google.com/g/#/c/193750/

Change-Id: I779f3e1fbc789832a1a99d1f17823db6b57b35df

12 years agoMerge "Clear bitmap references from display lists as early as possible Bug #6555840...
Romain Guy [Thu, 24 May 2012 21:25:44 +0000 (14:25 -0700)]
Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev

12 years agoClear bitmap references from display lists as early as possible
Romain Guy [Thu, 24 May 2012 21:20:56 +0000 (14:20 -0700)]
Clear bitmap references from display lists as early as possible
Bug #6555840

Apps like Google+ with large bitmaps displayed in listivews could
run into memory issues because of these references.

Change-Id: I39486bda13ce00c5a3b6481139ad54547506a8b4

12 years agoMerge "Modify logging to debug this issue" into jb-dev
Robert Greenwalt [Thu, 24 May 2012 19:27:23 +0000 (12:27 -0700)]
Merge "Modify logging to debug this issue" into jb-dev

12 years agoMerge "AudioManager: restore setBluetoothA2dpOn() method" into jb-dev
Eric Laurent [Thu, 24 May 2012 18:39:36 +0000 (11:39 -0700)]
Merge "AudioManager: restore setBluetoothA2dpOn() method" into jb-dev

12 years agoMerge "Advise persist threshold outside NPMS lock." into jb-dev
Jeff Sharkey [Thu, 24 May 2012 18:38:12 +0000 (11:38 -0700)]
Merge "Advise persist threshold outside NPMS lock." into jb-dev

12 years agoModify logging to debug this issue
Robert Greenwalt [Tue, 22 May 2012 23:07:46 +0000 (16:07 -0700)]
Modify logging to debug this issue

Logging exec time on startUsingNetworkFeature as we've had some reports suggesting it's
causing ANRs.
Remove some logging from NDC so it's local log is more useful.

bug:6492166
Change-Id: I258ff6c59bff2c65935242d50496d84720c5d493

12 years agoMerge "Fix bug #6522190 MountService should respond to configuration changes ("INTERN...
Fabrice Di Meglio [Thu, 24 May 2012 17:42:23 +0000 (10:42 -0700)]
Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev

12 years agoSet phone/data signal icon ids to 0 in airplane mode
Andrew Flynn [Thu, 24 May 2012 17:30:23 +0000 (10:30 -0700)]
Set phone/data signal icon ids to 0 in airplane mode

Sets the views to be GONE and also triggers a view refresh for airplane mode
switching

Bug: 6531918
Change-Id: I3b544df3665c16ff11cb79c6fa882fa4314db680

12 years agoAdvise persist threshold outside NPMS lock.
Jeff Sharkey [Thu, 24 May 2012 17:21:16 +0000 (10:21 -0700)]
Advise persist threshold outside NPMS lock.

Bug: 6492166
Change-Id: Ibebdc7e9b8cae27c12fd7b61b53ab60287a0364d

12 years agoMerge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev
George Mount [Thu, 24 May 2012 16:53:17 +0000 (09:53 -0700)]
Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev

12 years agoMerge "Make the WebCore thread watchdog opt in." into jb-dev
Ben Murdoch [Thu, 24 May 2012 16:30:10 +0000 (09:30 -0700)]
Merge "Make the WebCore thread watchdog opt in." into jb-dev

12 years agoMerge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev
Brian Colonna [Thu, 24 May 2012 15:50:58 +0000 (08:50 -0700)]
Merge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev

12 years agoUse setCustomSelectActionModeCallback to disallow action bar.
George Mount [Wed, 23 May 2012 23:55:46 +0000 (16:55 -0700)]
Use setCustomSelectActionModeCallback to disallow action bar.

 Bug 5993716
 Use setCustomSelectActionModeCallback rather than
 setLongClickListener to disallow custom action block so
 that long press can bring up the paste window.

Change-Id: I916e77dcea7914c02191f0ecda37cd126318807d

12 years agoMake the WebCore thread watchdog opt in.
Ben Murdoch [Thu, 24 May 2012 12:01:57 +0000 (13:01 +0100)]
Make the WebCore thread watchdog opt in.

Add a setting on WebViewCore to control whether we monitor
the responsiveness of the WebCore thread. Default is not
to monitor.

Bug: 6447214
Change-Id: Ia95e5c769d458dcd24ae50660b2f22e93851956f

12 years agoFix the issue on matching the locale in TextServicesManagerService
satok [Thu, 24 May 2012 09:10:37 +0000 (18:10 +0900)]
Fix the issue on matching the locale in TextServicesManagerService

Bug: 6542210

Change-Id: I42d84b684d5689e8fceecb705bb51d19d847477a

12 years agoUse correct spell check locale
satok [Thu, 24 May 2012 07:52:54 +0000 (16:52 +0900)]
Use correct spell check locale

Bug: 6542210
Change-Id: I414aa2321f30e396996d90fb8e90c1dbb3bb7b9e

12 years agoMerge "Change method of tracking moving AppWindowTokens." into jb-dev
Craig Mautner [Thu, 24 May 2012 01:30:25 +0000 (18:30 -0700)]
Merge "Change method of tracking moving AppWindowTokens." into jb-dev

12 years agoMerge "Fix jank when launching apps that show wallpaper." into jb-dev
Craig Mautner [Thu, 24 May 2012 01:29:39 +0000 (18:29 -0700)]
Merge "Fix jank when launching apps that show wallpaper." into jb-dev

12 years agoMerge "Fix bad aspect ratios for recorded effects" into jb-dev
Wu-cheng Li [Thu, 24 May 2012 00:57:23 +0000 (17:57 -0700)]
Merge "Fix bad aspect ratios for recorded effects" into jb-dev

12 years agoMerge "Fix a bug with deferred position scrolling in lists while data changes are...
Adam Powell [Thu, 24 May 2012 00:49:21 +0000 (17:49 -0700)]
Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev

12 years agoFix a bug with deferred position scrolling in lists while data changes
Adam Powell [Thu, 24 May 2012 00:22:49 +0000 (17:22 -0700)]
Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b

12 years agoChange method of tracking moving AppWindowTokens.
Craig Mautner [Wed, 16 May 2012 06:01:47 +0000 (23:01 -0700)]
Change method of tracking moving AppWindowTokens.

Stop trying to keep track of the AppTokens that have been moved
to the top and bottom and then try and match the WindowStates when
transitions are goodToGo. Instead rebuild the WindowState order based
on the AppToken order when we are goodToGo.

When moving AppWindowTokens lower in mAppTokens create a new ArrayList
of AppWindowTokens to keep track of the apps in Z order while
animating.

Fixes bug 6481078.

Change-Id: I29b33a507b45752f15feb10a9f4b47a3f5eb9f0e

12 years agoFix jank when launching apps that show wallpaper.
Craig Mautner [Wed, 23 May 2012 23:57:23 +0000 (16:57 -0700)]
Fix jank when launching apps that show wallpaper.

Do not create a StartingWindow for apps that show wallpaper.
Fix handling of obscure case where found wallpaper is hidden.

Fixes bug 6484034.

Change-Id: I07181c4aea56fa9e530df0c95d886fe8ad61ec9d

12 years agoFix bad aspect ratios for recorded effects
Pannag Sanketi [Tue, 22 May 2012 01:08:35 +0000 (18:08 -0700)]
Fix bad aspect ratios for recorded effects

Fix b/6530189
Fix b/6535207
Change-Id: I6ef09bd619acc31af53d9991335cda33b7c08908

12 years agoFix bug #6522190 MountService should respond to configuration changes ("INTERNAL...
Fabrice Di Meglio [Sat, 19 May 2012 01:08:58 +0000 (18:08 -0700)]
Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)

- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string

Change-Id: I30f3080fce2c889be38bfdf9f5121dffcf8a99e8

12 years agoMerge "ActivityChooser view not handling its removal and relayout properly." into...
Svetoslav Ganov [Wed, 23 May 2012 23:06:47 +0000 (16:06 -0700)]
Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev

12 years agoMerge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288...
Romain Guy [Wed, 23 May 2012 22:49:50 +0000 (15:49 -0700)]
Merge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288" into jb-dev

12 years agoActivityChooser view not handling its removal and relayout properly.
Svetoslav Ganov [Wed, 23 May 2012 22:21:10 +0000 (15:21 -0700)]
ActivityChooser view not handling its removal and relayout properly.

1. ActivityChooserView did not hide the popup window when detached.

bug:6544220

2. ActivityChooserView was calling show popup when it was already
   showing it resulting in an incrrect update and losing one item
   per rotation.

bug:6522041

Change-Id: Iec1682ca5d27e38caf57214fa86060edf82a2166

12 years agoMerge "System accessibility state update postponed if UI test autmation is running...
Svetoslav Ganov [Wed, 23 May 2012 22:19:04 +0000 (15:19 -0700)]
Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev

12 years agoMerge "Show caret handle when clicking in the middle of text." into jb-dev
George Mount [Wed, 23 May 2012 21:50:23 +0000 (14:50 -0700)]
Merge "Show caret handle when clicking in the middle of text." into jb-dev