OSDN Git Service

android-x86/frameworks-base.git
12 years agoFix some apn settings issues.
Robert Greenwalt [Wed, 9 May 2012 20:35:47 +0000 (13:35 -0700)]
Fix some apn settings issues.

Correct some logging that was misleading and be more precise in our
removal of things from the waiting list.

bug:6445253
Change-Id: I97b20b851617149a24303276392de403dbde2a8f

12 years agoMerge "Throw RemoteException when MountService is not yet up" into jb-dev
Kenny Root [Wed, 9 May 2012 20:27:08 +0000 (13:27 -0700)]
Merge "Throw RemoteException when MountService is not yet up" into jb-dev

12 years agoMerge "Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes...
Andreas Huber [Wed, 9 May 2012 20:20:32 +0000 (13:20 -0700)]
Merge "Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no" into jb-dev

12 years agoMerge "Remove STOPSHIP part of the logging in telephony" into jb-dev
Daisuke Miyakawa [Wed, 9 May 2012 19:04:49 +0000 (12:04 -0700)]
Merge "Remove STOPSHIP part of the logging in telephony" into jb-dev

12 years agoMerge "Spell checker underlines words even when there are no suggestions" into jb-dev
Gilles Debunne [Wed, 9 May 2012 18:49:08 +0000 (11:49 -0700)]
Merge "Spell checker underlines words even when there are no suggestions" into jb-dev

12 years agoRemove STOPSHIP part of the logging in telephony
Daisuke Miyakawa [Wed, 9 May 2012 18:44:58 +0000 (11:44 -0700)]
Remove STOPSHIP part of the logging in telephony

We still need the log itself to trap the exceptional case.

Bug: 6201805
Change-Id: I62d12f6a1ed41817ee12c0f5c7fc4aa0a967a60f

12 years agoMerge "Add Roboto Light and Light italic fonts, as sans-serif-light family" into...
Raph Levien [Wed, 9 May 2012 18:44:38 +0000 (11:44 -0700)]
Merge "Add Roboto Light and Light italic fonts, as sans-serif-light family" into jb-dev

12 years agoRemove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no
Andreas Huber [Wed, 9 May 2012 18:25:29 +0000 (11:25 -0700)]
Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes no

sense for the java API.

Change-Id: I3f2eabb5ca5ffb6c1f03141bfd303310111e8774
related-to-bug: 6276111

12 years agoMerge "Accounting for widget padding in dips instead of pixels" into jb-dev
Adam Cohen [Wed, 9 May 2012 18:23:12 +0000 (11:23 -0700)]
Merge "Accounting for widget padding in dips instead of pixels" into jb-dev

12 years agoMerge "Keep layout from overwriting translate dimensions" into jb-dev
Craig Mautner [Wed, 9 May 2012 18:17:19 +0000 (11:17 -0700)]
Merge "Keep layout from overwriting translate dimensions" into jb-dev

12 years agoAccounting for widget padding in dips instead of pixels
Adam Cohen [Wed, 9 May 2012 18:13:54 +0000 (11:13 -0700)]
Accounting for widget padding in dips instead of pixels

Change-Id: I29c4290274f8b9fa6d9b49072d3cf37cf6f1acb8

12 years agoMerge "Fix the issue that the insets linger after closing the voice input" into jb-dev
satok [Wed, 9 May 2012 18:04:51 +0000 (11:04 -0700)]
Merge "Fix the issue that the insets linger after closing the voice input" into jb-dev

12 years agoFix the issue that the insets linger after closing the voice input
satok [Wed, 9 May 2012 17:22:58 +0000 (02:22 +0900)]
Fix the issue that the insets linger after closing the voice input

Bug: 6456954
Change-Id: Idf7700271cf882dfbf35c9d16f0f173a791221bc

12 years agoMerge "services: input events: enable debugging in EventHub (touch screen issues...
JP Abgrall [Wed, 9 May 2012 17:41:28 +0000 (10:41 -0700)]
Merge "services: input events: enable debugging in EventHub (touch screen issues)" into jb-dev

12 years agoKeep layout from overwriting translate dimensions
Craig Mautner [Wed, 9 May 2012 17:37:41 +0000 (10:37 -0700)]
Keep layout from overwriting translate dimensions

If the layout goes through more than one pass after detecting a window
movement but before animation begins then the later pass overwrites
the animation offsets. The incorrect values are large leading to an
animation starting location in the bottom right corner.

