21843 Commits

Author SHA1 Message Date
Irfan Sheriff
54ac7a5102 Fix build
Change-Id: I1968e0d7d25f613fa6cf72f82d79f17224e3d5ab
2012-04-19 10:26:34 -07:00
Irfan Sheriff
6c07ba8183 Add network service discovery broadcast
Allows apps to know if user has the feature turned off

Change-Id: I2d2fecb148eb4e48eb4aea51d1d7643a82df5c52
2012-04-19 09:54:40 -07:00
Irfan Sheriff
3ef889bf56 Add user control to turn on/off nsd
Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
2012-04-19 09:52:09 -07:00
Chet Haase
df1423e28c Merge "Adding new CHANGING transition to LayoutTransition." 2012-04-17 13:56:28 -07:00
John Reck
6849e4dd45 Merge "Add destroyed check" 2012-04-17 13:54:54 -07:00
Chet Haase
7dd4a536a1 Adding new CHANGING transition to LayoutTransition.
LayoutTransition used to depend on child views being added/removed or
shown/hidden in the transition container. These evens would trigger animations
to fade the child view as well as those to animate the side-affected changes
to sibling views. This CL enables a new feature in LayoutTransition that
enables animating any changes to the layout of the children in the container
whenever a layout occurs. For example, you can change the LayoutParams of a
child view and call requestLayout() to automatically animate those changes.

This capability is not enabled by default. To enable, call the new
LayoutTransition.enableTransitionType(LayoutTransition.CHANGING) method.

Change-Id: I4d07a3b36245353b2151f0dca4f75080ab6a4592
2012-04-17 13:33:55 -07:00
John Reck
8a7e177bb5 Add destroyed check
Bug: 6350066

Change-Id: Icf077bcf9678a036a669124c27e56e191a935960
2012-04-17 13:32:00 -07:00
Matthew Xie
b85a769e0b Merge "Check nullpointer of discoverableTimeout in initBluetoothAfterTurningOn." 2012-04-17 12:48:00 -07:00
Amith Yamasani
d95ce04bdc Merge "Make sure persistent processes are not replicated for secondary users." 2012-04-17 11:55:54 -07:00
Jeff Brown
c37ef79d39 Merge "Move legacy sensor support to a new class." 2012-04-17 11:42:39 -07:00
Amith Yamasani
a4a54e2a5f Make sure persistent processes are not replicated for secondary users.
An intent is launched in a singleton process if the process is persistent
and the resolved activity/service/etc is not requested to run in a different
process.

Change-Id: I1463e73a76bc8bde4185f9cf4395edb47515841d
2012-04-17 11:41:30 -07:00
Irfan Sheriff
1205054240 Merge "Open p2p pre-association service discovery API" 2012-04-17 11:40:03 -07:00
Matthew Xie
43b6fd9a54 Check nullpointer of discoverableTimeout in initBluetoothAfterTurningOn.
When we fail to get the property, print out warning message, turn
Discoverable off.
Bug 6302990

Change-Id: Ie21aa2a89050c74d99d9ee521a95ffa822114757
2012-04-17 11:39:25 -07:00
Irfan Sheriff
2e3dec5aeb Merge "Open network service discovery API" 2012-04-17 11:39:08 -07:00
John Reck
48ca060e65 Merge "Minor cleanup" 2012-04-17 10:37:41 -07:00
Chris Craik
cae2db38f5 Merge "Add webview tracing bit" 2012-04-17 10:04:44 -07:00
Steve Block
cf6960ed15 Merge "Clean up JavaDoc for WebView.getZoomControls()" 2012-04-17 05:08:04 -07:00
Steve Block
06d268e3ad Clean up JavaDoc for WebView.getZoomControls()
Bug: 5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
2012-04-17 12:19:10 +01:00
satok
fbf7e1f343 Merge "Get rid of "isSentenceLevelSpellCheckSupported"" 2012-04-16 22:07:45 -07:00
Svetoslav Ganov
21d1251637 Merge "Fixing broken add focusables behavior I have introduced." 2012-04-16 19:15:27 -07:00
Svetoslav Ganov
3cb889caa3 Fixing broken add focusables behavior I have introduced.
bug:6344608

Change-Id: I1d241c02bc22c5ef3f4b4b69a756772e8b2ef902
2012-04-16 19:14:41 -07:00
Dianne Hackborn
ac4243f177 Make ACTION_SEND and ACTION_SEND_MULTIPLE build full clip items.
The current code was just for transferring URI grants.  This change
makes it so it propagates all of the relevant extra data into the
ClipData, so developers can just retrieve the ClipData for all of
their data needs.

