76201 Commits

Author SHA1 Message Date
satok
93d744deb1 Fix sort order of the input method switcher in IMMS
Bug: 6333988
Change-Id: Ief392c9157f2a37600e517ec9caf586ffb9d5f0d
2012-05-09 17:14:08 +09:00
satok
a71293f36c Merge "Do not return stale subtypes" into jb-dev 2012-05-08 23:39:32 -07:00
Adam Powell
ea3f8cc71e Merge "Forgive me monkeys, for I have sinned." into jb-dev 2012-05-08 22:32:00 -07:00
Adam Powell
76889f3482 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
2012-05-08 22:28:36 -07:00
satok
d1e323b272 Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev 2012-05-08 19:42:13 -07:00
Adam Powell
1e5c3336e8 Merge "Fix measurement for dialog windows that do not have fixed width" into jb-dev 2012-05-08 19:23:21 -07:00
satok
a4c82c1c78 Not to add invalid spell check spans
Bug: 6464197

Change-Id: I6e9d359847b200e2afae61f85eb7cfe7f179b888
2012-05-09 11:20:17 +09:00
Xia Wang
72e95cfef0 Merge "Fix Wifi test" into jb-dev 2012-05-08 19:13:14 -07:00
Adam Powell
b8e056a8e8 Fix measurement for dialog windows that do not have fixed width
Bug 6456773

Change-Id: I9d058f78c4b1c1759aaea2f215efee82a3489faa
2012-05-08 19:04:29 -07:00
Dianne Hackborn
feecf9d786 Merge "Support for changing traces from development settings." into jb-dev 2012-05-08 18:54:58 -07:00
Jeff Brown
8c68012809 Merge "Check for null fd when constructing AssetFileDescriptor." into jb-dev 2012-05-08 18:41:49 -07:00
James Dong
3b5fdf510b Merge "Fix: Missed parcel recycling in MediaPlayer." into jb-dev 2012-05-08 18:29:44 -07:00
Svetoslav Ganov
2aaa6bbd53 Merge "Renaming the constants for activation and long press." into jb-dev 2012-05-08 18:21:02 -07:00
Romain Guy
ad0b0060ba Merge "Make window shade fast on non-high end gfx displays" into jb-dev 2012-05-08 18:02:05 -07:00
Xavier Ducrohet
024d3b2374 Merge "Add missing native method to Canvas_Delegate." into jb-dev 2012-05-08 17:44:36 -07:00
Jason Sams
48250c2761 Merge "GFX api cleanup 1 of 2" into jb-dev 2012-05-08 17:42:44 -07:00
Jason Sams
65c80f8247 GFX api cleanup 1 of 2
Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
2012-05-08 17:30:26 -07:00
Dianne Hackborn
a4e2ec64db Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev 2012-05-08 17:19:15 -07:00
Dianne Hackborn
d8f10240c0 Fix Issue 26574: Service's onStartCommand receiving incorrect flag...
...parameter for Intents

Change-Id: I2e2332c87e008c7ad6a89e17ae3f732c78e376ef
2012-05-08 17:14:58 -07:00
Xavier Ducrohet
f18c68b83f Add missing native method to Canvas_Delegate.
Change-Id: I86288c942004e5489eacc43ba5e112cf56f94487
2012-05-08 17:14:18 -07:00
Adam Powell
137407087b Merge "Fix bug in TaskStackBuilder#addParentStack" into jb-dev 2012-05-08 17:02:12 -07:00
Craig Mautner
79b7742cf1 Merge "Fix wallpaper exposure bugs." into jb-dev 2012-05-08 17:01:43 -07:00
Adam Powell
5c43ec9328 Fix bug in TaskStackBuilder#addParentStack
Don't assume the initial component has a valid parent specified.

Bug 6464209

Change-Id: I22aa4c0e667ea85dc46ad7320f4a9f52117af520
2012-05-08 16:55:20 -07:00
Svetoslav Ganov
a3b6728933 Merge "Fixing View.getBoundsOnScreen()" into jb-dev 2012-05-08 16:49:13 -07:00
Svetoslav Ganov
14b2b74c13 Fixing View.getBoundsOnScreen()
1. The function was not setting the initial rect properly.

bug:6462629

Change-Id: I7a832a979576fc5745794c68fb8414257efb21dd
2012-05-08 16:41:28 -07:00
Chris Craik
b010601c41 Merge "Pass webview instance when getting base layer / color, and prevent null value" into jb-dev 2012-05-08 16:40:20 -07:00
Craig Mautner
0afddcb7f1 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
2012-05-08 16:32:50 -07:00
George Mount
5602d02389 Merge "Scroll edit text into view when keyboard shows." into jb-dev 2012-05-08 16:25:58 -07:00
Kenny Root
c29b49faf3 Merge "Handle addition of system apps during OTA" into jb-dev 2012-05-08 16:14:20 -07:00
Kenny Root
208d341bbd 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
2012-05-08 15:57:44 -07:00
Adam Cohen
8a7eff18f3 Merge "Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)" into jb-dev 2012-05-08 15:55:50 -07:00
Adam Cohen
88f041ed31 Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)
Change-Id: Ibf837671cc13ee89ca979e9e6dc9d144b296deba
2012-05-08 15:53:43 -07:00
Adam Powell
a87f234681 Merge "More fun with AbsListView smooth scrolling" into jb-dev 2012-05-08 15:52:12 -07:00
Adam Powell
aadf4fb68e 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
2012-05-08 15:43:34 -07:00
Romain Guy
328b35827e Make window shade fast on non-high end gfx displays
Change-Id: I64a4861845978f9209c2b7d24c40c65ce7483dcb
2012-05-08 15:30:57 -07:00
Carlos Valdivia
3fcf1c8587 Merge "Fix a race condition with respect to clients of SyncStorageEngine." into jb-dev 2012-05-08 15:27:03 -07:00
Jeff Brown
9ac663ef9a Merge "Disable input dispatch until boot finished." into jb-dev 2012-05-08 15:15:56 -07:00
Eric Laurent
c8ade15dad Merge "Silent and Vibrate mode clean up" into jb-dev 2012-05-08 15:15:49 -07:00
Gilles Debunne
2e999d1274 Merge "Removed debug code in TextView" into jb-dev 2012-05-08 15:13:41 -07:00
Eric Laurent
bffc3d1bd3 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
2012-05-08 15:10:37 -07:00
Gilles Debunne
5fae996751 Removed debug code in TextView
Bug 6462527

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

Change-Id: I49a78bbfa3b45c185311d0dbebddddc52515c099
2012-05-08 14:53:30 -07:00
Dianne Hackborn
83e6eb11d7 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
2012-05-08 14:53:24 -07:00
Romain Guy
27ef44c46d Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev 2012-05-08 14:52:48 -07:00
Romain Guy
2a0f228a30 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
2012-05-08 14:46:26 -07:00
Svetoslav Ganov
14326fd456 Merge "DefaultGestureHandlingHelperService should not include non-important views." into jb-dev 2012-05-08 14:46:01 -07:00
Andreas Huber
eb194d5d3c Merge "Return codec buffers that are marked as having host endianness." into jb-dev 2012-05-08 14:32:23 -07:00
Svetoslav Ganov
87bd0dccf7 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
2012-05-08 14:29:33 -07:00
Jeff Brown
af67fc65bf 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
2012-05-08 14:29:09 -07:00
Stephen Hines
1d56afc6ac Merge "Revert "Deprecate"" into jb-dev 2012-05-08 14:25:49 -07:00
Chris Craik
b5dc215a19 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
2012-05-08 14:00:32 -07:00