Fixes bug 6450310.

Change-Id: I0f74e67b3e9a15a9246151abf6d47384509340e9

12 years agoAdd Roboto Light and Light italic fonts, as sans-serif-light family
Raph Levien [Wed, 9 May 2012 16:49:21 +0000 (09:49 -0700)]
Add Roboto Light and Light italic fonts, as sans-serif-light family

Change-Id: Ibbdd7a74f3731c8e9c9fe60ce04a179c081bc09c

12 years agoMerge "GFX api cleanup 1.5 of 2" into jb-dev
Stephen Hines [Wed, 9 May 2012 17:26:36 +0000 (10:26 -0700)]
Merge "GFX api cleanup 1.5 of 2" into jb-dev

12 years agoMerge "Have a new constant for "vibrate when ringing" setting" into jb-dev
Daisuke Miyakawa [Wed, 9 May 2012 17:16:07 +0000 (10:16 -0700)]
Merge "Have a new constant for "vibrate when ringing" setting" into jb-dev

12 years agoMerge "Fix the issue that the ime switch icon is remaining after closing VoiceInput...
satok [Wed, 9 May 2012 17:04:06 +0000 (10:04 -0700)]
Merge "Fix the issue that the ime switch icon is remaining after closing VoiceInput" into jb-dev

12 years agoFix the issue that the ime switch icon is remaining after closing VoiceInput
satok [Wed, 9 May 2012 16:48:03 +0000 (01:48 +0900)]
Fix the issue that the ime switch icon is remaining after closing VoiceInput

Change-Id: I4fd6b7b6c1e8a2603626d82ed3587716bea519d3

12 years agoMerge "Added checks to make sure FUL functions are on UI thread" into jb-dev
Brian Colonna [Wed, 9 May 2012 16:44:05 +0000 (09:44 -0700)]
Merge "Added checks to make sure FUL functions are on UI thread" into jb-dev

12 years agoThrow RemoteException when MountService is not yet up
Kenny Root [Wed, 9 May 2012 16:14:28 +0000 (09:14 -0700)]
Throw RemoteException when MountService is not yet up

Instead of throwing NullPointerException when getMountService() returns
null, simply throw RemoteException so the code calling getMountService()
can fail gracefully.

Bug: 6461657
Change-Id: Ibefc17de3e0024eb73bbd24914759c0a404f538e

12 years agoAdded checks to make sure FUL functions are on UI thread
Brian Colonna [Wed, 9 May 2012 15:16:04 +0000 (11:16 -0400)]
Added checks to make sure FUL functions are on UI thread

There are three functions in FaceUnlock.java that have the requirement
that they are to be called on the UI thread.  I added checks to log
an error if they are ever called off of the UI thread.

Change-Id: I581968e8138b7561b7ad75a1ac6945bf218e2bcf

12 years agoMerge "More visual refresh in the phone notification panel." into jb-dev
Daniel Sandler [Wed, 9 May 2012 14:42:48 +0000 (07:42 -0700)]
Merge "More visual refresh in the phone notification panel." into jb-dev

12 years agoMerge "Fix situations where the shade wouldn't close." into jb-dev
Daniel Sandler [Wed, 9 May 2012 14:42:33 +0000 (07:42 -0700)]
Merge "Fix situations where the shade wouldn't close." into jb-dev

12 years agoFix sort order of the input method switcher in IMMS
satok [Wed, 9 May 2012 08:14:08 +0000 (17:14 +0900)]
Fix sort order of the input method switcher in IMMS

Bug: 6333988
Change-Id: Ief392c9157f2a37600e517ec9caf586ffb9d5f0d

12 years agoMore visual refresh in the phone notification panel.
Daniel Sandler [Tue, 8 May 2012 17:56:44 +0000 (13:56 -0400)]
More visual refresh in the phone notification panel.

Bug: 6418617
Change-Id: Iae9b02084989fad3ec8bb8c88a84c0ec96fc4f22

12 years agoFix situations where the shade wouldn't close.
Daniel Sandler [Wed, 9 May 2012 06:06:29 +0000 (02:06 -0400)]
Fix situations where the shade wouldn't close.

It appears sometimes the Choreographer will call you with an
old frame (i.e. an animation time in the past).

Bug: 6457615
Change-Id: I7135e2f4f524c14fe4f58f9a367f764b66d68edc