Change-Id: I36a050c7beae325aceb84518337f878c337d8b86
2012-04-16 18:10:37 -07:00
John Reck
533e69f0be Minor cleanup
Change-Id: Ide35e6cf2abe2b723e6d45e796a21ae135706bf5
2012-04-16 18:08:00 -07:00
Dianne Hackborn
ac76e72272 Merge "Add new scale-up window manager animation." 2012-04-16 17:34:25 -07:00
Dianne Hackborn
eabfb3a36e Add new scale-up window manager animation.
Like zoom thumbnail, but without the thumbnail.

Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6
2012-04-16 17:32:50 -07:00
Jeff Brown
4481d9c10c Move legacy sensor support to a new class.
Bug: 6339552
Change-Id: I2067b754348ac76b1e1f71608031be2c80fc31d2
2012-04-16 17:18:23 -07:00
Philip Milne
455cfc8dca Merge "Minor doc fix." 2012-04-16 16:28:16 -07:00
Philip Milne
fcc6a0f145 Minor doc fix.
Change-Id: I8f20c4751b599e0108c9373caef7e672d1cd4821
2012-04-16 16:12:19 -07:00
Chris Craik
192a65e9f6 Add webview tracing bit
Change-Id: I7e292cf780fa2e59f183debb0e7e2bc61f27543d
2012-04-16 16:08:40 -07:00
Jeff Brown
9704e78418 Merge "Refactor SensorManager to move non-API bits into a subclass." 2012-04-16 15:46:47 -07:00
Makoto Onuki
72eebb6b6d Add # of changed rows to executeForChangedRowCount log
Change-Id: I240849f8e90490bbb6f73bbf7047e71254c83f0c
2012-04-16 14:24:37 -07:00
Jamie Gennis
d1661dcc90 Merge "Unhide new SurfaceTexture & TextureView APIs" 2012-04-16 13:21:53 -07:00
Jeff Brown
25157e458d Refactor SensorManager to move non-API bits into a subclass.
Changed the SensorManager class so that it only contains API-related
bits including what's needed to support legacy sensors.  Mostly just
moved stuff around.  Making the class abstract is safe because
it does not have a visible constructor in the API.

One minor change is that the cache of sensor type to sensor lists
is now per instance of SensorManager instead of being static.
We can fix this if desired.

Another small change is that we bail out early from registerListener
if the listener has already been registered for the particular
sensor.  This happened for both legacy and standard listeners.
The problem is that the ListenerDelegate maintains two lists of
sensors, one is a Map and the other is a List.  Adding a sensor
twice causes one entry to be added to the Map and two entries to be
added to the List, but when the sensor is removed the next time, only
one entry is removed from the List, leaving it in an inconsistent
state.

Removed Sensor.getLegacyType() since the value it provides is only
needed in LegacyListener and we don't really save any significant
computation by caching it.  Removing the field makes support for
legacy sensors a little more self-contained.

Bug: 6339552
Change-Id: I50d41ac97cf535924f2bfa2026d28547a4d00286
2012-04-16 13:03:55 -07:00
Jeff Sharkey
123328778e Merge "Move TrafficStats iface counters to xt_qtaguid." 2012-04-16 12:11:21 -07:00
Jeff Sharkey
c0e5b8c7fa Merge "DownloadManager and metered networks." 2012-04-16 12:03:43 -07:00
Jeff Sharkey
792e091045 DownloadManager and metered networks.
API to control whether a download is allowed to use metered networks.

Bug: 3001465
Change-Id: I29153d2a7495a2e9f76ef5be0a77696a85823839
2012-04-16 12:00:43 -07:00
Jeff Sharkey
7bf8fba6f0 Merge "API to report if active network is metered." 2012-04-16 11:22:22 -07:00
Jeff Sharkey
9f7cbf0e50 API to report if active network is metered.
Report to developers if active network is "metered" and define it
as the user being sensitive to heavy data usage.

Bug: 3001465
Change-Id: I855ca3cd3eb1de3c4814148d70ccf24957af898a
2012-04-16 11:20:27 -07:00
Philip Milne
a5d552fc2b Fix for doc error.
Change-Id: I8aa029d96d4cd28354ecc742007e0fc35b05b705
2012-04-16 10:47:21 -07:00
Philip Milne
4e1cb3b794 Merge "Fix for bug 6110465." 2012-04-16 10:03:17 -07:00
Mindy Pereira
f937313944 Perform null check on empty view before doing accessibility check.
Fixes b/6341858 AdapterView does not properly check for null before checking empty view accessibility info

Change-Id: Ia19fdef2c7c5f3e6c3053ebc754efe6a664f9d66
2012-04-16 08:58:53 -07:00
George Mount
32f038deab Merge "Check for null mWebViewCore in selectText" 2012-04-16 07:39:01 -07:00
Steve Block
9c6b01a753 Merge "Clean up JavaDoc for WebStorage" 2012-04-16 06:42:36 -07:00
Mikhail Naganov
9f7296af04 Fix javadoc breakage by not linking to now hidden WebView.getZoomControls method.
Change-Id: I770a647b2e6068687530813133847a624ed5aa0d
2012-04-16 14:26:06 +01:00
satok
c7ee1b9369 Get rid of "isSentenceLevelSpellCheckSupported"
Bug: 6320351
Change-Id: I0e931b7248f8c65268b60af599c07432d58d2f1f
2012-04-16 20:02:37 +09:00
Steve Block
d099935c52 Merge "Clarify WebSettings comments related to zooming." 2012-04-16 02:25:14 -07:00
Jonathan Dixon
caf97c7db9 Merge "Two WebView API cleanups" 2012-04-16 01:05:06 -07:00
Irfan Sheriff
92784670c4 Open network service discovery API
Add support for DNS based network service discovery API. This
allows applications to discover and resolve applications on a
local network such as Wi-Fi

Change-Id: Ie89895edd35d12b7f7a23fb5fed36cb2b2079f7a
2012-04-15 17:09:48 -07:00
Irfan Sheriff
8bf825f48f Open p2p pre-association service discovery API
This allows applications to filter out the devices by the
services supported for the purpose of establishing a
connection.

so, a game app can connect to devices that support the game,
and a media streaming app can filter and connect only to
the available media display devices

Change-Id: Ia792e292d2ca771beeb4ca3b007a047527c19229
2012-04-14 14:41:45 -07:00
Jeff Brown
9688fea77e Merge "Add setting to redirect vibrator to game controller." 2012-04-13 20:39:50 -07:00