Commit Graph

22667 Commits

Author SHA1 Message Date
Dianne Hackborn
fb5c3dba4d Fix issue #6440173: MenuItem.setIcon(Drawable) scaling incorrectly...
...when resource is aliased

We were not correctly using the final resolved configuration when
retrieving a drawable through Resources.getDrawable().  (It already
does the correct behavior when going through TypedArray.getDrawable()).

Change-Id: I9032b788b592412178e31e2e6b0181b92c20fe45
2012-05-18 15:51:27 -07:00
Dianne Hackborn
d51ac09fd7 Merge "Fix activity resolver, issues #6519130 and #6507239" into jb-dev 2012-05-18 15:14:41 -07:00
Dianne Hackborn
5320eb8938 Fix activity resolver, issues #6519130 and #6507239
6519130: Starting ResolverActivity with no arguments crashes system_server
6507239: ResolverActivity may bypass signature permissions

Change-Id: I64534f781bc6b7eb45e85dbe3a55d351ee28e85c
2012-05-18 15:04:53 -07:00
Jeff Sharkey
9cb660fa34 Merge "Guard against apps breaking CHOOSER contract." into jb-dev 2012-05-18 14:20:02 -07:00
Jeff Sharkey
1c29700c5f Guard against apps breaking CHOOSER contract.
Bug: 6520937
Change-Id: I677a644cf7765bbb046f9c82e1ebd8a40968cee6
2012-05-18 13:55:47 -07:00
Dianne Hackborn
e312c61f93 Merge "Improve fitSystemWindows() documentation." into jb-dev 2012-05-18 12:55:05 -07:00
Jeff Sharkey
787c9ec558 Merge "Transition from DEV network stats to XT." into jb-dev 2012-05-18 11:40:42 -07:00
Dianne Hackborn
d5333f9289 Improve fitSystemWindows() documentation.
Change-Id: I6528f2530e6514344e454510f2fa037b55daebb7
2012-05-18 11:23:32 -07:00
Matthew Xie
dabb19fcd1 Merge "Increase the setup-sdp delay to cover for all the devices." into jb-dev 2012-05-17 21:49:55 -07:00
John Reck
88b756cd24 Merge "Don't show the touch highlight for double taps" into jb-dev 2012-05-17 20:03:17 -07:00
John Reck
aa5af8d004 Don't show the touch highlight for double taps
Bug: 6490959

Change-Id: I5a6cfa3d36f1df28d9c3b03e120f59581ee22c01
2012-05-17 19:57:08 -07:00
Romain Guy
c8c4ced838 Merge "Call invalidate() immediately when a frame is available" into jb-dev 2012-05-17 19:04:51 -07:00
Dianne Hackborn
abe3927701 Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev 2012-05-17 18:18:27 -07:00
Dianne Hackborn
0cf2c8a533 Fix issue #6515427: Add android.hardware.television and fix...
...logic for notouch in Configuration

Added new TELEVISION feature.

We now force the configuration to "television" if the TELEVISION
feature is set, and "notouch" if the TOUCHSCREEN feature is not set.

Also cleaned up documentation, deprecated some configurations that
are not used.

Change-Id: If1c7a284b580a8a66bda2a75f0c7fa841b3dc9b7
2012-05-17 18:11:14 -07:00
Romain Guy
52c145ff5c Call invalidate() immediately when a frame is available
This change ensures that applications producing surface texture updates
at a steady rate will display the updates on screen at the same rate,
v-synced.

Change-Id: I663685b34d12809fbf8945c44851e30a2052ce74
2012-05-17 18:06:23 -07:00
Jake Hamby
665935c10a Merge "Enable SMS short code patterns to be updated from secure settings." into jb-dev 2012-05-17 17:57:45 -07:00
Matthew Xie
8b4ca7a1a9 Increase the setup-sdp delay to cover for all the devices.
20 ms worked well for GN hspa for stress test, but failed sometimes
for other platform. Increased it to 50ms. Tested on all the device types
bug 6438556