12 years agoMerge "Do not return stale subtypes" into jb-dev
satok [Wed, 9 May 2012 06:39:32 +0000 (23:39 -0700)]
Merge "Do not return stale subtypes" into jb-dev

12 years agoMerge "Forgive me monkeys, for I have sinned." into jb-dev
Adam Powell [Wed, 9 May 2012 05:32:00 +0000 (22:32 -0700)]
Merge "Forgive me monkeys, for I have sinned." into jb-dev

12 years agoForgive me monkeys, for I have sinned.
Adam Powell [Wed, 9 May 2012 05:22:52 +0000 (22:22 -0700)]
Forgive me monkeys, for I have sinned.

It has been several hours since my last commit.

Fix an obscure bug that could cause call ordering problems while
updating ListAdapter-based MenuPresenters. This would trigger an
inconsistent return value from the adapter's getCount method that
didn't take the expanded menu item into account, resulting in the
infamous ListView "you didn't call notifyDataSetChanged" exception.

Bug 6412318

Change-Id: I6262846d9c2acdb87ff99116ad78ca4a388efa6d

12 years agoMerge "Not to add invalid spell check spans Bug: 6464197" into jb-dev
satok [Wed, 9 May 2012 02:42:13 +0000 (19:42 -0700)]
Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev

12 years agoMerge "Fix measurement for dialog windows that do not have fixed width" into jb-dev
Adam Powell [Wed, 9 May 2012 02:23:21 +0000 (19:23 -0700)]
Merge "Fix measurement for dialog windows that do not have fixed width" into jb-dev

12 years agoNot to add invalid spell check spans
satok [Wed, 9 May 2012 02:20:17 +0000 (11:20 +0900)]
Not to add invalid spell check spans
Bug: 6464197

Change-Id: I6e9d359847b200e2afae61f85eb7cfe7f179b888

12 years agoMerge "Fix Wifi test" into jb-dev
Xia Wang [Wed, 9 May 2012 02:13:14 +0000 (19:13 -0700)]
Merge "Fix Wifi test" into jb-dev

12 years agoFix measurement for dialog windows that do not have fixed width
Adam Powell [Wed, 9 May 2012 02:04:29 +0000 (19:04 -0700)]
Fix measurement for dialog windows that do not have fixed width

Bug 6456773

Change-Id: I9d058f78c4b1c1759aaea2f215efee82a3489faa

12 years agoMerge "Support for changing traces from development settings." into jb-dev
Dianne Hackborn [Wed, 9 May 2012 01:54:58 +0000 (18:54 -0700)]
Merge "Support for changing traces from development settings." into jb-dev

12 years agoMerge "Check for null fd when constructing AssetFileDescriptor." into jb-dev
Jeff Brown [Wed, 9 May 2012 01:41:49 +0000 (18:41 -0700)]
Merge "Check for null fd when constructing AssetFileDescriptor." into jb-dev

12 years agoGFX api cleanup 1.5 of 2
Jason Sams [Wed, 9 May 2012 01:40:58 +0000 (18:40 -0700)]
GFX api cleanup 1.5 of 2

Change-Id: Ib31332ae0b7a6059d4971ea616089cd382ef6895

12 years agoHave a new constant for "vibrate when ringing" setting
Daisuke Miyakawa [Tue, 8 May 2012 19:08:25 +0000 (12:08 -0700)]
Have a new constant for "vibrate when ringing" setting

Bug: 6036529
Change-Id: I850d27629a75615647883fdaa2933f337c4824d1

12 years agoMerge "Fix: Missed parcel recycling in MediaPlayer." into jb-dev
James Dong [Wed, 9 May 2012 01:29:44 +0000 (18:29 -0700)]
Merge "Fix: Missed parcel recycling in MediaPlayer." into jb-dev

12 years agoMerge "Renaming the constants for activation and long press." into jb-dev
Svetoslav Ganov [Wed, 9 May 2012 01:21:02 +0000 (18:21 -0700)]
Merge "Renaming the constants for activation and long press." into jb-dev

12 years agoMerge "Make window shade fast on non-high end gfx displays" into jb-dev
Romain Guy [Wed, 9 May 2012 01:02:05 +0000 (18:02 -0700)]
Merge "Make window shade fast on non-high end gfx displays" into jb-dev

12 years agoMerge "Add missing native method to Canvas_Delegate." into jb-dev
Xavier Ducrohet [Wed, 9 May 2012 00:44:36 +0000 (17:44 -0700)]
Merge "Add missing native method to Canvas_Delegate." into jb-dev

12 years agoMerge "GFX api cleanup 1 of 2" into jb-dev
Jason Sams [Wed, 9 May 2012 00:42:44 +0000 (17:42 -0700)]
Merge "GFX api cleanup 1 of 2" into jb-dev

12 years agoGFX api cleanup 1 of 2
Jason Sams [Wed, 9 May 2012 00:30:26 +0000 (17:30 -0700)]
GFX api cleanup 1 of 2

Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c

12 years agoMerge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into...
Dianne Hackborn [Wed, 9 May 2012 00:19:15 +0000 (17:19 -0700)]
Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev

12 years agoFix Issue 26574: Service's onStartCommand receiving incorrect flag...
Dianne Hackborn [Wed, 9 May 2012 00:14:58 +0000 (17:14 -0700)]
Fix Issue 26574: Service's onStartCommand receiving incorrect flag...

...parameter for Intents

Change-Id: I2e2332c87e008c7ad6a89e17ae3f732c78e376ef

12 years agoAdd missing native method to Canvas_Delegate.
Xavier Ducrohet [Wed, 9 May 2012 00:14:18 +0000 (17:14 -0700)]
Add missing native method to Canvas_Delegate.

Change-Id: I86288c942004e5489eacc43ba5e112cf56f94487

12 years agoMerge "Fix bug in TaskStackBuilder#addParentStack" into jb-dev
Adam Powell [Wed, 9 May 2012 00:02:12 +0000 (17:02 -0700)]
Merge "Fix bug in TaskStackBuilder#addParentStack" into jb-dev

12 years agoMerge "Fix wallpaper exposure bugs." into jb-dev
Craig Mautner [Wed, 9 May 2012 00:01:43 +0000 (17:01 -0700)]
Merge "Fix wallpaper exposure bugs." into jb-dev

12 years agoFix bug in TaskStackBuilder#addParentStack
Adam Powell [Tue, 8 May 2012 23:55:20 +0000 (16:55 -0700)]
Fix bug in TaskStackBuilder#addParentStack

Don't assume the initial component has a valid parent specified.

Bug 6464209

Change-Id: I22aa4c0e667ea85dc46ad7320f4a9f52117af520

12 years agoMerge "Fixing View.getBoundsOnScreen()" into jb-dev
Svetoslav Ganov [Tue, 8 May 2012 23:49:13 +0000 (16:49 -0700)]
Merge "Fixing View.getBoundsOnScreen()" into jb-dev

12 years agoFixing View.getBoundsOnScreen()
Svetoslav Ganov [Tue, 8 May 2012 23:36:34 +0000 (16:36 -0700)]
Fixing View.getBoundsOnScreen()

1. The function was not setting the initial rect properly.

bug:6462629

Change-Id: I7a832a979576fc5745794c68fb8414257efb21dd

12 years agoMerge "Pass webview instance when getting base layer / color, and prevent null value...
Chris Craik [Tue, 8 May 2012 23:40:20 +0000 (16:40 -0700)]
Merge "Pass webview instance when getting base layer / color, and prevent null value" into jb-dev

12 years agoservices: input events: enable debugging in EventHub (touch screen issues)
JP Abgrall [Tue, 8 May 2012 23:38:33 +0000 (16:38 -0700)]
services: input events: enable debugging in EventHub (touch screen issues)

Enable verbose logging, but limit the output of events to only those that
are stale by more than 1ms.
This does not overly pollute the logcat output.

Bug: 6258051
Change-Id: I32012a379ca0e97c0834975482cd91f9eeb08907

12 years agoFix wallpaper exposure bugs.
Craig Mautner [Tue, 8 May 2012 22:38:00 +0000 (15:38 -0700)]
Fix wallpaper exposure bugs.

Qualify the test for wallpaper animation to exclude the dummy
animation. This keeps us from treating a dummy-animating wallpaper
as an exiting wallpaper and providing the wrong animation.

Hide wallpapers when the wallpaper target window is hidden. This
fixes a timing issue where the wallpaper was exposed for one pass
through performLayout after the launcher was hidden.

Fixes bug 6454992.

Change-Id: Ib4f9205c01a37e6f48f1f93ddcf2476e40ff942f

12 years agoMerge "Scroll edit text into view when keyboard shows." into jb-dev
George Mount [Tue, 8 May 2012 23:25:58 +0000 (16:25 -0700)]
Merge "Scroll edit text into view when keyboard shows." into jb-dev