Change-Id: Ic5fcde3de7ea6d3d983edab7ae3df5684637bd20
2012-05-17 17:43:00 -07:00
Svetoslav Ganov
a1daf82732 Merge "Fix paragraph iterator." into jb-dev 2012-05-17 17:23:16 -07:00
Charles Chen
c6015df128 Merge "Add actions to non-JavaScript accessibility handler." into jb-dev 2012-05-17 16:55:40 -07:00
Charles Chen
9a9a041cb7 Merge "Add movement actions to JS accessibility." into jb-dev 2012-05-17 16:55:20 -07:00
John Reck
3d6f7eadb2 Merge "Tweak show/hide of touch highlight" into jb-dev 2012-05-17 16:44:14 -07:00
Kenny Root
ae9d040f71 Merge "Wait for ASECs to be scanned before proceeding" into jb-dev 2012-05-17 16:42:09 -07:00
Jeff Brown
dc9445ba4c Merge "Add support for grouping keyboard layouts by collection." into jb-dev 2012-05-17 16:33:40 -07:00
Jake Hamby
172d97edcd Enable SMS short code patterns to be updated from secure settings.
The premium SMS short code detector loads patterns from an XML resource
by default (frameworks/base/core/res/res/xml/sms_short_codes.xml).
Add support for updated patterns to be loaded on a per-country basis
from a secure setting named "sms_short_codes_" + the country code.
Updated patterns can be pushed to Google devices via Gservices.

Bug: 5513975
Change-Id: Ibfc0be4f12227ba45c28396ec7cdbc307442af81
2012-05-17 16:29:44 -07:00
Kenny Root
51a573c767 Wait for ASECs to be scanned before proceeding
Move MountService up the list, then pause waiting for MountService to
finish scanning ASECs before the services that require those packages to
be ready.

Additionally, don't automatically mark all ASEC apps as FLAG_EXTERNAL on
reboot. This prevents AppWidgets and other things from being used with
ASECs which are on internal storage.

Bug: 6445613
Change-Id: I3e0b3e244fec966814d7a5ea93de5d337aea79bd
2012-05-17 16:06:54 -07:00
Jean-Michel Trivi
c79a9eaced Merge "New action and extra in RecognizerIntent for "hands free" voice search" into jb-dev 2012-05-17 16:06:54 -07:00
Jeff Brown
d9fec5d317 Add support for grouping keyboard layouts by collection.
Bug: 6405203
Change-Id: Id818b27ec09928150795d594a96df186a6e39168
2012-05-17 16:01:54 -07:00
Jean-Michel Trivi
482c9bb390 New action and extra in RecognizerIntent for "hands free" voice search
New action and extra for android.speech.RecognizerIntent:
  ACTION_VOICE_SEARCH_HANDS_FREE
  EXTRA_SECURE

Change-Id: I1f390ede4f4087bae1781347bb211dc0a093e857
2012-05-17 15:43:40 -07:00
Martijn Coenen
d42ad1da2f Merge "NFC API documentation." into jb-dev 2012-05-17 15:30:08 -07:00
George Mount
ea1603de2a Merge "Update the IME with selection and composing region changes." into jb-dev 2012-05-17 15:21:07 -07:00
George Mount
bb8549dbb1 Merge "Sync the selection cursor when adjusting caret handle." into jb-dev 2012-05-17 15:21:01 -07:00
George Mount
e41dfd9759 Sync the selection cursor when adjusting caret handle.
Bug 6512357

Change-Id: Ie8b0c6a17ea668b2c4ba9f3de404fdc0c2d319f8
2012-05-17 14:10:28 -07:00
alanv
9768832da8 Fix paragraph iterator.
Bug: 6509239
Change-Id: I628d7fd07cda24c66a0fa3f456e0141786e768a5
2012-05-17 13:54:30 -07:00
John Reck
eb11f47353 Tweak show/hide of touch highlight
Bug: 6490959
 Fixes the issue where we will show the old tap highlight
 if webkit isn't quick enough to respond