12 years agoMerge "Handle addition of system apps during OTA" into jb-dev
Kenny Root [Tue, 8 May 2012 23:14:20 +0000 (16:14 -0700)]
Merge "Handle addition of system apps during OTA" into jb-dev

12 years agoHandle addition of system apps during OTA
Kenny Root [Tue, 8 May 2012 02:42:35 +0000 (19:42 -0700)]
Handle addition of system apps during OTA

If there were apps already installed that were added in a later system
OTA, bad things would happen.

If the previously installed application is an older version, simply
delete the installed application. If the system app is older than the
previously installed one, mark it as a disabled system app and use the
previoulsy installed application.

Additionally, the application will now have the correct granted
permissions.

Bug: 6251602
Change-Id: Iea444b6acac460fca1e08d4e2cbf68a258214ca6

12 years agoMerge "Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 64542...
Adam Cohen [Tue, 8 May 2012 22:55:50 +0000 (15:55 -0700)]
Merge "Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)" into jb-dev

12 years agoAccount for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)
Adam Cohen [Tue, 8 May 2012 22:32:23 +0000 (15:32 -0700)]
Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)

Change-Id: Ibf837671cc13ee89ca979e9e6dc9d144b296deba

12 years agoMerge "More fun with AbsListView smooth scrolling" into jb-dev
Adam Powell [Tue, 8 May 2012 22:52:12 +0000 (15:52 -0700)]
Merge "More fun with AbsListView smooth scrolling" into jb-dev

12 years agoMore fun with AbsListView smooth scrolling
Adam Powell [Tue, 8 May 2012 22:42:13 +0000 (15:42 -0700)]
More fun with AbsListView smooth scrolling

If any data set change is pending when a smooth scroll is requested,
post it for later - not just if the list is currently empty.

Fix a bug in relative smooth scrolling where the last view was being
determined incorrectly.

Bug 6434713

Change-Id: Ic249eefc594151a414a6a8758074a9a60888e2b4

12 years agoSpell checker underlines words even when there are no suggestions
Gilles Debunne [Tue, 8 May 2012 22:39:15 +0000 (15:39 -0700)]
Spell checker underlines words even when there are no suggestions

Bug 6222722

Also fixed a cast to Long warning.

Change-Id: Ief299cc3cb952b83f774ca1be13dc69352015a3e

12 years agoMake window shade fast on non-high end gfx displays
Romain Guy [Tue, 8 May 2012 22:30:57 +0000 (15:30 -0700)]
Make window shade fast on non-high end gfx displays

Change-Id: I64a4861845978f9209c2b7d24c40c65ce7483dcb

12 years agoMerge "Fix a race condition with respect to clients of SyncStorageEngine." into jb-dev
Carlos Valdivia [Tue, 8 May 2012 22:27:03 +0000 (15:27 -0700)]
Merge "Fix a race condition with respect to clients of SyncStorageEngine." into jb-dev

12 years agoMerge "Disable input dispatch until boot finished." into jb-dev
Jeff Brown [Tue, 8 May 2012 22:15:56 +0000 (15:15 -0700)]
Merge "Disable input dispatch until boot finished." into jb-dev

12 years agoMerge "Silent and Vibrate mode clean up" into jb-dev
Eric Laurent [Tue, 8 May 2012 22:15:49 +0000 (15:15 -0700)]
Merge "Silent and Vibrate mode clean up" into jb-dev

12 years agoMerge "Removed debug code in TextView" into jb-dev
Gilles Debunne [Tue, 8 May 2012 22:13:41 +0000 (15:13 -0700)]
Merge "Removed debug code in TextView" into jb-dev

12 years agoSilent and Vibrate mode clean up
Eric Laurent [Tue, 8 May 2012 00:43:49 +0000 (17:43 -0700)]
Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
 - presence of a vibrator on the device
 - current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
 VOL- and volume equals 1: NORMAL => VIBRATE
 VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
 VOL+ and in SILENT mode: SILENT => VIBRATE
 VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
 VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
 VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
 Added dump for stream volumes in AudioService.
 Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef

12 years agoRemoved debug code in TextView
Gilles Debunne [Tue, 8 May 2012 21:53:20 +0000 (14:53 -0700)]
Removed debug code in TextView

Bug 6462527

The String parameter was used to debug code during the
refactoring process.

Change-Id: I49a78bbfa3b45c185311d0dbebddddc52515c099

12 years agoSupport for changing traces from development settings.
Dianne Hackborn [Tue, 8 May 2012 21:53:24 +0000 (14:53 -0700)]
Support for changing traces from development settings.

Publish information needed to build UI, fix SystemProperties.getLong()
to be able to read this property, fix some issues in
MultiCheckPreference.

Change-Id: I10c8ff84a167fdb42f6c93500201b78b844cfb8b

12 years agoMerge "Invalidate display lists immediately when views are removed/added quickly...
Romain Guy [Tue, 8 May 2012 21:52:48 +0000 (14:52 -0700)]
Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev

12 years agoInvalidate display lists immediately when views are removed/added quickly
Romain Guy [Tue, 8 May 2012 21:43:12 +0000 (14:43 -0700)]
Invalidate display lists immediately when views are removed/added quickly

The deferred invalidation of display list could cause problems with
view like TextureView who destroy resources when detached from the
window but only recreate them later at draw time. This would cause
temporary flashes or other visual glitches on screen.

Change-Id: I018488ba09743df21c6434ea610813014fb80a85

12 years agoMerge "DefaultGestureHandlingHelperService should not include non-important views...
Svetoslav Ganov [Tue, 8 May 2012 21:46:01 +0000 (14:46 -0700)]
Merge "DefaultGestureHandlingHelperService should not include non-important views." into jb-dev

12 years agoMerge "Return codec buffers that are marked as having host endianness." into jb-dev
Andreas Huber [Tue, 8 May 2012 21:32:23 +0000 (14:32 -0700)]
Merge "Return codec buffers that are marked as having host endianness." into jb-dev

12 years agoRenaming the constants for activation and long press.
Svetoslav Ganov [Tue, 8 May 2012 20:46:48 +0000 (13:46 -0700)]
Renaming the constants for activation and long press.

1. We will have a double tap to activate an item and
   tap and hold to perform a long press.

Change-Id: Ibd9d8774e5a4693d8868d1128e55a82ff0c3a80b

12 years agoCheck for null fd when constructing AssetFileDescriptor.
Jeff Brown [Tue, 8 May 2012 21:29:09 +0000 (14:29 -0700)]
Check for null fd when constructing AssetFileDescriptor.

An AssetFileDescriptor with a null fd is pretty useless and should
never happen during normal operation.  It can't even be parcelled
without hitting an NPE.  To make it easier to find bugs where a null
fd might have been generated, check at construction time.

Bug: 5655036
Change-Id: I1da6dbee0cab9c11e309f3cebe698bf44dc5e27d

12 years agoMerge "Revert "Deprecate"" into jb-dev
Stephen Hines [Tue, 8 May 2012 21:25:49 +0000 (14:25 -0700)]
Merge "Revert "Deprecate"" into jb-dev

12 years agoPass webview instance when getting base layer / color, and prevent null value
Chris Craik [Tue, 8 May 2012 20:44:33 +0000 (13:44 -0700)]
Pass webview instance when getting base layer / color, and prevent null value

Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/188470/

bug:6429897
Change-Id: Ic948f102034dbe57c61d7fc6de73a4ddd062f686

12 years agoDisable input dispatch until boot finished.
Jeff Brown [Tue, 8 May 2012 20:03:42 +0000 (13:03 -0700)]
Disable input dispatch until boot finished.

Bug: 6263070
Change-Id: I25e15e3d8af8eb3343c7b684fec345337d9f6aab

12 years agoReturn codec buffers that are marked as having host endianness.
Andreas Huber [Tue, 8 May 2012 20:50:45 +0000 (13:50 -0700)]
Return codec buffers that are marked as having host endianness.

Change-Id: Iedfd829d108e65ee368909af14ace68b63e0e168
related-to-bug: 6364139

12 years agoMerge "Revert "Add temporary functor lifetime logging"" into jb-dev
Chris Craik [Tue, 8 May 2012 20:35:09 +0000 (13:35 -0700)]
Merge "Revert "Add temporary functor lifetime logging"" into jb-dev

12 years agoRevert "Add temporary functor lifetime logging"
Chris Craik [Tue, 8 May 2012 20:07:13 +0000 (13:07 -0700)]
Revert "Add temporary functor lifetime logging"

bug:6445573

This reverts commit 2fe99801e81bb7c0ff846b536cbb7a12707410ed