Change-Id: Icd9864d276b6ad311e3f3dc4deaa7085e3769006
2012-05-17 13:47:39 -07:00
Craig Mautner
d51a68b3d2 Merge "Eliminate deferred surface destruction." into jb-dev 2012-05-17 13:11:50 -07:00
Jesse Wilson
9cb376e792 Merge "Change NPN to forbid empty lists of protocols." into jb-dev 2012-05-17 11:18:33 -07:00
George Mount
cdd48a70df Update the IME with selection and composing region changes.
Bug 6507332
 The IME must be informed whenever the selection or composing
 region changes so that it can adjust its replacement regions
 and suggestions.

Change-Id: I484b112a2fede6528b0bc506711284b59bd886d1
2012-05-17 10:51:18 -07:00
Jesse Wilson
2108ead7f1 Change NPN to forbid empty lists of protocols.
Bug: http://b/6438423
Change-Id: Ie89220e5bc219396c15dbe1feaa2f74fa1b243eb
2012-05-17 13:46:17 -04:00
Svetoslav Ganov
308904dcd0 Merge "Refactor WebView accessibility code into a separate class." into jb-dev 2012-05-17 10:32:27 -07:00
Jeff Sharkey
70c70530bd Transition from DEV network stats to XT.
When XT stats are available, transition to prefer them over DEV,
since they aren't subject to hardware driver bugs.  Only switches at
the first atomic XT bucket, and adds a Settings.Secure flag to force
back to DEV if needed.  Includes tests to cover transition.

Fix tests where device overlay would change which network types
reflected data usage.  Test both history and summary APIs.  Fixed
collection timestamps to reflect full buckets.

Bug: 6504744
Change-Id: Idd7f3b2fdb064c36547c85c51c214fd938c59b7e
2012-05-17 10:10:39 -07:00
Amith Yamasani
e43e08bb24 Merge "Avoid launching dialogs twice from double-clicking a preference." into jb-dev 2012-05-17 09:57:38 -07:00
John Reck
76c0c612cd Merge "Don't send an ontouchmove until slop is exceeded" into jb-dev 2012-05-17 09:22:06 -07:00
George Mount
3c8140723f Merge "Only clear the caret when in caret selection mode." into jb-dev 2012-05-17 09:05:37 -07:00
George Mount
84c4b08bd4 Merge changes Ia5729aaf,I91584b7d into jb-dev
* changes:
  Remove selection highlight when replacing/deleting.
  Don't do character add/delete when there is a selection.
2012-05-17 09:05:30 -07:00
Ben Murdoch
93e3bf1260 Merge "Fix up the WebCoreThreadWatchdog" into jb-dev 2012-05-17 09:00:26 -07:00
Chris Wren
4ed80d581c Don't assume digest lines are GONE, we may be recycling them.
Bug: 6500945
Change-Id: I0f01ccdde25bebb8335f0d34408877b895d286ff
2012-05-17 09:35:34 -04:00
Ben Murdoch
74d37b9653 Fix up the WebCoreThreadWatchdog
Make the WebCoreWatchdog aware of the WebViews it is monitoring
(rather than the Activity context which may become stale) and
ensure that the code for the prompt dialog is run on the UI
thread.

Bug: 6420310
Change-Id: Ied003938edb04858c85bcc2491c4b2c4c0ede6eb
2012-05-17 12:38:07 +01:00
John Reck
94c478e9e5 Don't send an ontouchmove until slop is exceeded
Bug: 6490959

Change-Id: I0f447f65c84f9ce208ce52caba05e7dcb2f76bc5
2012-05-16 20:34:48 -07:00
alanv
6a62b77dfb Add actions to non-JavaScript accessibility handler.
Bug: 5932640
Change-Id: I302cfc6410d716ac46e1adb922de3079c4e4b4f3
2012-05-16 20:28:29 -07:00
alanv
448902d757 Add movement actions to JS accessibility.
Bug: 5932640
Change-Id: I80e210adbef266b1ec9bc1cad7eeacb70529bdba
2012-05-16 20:27:47 -07:00