12 years agoMerge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
Svetoslav Ganov [Tue, 8 May 2012 19:52:57 +0000 (12:52 -0700)]
Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev

12 years agoMerge "Prune hidden system apps when removed via OTA" into jb-dev
Kenny Root [Tue, 8 May 2012 19:50:07 +0000 (12:50 -0700)]
Merge "Prune hidden system apps when removed via OTA" into jb-dev

12 years agoMerge "Don't call into power HAL if it isn't loaded." into jb-dev
Colin Cross [Tue, 8 May 2012 19:25:45 +0000 (12:25 -0700)]
Merge "Don't call into power HAL if it isn't loaded." into jb-dev

12 years agoDon't call into power HAL if it isn't loaded.
Colin Cross [Tue, 8 May 2012 19:18:38 +0000 (12:18 -0700)]
Don't call into power HAL if it isn't loaded.

The patch to call into libsuspend accidentally dropped the
test for sPowerModule == NULL.  Put it back, and fix some
tabs too.

Change-Id: I1f934a41540f3b7be01d6399512482d87acceb94

12 years agoMerge "Clarification of MediaCodec behaviour when codec specific data is included...
Andreas Huber [Tue, 8 May 2012 19:00:39 +0000 (12:00 -0700)]
Merge "Clarification of MediaCodec behaviour when codec specific data is included" into jb-dev

12 years agoClarification of MediaCodec behaviour when codec specific data is included
Andreas Huber [Tue, 8 May 2012 18:33:12 +0000 (11:33 -0700)]
Clarification of MediaCodec behaviour when codec specific data is included

in the format passed to configure().

Change-Id: I150f52e8092c0f7d897891f02ba6b1d89b6230f4
related-to-bug: 6364139

12 years agoMerge "AccessibilityNodeInfo for visible views should reported." into jb-dev
Svetoslav Ganov [Tue, 8 May 2012 18:32:20 +0000 (11:32 -0700)]
Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev

12 years agoMerge "Accessibility focus on temporary detached view not cleared." into jb-dev
Svetoslav Ganov [Tue, 8 May 2012 18:29:37 +0000 (11:29 -0700)]
Merge "Accessibility focus on temporary detached view not cleared." into jb-dev

12 years agoMerge "Fix some oddities in ResolverActivity" into jb-dev
Adam Powell [Tue, 8 May 2012 18:27:27 +0000 (11:27 -0700)]
Merge "Fix some oddities in ResolverActivity" into jb-dev

12 years agoFix some oddities in ResolverActivity
Adam Powell [Tue, 8 May 2012 18:07:23 +0000 (11:07 -0700)]
Fix some oddities in ResolverActivity

* Fix layout for small-screen devices in landscape.

* Properly re-enable buttons after restoring instance state.

* Scroll to the currently selected item after restoring instance
  state.

* Smooth scroll to the currently selected item if the user changes
  selection to an item slightly out of view.

* Place grid scroll bar outside the grid's padding.

* Make the current text read a bit more naturally.

Bug 6460135

Change-Id: Ic60330365cdd815e7517f01b36bcdc9d1c857f30

12 years agoMerge "Fix bug #6408393 Character corruption is caused when locale is changed" into...
Fabrice Di Meglio [Tue, 8 May 2012 17:54:41 +0000 (10:54 -0700)]
Merge "Fix bug #6408393 Character corruption is caused when locale is changed" into jb-dev

12 years agoMerge "Move CancellationSignal to android.os package." into jb-dev
Jeff Brown [Tue, 8 May 2012 17:51:12 +0000 (10:51 -0700)]
Merge "Move CancellationSignal to android.os package." into jb-dev

12 years agoMerge "The 'localize' tool is dead." into jb-dev
Elliott Hughes [Tue, 8 May 2012 17:45:38 +0000 (10:45 -0700)]
Merge "The 'localize' tool is dead." into jb-dev

12 years agoMerge "New preference for multi-selection check boxes." into jb-dev
Dianne Hackborn [Tue, 8 May 2012 17:38:10 +0000 (10:38 -0700)]
Merge "New preference for multi-selection check boxes." into jb-dev

12 years agoMerge "Switch 7 inch tablets to single-pane preferences, like phones." into jb-dev
Amith Yamasani [Tue, 8 May 2012 17:30:01 +0000 (10:30 -0700)]
Merge "Switch 7 inch tablets to single-pane preferences, like phones." into jb-dev