OSDN Git Service
Irfan Sheriff [Thu, 19 Apr 2012 17:26:34 +0000 (10:26 -0700)]
Fix build
Change-Id: I1968e0d7d25f613fa6cf72f82d79f17224e3d5ab
Irfan Sheriff [Wed, 18 Apr 2012 06:23:42 +0000 (23:23 -0700)]
Add network service discovery broadcast
Allows apps to know if user has the feature turned off
Change-Id: I2d2fecb148eb4e48eb4aea51d1d7643a82df5c52
Irfan Sheriff [Wed, 18 Apr 2012 06:15:29 +0000 (23:15 -0700)]
Add user control to turn on/off nsd
Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
Andreas Huber [Tue, 17 Apr 2012 22:10:36 +0000 (15:10 -0700)]
Merge "Make seekTo not throw exceptions."
Andreas Huber [Tue, 17 Apr 2012 22:02:22 +0000 (15:02 -0700)]
Make seekTo not throw exceptions.
Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737
related-to-bug:
6276111
Alex Yakavenka [Mon, 16 Apr 2012 23:03:06 +0000 (16:03 -0700)]
Telephony: Dynamically instantiate IccCard
Change-Id: I8c4d800158fb1eb12de66d437cb0d76695ff98d3
Chet Haase [Tue, 17 Apr 2012 20:56:28 +0000 (13:56 -0700)]
Merge "Adding new CHANGING transition to LayoutTransition."
John Reck [Tue, 17 Apr 2012 20:54:54 +0000 (13:54 -0700)]
Merge "Add destroyed check"
Chet Haase [Mon, 16 Apr 2012 20:35:09 +0000 (13:35 -0700)]
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
John Reck [Tue, 17 Apr 2012 20:32:00 +0000 (13:32 -0700)]
Add destroyed check
Bug:
6350066
Change-Id: Icf077bcf9678a036a669124c27e56e191a935960
Craig Mautner [Tue, 17 Apr 2012 20:18:45 +0000 (13:18 -0700)]
Merge changes I4752bdf1,I37690cf2
* changes:
Move Surface operations into existing transaction.
Clear orientation variable until rotation is done.
Irfan Sheriff [Tue, 17 Apr 2012 19:52:20 +0000 (12:52 -0700)]
Merge "fix build - new current.txt"
Matthew Xie [Tue, 17 Apr 2012 19:48:00 +0000 (12:48 -0700)]
Merge "Check nullpointer of discoverableTimeout in initBluetoothAfterTurningOn."
Jean-Baptiste Queru [Tue, 17 Apr 2012 19:46:15 +0000 (12:46 -0700)]
fix build - new current.txt
Change-Id: Ia114d5f3fef2b84272237eded88c7908f65851f6
Chris Craik [Tue, 17 Apr 2012 19:08:25 +0000 (12:08 -0700)]
am
a6d62b76: am
4f998a1e: am
fd862e98: Add header for forward compatibility
* commit '
a6d62b76ad8f09bd677fa115fbb71fdae2510552':
Add header for forward compatibility
Andreas Huber [Tue, 17 Apr 2012 19:05:22 +0000 (12:05 -0700)]
Merge "MediaCrypto's constructor can throw RuntimeException."
Chris Craik [Tue, 17 Apr 2012 19:05:12 +0000 (12:05 -0700)]
am
4f998a1e: am
fd862e98: Add header for forward compatibility
* commit '
4f998a1e4865f11f772bbe18a702f4ad95ab353e':
Add header for forward compatibility
Chris Craik [Tue, 17 Apr 2012 19:02:47 +0000 (12:02 -0700)]
am
fd862e98: Add header for forward compatibility
* commit '
fd862e9828d544f593a622f2914d1257366ae802':
Add header for forward compatibility
Amith Yamasani [Tue, 17 Apr 2012 18:55:54 +0000 (11:55 -0700)]
Merge "Make sure persistent processes are not replicated for secondary users."
Craig Mautner [Tue, 17 Apr 2012 18:45:25 +0000 (11:45 -0700)]
Move Surface operations into existing transaction.
Several Surface operations - notably setPosition, setSize, and show -
had been moved outside of a Surface.openTransaction/closeTransaction
window. This corrects that problem.
In addition, before animations were separated from layout the Surface
frame was computed prior to returning from relayoutWindow(). After
separation the frame was being computed during animation. This checkin
restores the frame calculation in layout.
Fixes bug
6343291.
Change-Id: I4752bdf1fed0f2b46c5eb9508825c9b1b0fd702f
Jeff Brown [Tue, 17 Apr 2012 18:52:29 +0000 (11:52 -0700)]
Merge "Add persistence for selected keyboard layout."
Pannag Sanketi [Tue, 17 Apr 2012 18:42:48 +0000 (11:42 -0700)]
Merge "Making the setSurface non-static"
Jeff Brown [Tue, 17 Apr 2012 18:42:39 +0000 (11:42 -0700)]
Merge "Move legacy sensor support to a new class."
Jeff Brown [Tue, 17 Apr 2012 18:42:25 +0000 (11:42 -0700)]
Add persistence for selected keyboard layout.
Bug:
6110399
Change-Id: I99544bf05e9755385bee478b5f047ccec2e5cae3
Amith Yamasani [Mon, 16 Apr 2012 22:44:19 +0000 (15:44 -0700)]
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
Irfan Sheriff [Tue, 17 Apr 2012 18:40:03 +0000 (11:40 -0700)]
Merge "Open p2p pre-association service discovery API"
Matthew Xie [Tue, 17 Apr 2012 18:39:02 +0000 (11:39 -0700)]
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
Irfan Sheriff [Tue, 17 Apr 2012 18:39:08 +0000 (11:39 -0700)]
Merge "Open network service discovery API"
Andreas Huber [Tue, 17 Apr 2012 18:23:06 +0000 (11:23 -0700)]
MediaCrypto's constructor can throw RuntimeException.
Change-Id: I5718e9abab0d1465882580e826747d6a78bdefb5
related-to-bug:
6275919
Dianne Hackborn [Tue, 17 Apr 2012 18:15:27 +0000 (11:15 -0700)]
Merge "Change dock animations to not use alpha, to make Mathias happy."
Chris Craik [Tue, 17 Apr 2012 17:45:52 +0000 (10:45 -0700)]
Add header for forward compatibility
Change-Id: I6e3da852d50fc14cfb6fb50f7dd867f37daea19d
Irfan Sheriff [Tue, 17 Apr 2012 17:52:41 +0000 (10:52 -0700)]
Merge "Fix SSID parse"
John Reck [Tue, 17 Apr 2012 17:37:41 +0000 (10:37 -0700)]
Merge "Minor cleanup"
Alex Sakhartchouk [Tue, 17 Apr 2012 17:34:41 +0000 (10:34 -0700)]
Merge "Fixing test affected by API renaming."
Irfan Sheriff [Tue, 17 Apr 2012 17:19:16 +0000 (10:19 -0700)]
Fix SSID parse
Bug:
6350079
Change-Id: I104dafa982bd1f144ea3a4fe19a0a23d6bf8075d
Chris Craik [Tue, 17 Apr 2012 17:04:44 +0000 (10:04 -0700)]
Merge "Add webview tracing bit"
Fred Chung [Tue, 17 Apr 2012 16:56:55 +0000 (09:56 -0700)]
am
535b0f10: am
57e351f5: am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
535b0f10aaffc0195da16531fc33644760dbcf1d':
Fred Chung [Tue, 17 Apr 2012 16:54:27 +0000 (09:54 -0700)]
am
5a1cf366: am
fe71253b: am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
5a1cf3661c9b47ca682511f248987e680768e530':
Updated "Making your App Location Aware" class to include information on location provider enable check.
Fred Chung [Tue, 17 Apr 2012 16:52:44 +0000 (09:52 -0700)]
am
57e351f5: am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
57e351f57cc296ed3ef29bdf071713689fc4516e':
Fred Chung [Tue, 17 Apr 2012 16:51:55 +0000 (09:51 -0700)]
am
fe71253b: am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
fe71253b334e105a9f67dcef6f8790c246725976':
Updated "Making your App Location Aware" class to include information on location provider enable check.
Fred Chung [Tue, 17 Apr 2012 16:48:44 +0000 (09:48 -0700)]
am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
3d467946b2950c6a5e4946c49a33cf4c8d68df20':
Updated "Making your App Location Aware" class to include information on location provider enable check.
Fred Chung [Tue, 17 Apr 2012 16:48:01 +0000 (09:48 -0700)]
am
3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '
3d467946b2950c6a5e4946c49a33cf4c8d68df20':
Updated "Making your App Location Aware" class to include information on location provider enable check.
Fred Chung [Tue, 17 Apr 2012 16:46:11 +0000 (09:46 -0700)]
Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
Chris Wren [Fri, 30 Mar 2012 22:28:14 +0000 (18:28 -0400)]
A layout that switches between its children based on the requested layout height.
Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51
Daisuke Miyakawa [Tue, 17 Apr 2012 15:52:46 +0000 (08:52 -0700)]
Merge "Introduce cachedPhotoIcon for notification's large icon"
Steve Block [Tue, 17 Apr 2012 12:08:04 +0000 (05:08 -0700)]
Merge "Clean up JavaDoc for WebView.getZoomControls()"
Steve Block [Mon, 16 Apr 2012 13:10:54 +0000 (14:10 +0100)]
Clean up JavaDoc for WebView.getZoomControls()
Bug:
5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
Fred Chung [Mon, 16 Apr 2012 07:40:06 +0000 (00:40 -0700)]
Updated "Making your App Location Aware" class to include information on location provider enable check.
Change-Id: Ie6e966b4204eed60f518759480cebc945f87d91f
satok [Tue, 17 Apr 2012 05:07:45 +0000 (22:07 -0700)]
Merge "Get rid of "isSentenceLevelSpellCheckSupported""
Dianne Hackborn [Tue, 17 Apr 2012 02:31:58 +0000 (19:31 -0700)]
Change dock animations to not use alpha, to make Mathias happy.
Also tweak the action bar animations to slide up/down like the
dock animations.
Change-Id: Id3c85ba76100639a6f6c77b7fd2a060c9d26f38c
Svetoslav Ganov [Tue, 17 Apr 2012 02:30:45 +0000 (19:30 -0700)]
Merge "Fixing a regression I have introduced."
Svetoslav Ganov [Tue, 17 Apr 2012 02:28:22 +0000 (19:28 -0700)]
Fixing a regression I have introduced.
bug:
6344558
Change-Id: Ie726e091942e337962baa052953002be724068b1
Irfan Sheriff [Tue, 17 Apr 2012 02:25:03 +0000 (19:25 -0700)]
Merge "Fix ssid fetch"
Irfan Sheriff [Tue, 17 Apr 2012 02:24:55 +0000 (19:24 -0700)]
Merge "Log messages in dump"
Svetoslav Ganov [Tue, 17 Apr 2012 02:15:27 +0000 (19:15 -0700)]
Merge "Fixing broken add focusables behavior I have introduced."
Svetoslav Ganov [Tue, 17 Apr 2012 02:10:30 +0000 (19:10 -0700)]
Fixing broken add focusables behavior I have introduced.
bug:
6344608
Change-Id: I1d241c02bc22c5ef3f4b4b69a756772e8b2ef902
Brett Chabot [Tue, 17 Apr 2012 01:35:43 +0000 (18:35 -0700)]
Merge "Build junit API docs from external/junit."
Brett Chabot [Mon, 16 Apr 2012 17:13:59 +0000 (10:13 -0700)]
Build junit API docs from external/junit.
Bug
5826326
Change-Id: I67d18cacf0c4e908ec41dbed483314ece8b72ceb
Dianne Hackborn [Sat, 14 Apr 2012 00:32:18 +0000 (17:32 -0700)]
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
John Reck [Tue, 17 Apr 2012 01:08:00 +0000 (18:08 -0700)]
Minor cleanup
Change-Id: Ide35e6cf2abe2b723e6d45e796a21ae135706bf5
Dianne Hackborn [Tue, 17 Apr 2012 00:34:25 +0000 (17:34 -0700)]
Merge "Add new scale-up window manager animation."
Dianne Hackborn [Mon, 16 Apr 2012 23:28:22 +0000 (16:28 -0700)]
Add new scale-up window manager animation.
Like zoom thumbnail, but without the thumbnail.
Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6
Dianne Hackborn [Tue, 17 Apr 2012 00:32:18 +0000 (17:32 -0700)]
Merge "Add new aapt dump badging output explaining implicit badging."
Jeff Brown [Mon, 16 Apr 2012 23:14:44 +0000 (16:14 -0700)]
Move legacy sensor support to a new class.
Bug:
6339552
Change-Id: I2067b754348ac76b1e1f71608031be2c80fc31d2
Irfan Sheriff [Mon, 16 Apr 2012 23:36:59 +0000 (16:36 -0700)]
Fix ssid fetch
Change-Id: Iee5ee5f53bea7dea219b41735cd169389ca7e719
Irfan Sheriff [Mon, 16 Apr 2012 23:47:10 +0000 (16:47 -0700)]
Log messages in dump
Remove event logging and add messages in dump
Change-Id: Ic79c68443bac9b7257644ed6941853f44a9b0661
Jack Palevich [Mon, 16 Apr 2012 23:31:47 +0000 (16:31 -0700)]
Merge "Improve GLSurfaceView Pausing."
Philip Milne [Mon, 16 Apr 2012 23:28:16 +0000 (16:28 -0700)]
Merge "Minor doc fix."
Philip Milne [Mon, 16 Apr 2012 23:12:19 +0000 (16:12 -0700)]
Minor doc fix.
Change-Id: I8f20c4751b599e0108c9373caef7e672d1cd4821
Chris Craik [Mon, 16 Apr 2012 23:08:40 +0000 (16:08 -0700)]
Add webview tracing bit
Change-Id: I7e292cf780fa2e59f183debb0e7e2bc61f27543d
Daisuke Miyakawa [Mon, 16 Apr 2012 21:18:09 +0000 (14:18 -0700)]
Introduce cachedPhotoIcon for notification's large icon
Bug:
6336293
Change-Id: I492384fdb819dfd6574b0dbc84a0324c917c392c
Craig Mautner [Mon, 16 Apr 2012 22:42:47 +0000 (15:42 -0700)]
Clear orientation variable until rotation is done.
In the old code orientationChangeComplete was set to true on each pass
through perfomLayout. If any window was rotating the variable was set
to false on the way through the performLayout. Since we can now make
passes through performLayout before any animation step occurs we were
seeing mOrientationChangeComplete true prior to rotation completing.
This change sets mOrientationChangeComplete false at the start of a
rotation and sets it to true if we ever get through an animation step
without encountering any rotating windows.
Change-Id: I37690cf20868dfbaac94a81640bc4d9cb9fb8f00
Jeff Brown [Mon, 16 Apr 2012 22:46:47 +0000 (15:46 -0700)]
Merge "Refactor SensorManager to move non-API bits into a subclass."
Jake Hamby [Mon, 16 Apr 2012 22:10:18 +0000 (15:10 -0700)]
Merge "Added API to replace unicoded digits to ascii numbers"
Jake Hamby [Mon, 16 Apr 2012 22:10:07 +0000 (15:10 -0700)]
Merge "Convert Arabic phone numbers to ASCII when sending SMS."
jshin [Fri, 13 Jan 2012 18:25:16 +0000 (10:25 -0800)]
Added API to replace unicoded digits to ascii numbers
Users can enter arabic phone number or click arabic phone number
to send MMS. Works for generic Unicode digits (full-width, etc.).
bug:
5615791
Change-Id: Ieec8c5c6c3736ee2b4ac8ddf17f8c41b2001460e
Signed-off-by: Jake Hamby <jhamby@google.com>
Jake Hamby [Fri, 13 Jan 2012 21:14:39 +0000 (13:14 -0800)]
Convert Arabic phone numbers to ASCII when sending SMS.
Modify PhoneNumberUtils to automatically convert non-ASCII digits,
such as Arabic-Indic numbers, CJK full-width digits, etc., to ASCII
in normalizeNumber(), extractNetworkPortion(), and stripSeparators().
This enables the SMS application to support sending SMS's to phone
numbers written with Arabic, or other non-ASCII digits. The number will
be converted to ASCII digits and formatted for the user according to the
country formatting rules.
Bug:
5615791
Change-Id: I42039285db5795b1dda22e4251f54af302e27f13
Signed-off-by: Jake Hamby <jhamby@google.com>
Makoto Onuki [Mon, 16 Apr 2012 21:57:34 +0000 (14:57 -0700)]
Merge "Add # of changed rows to executeForChangedRowCount log"
Brett Chabot [Mon, 16 Apr 2012 21:37:24 +0000 (14:37 -0700)]
Merge "Build Smoke tests against the SDK."
Makoto Onuki [Mon, 16 Apr 2012 20:46:15 +0000 (13:46 -0700)]
Add # of changed rows to executeForChangedRowCount log
Change-Id: I240849f8e90490bbb6f73bbf7047e71254c83f0c
Andreas Huber [Mon, 16 Apr 2012 21:06:05 +0000 (14:06 -0700)]
Merge "Unhide new media related java APIs."
Eric Fischer [Mon, 16 Apr 2012 20:41:23 +0000 (13:41 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Mon, 16 Apr 2012 20:40:53 +0000 (13:40 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Mon, 16 Apr 2012 20:38:47 +0000 (13:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I040b3101c38af0ae31039893863012eccc035381
Jeff Brown [Mon, 16 Apr 2012 20:28:37 +0000 (13:28 -0700)]
Merge "Fix lock ordering bug due to use of reentrant lock."
Eric Fischer [Mon, 16 Apr 2012 20:28:08 +0000 (13:28 -0700)]
Import translations. DO NOT MERGE
Change-Id: I20ad5f365128dac908e1f5a7ced40af98be4dba5
Jamie Gennis [Mon, 16 Apr 2012 20:21:53 +0000 (13:21 -0700)]
Merge "Unhide new SurfaceTexture & TextureView APIs"
Jeff Brown [Mon, 16 Apr 2012 20:19:05 +0000 (13:19 -0700)]
Fix lock ordering bug due to use of reentrant lock.
Bug:
6340736
Change-Id: I4dc738da8c976182669b89af9dcb6fd11dcb0223
Jeff Brown [Mon, 16 Apr 2012 19:13:05 +0000 (12:13 -0700)]
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
Jack Palevich [Mon, 16 Apr 2012 19:25:36 +0000 (12:25 -0700)]
Improve GLSurfaceView Pausing.
When pausing we want to do three separate things, in order:
+ release the EGL surface
+ optionally release the EGL context
+ optionally terminate Egl
Previously we would only do these things if we had an EGL surface. But
it is possible that we don't have an EGL Surface, but still have an EGL
context. And in that situation we still want to release the EGL context.
Now we check the preconditions for the three cases separately.
Bug:
6338235
Change-Id: I804683b3d5c136cc98ea3f5051067eea18152ddf
Kenny Root [Mon, 16 Apr 2012 19:16:00 +0000 (12:16 -0700)]
Merge "Better error reporting for PackageManager tests"
Jeff Sharkey [Mon, 16 Apr 2012 19:11:21 +0000 (12:11 -0700)]
Merge "Move TrafficStats iface counters to xt_qtaguid."
Jeff Sharkey [Mon, 16 Apr 2012 19:03:43 +0000 (12:03 -0700)]
Merge "DownloadManager and metered networks."
Jeff Sharkey [Mon, 16 Apr 2012 18:52:18 +0000 (11:52 -0700)]
DownloadManager and metered networks.
API to control whether a download is allowed to use metered networks.
Bug:
3001465
Change-Id: I29153d2a7495a2e9f76ef5be0a77696a85823839
Dianne Hackborn [Sat, 14 Apr 2012 02:18:41 +0000 (19:18 -0700)]
Add new aapt dump badging output explaining implicit badging.
New uses-implied-feature and uses-implied-permission tell you
about any features or permissions that aapt is automatically
adding to your app, and why it is doing so.
Change-Id: I45edb055408e1259699c994f956166ce67e8db5d
Dianne Hackborn [Mon, 16 Apr 2012 18:28:50 +0000 (11:28 -0700)]
Merge "Add missing clean steps."
Dianne Hackborn [Mon, 16 Apr 2012 18:27:11 +0000 (11:27 -0700)]
Add missing clean steps.
Change-Id: Iecb3ff4d6658e581e51414bdfc397953189e66cb
Bjorn Bringert [Mon, 16 Apr 2012 18:23:55 +0000 (11:23 -0700)]
Merge "Find new recognizer if old one is gone"
Jeff Sharkey [Mon, 16 Apr 2012 18:22:22 +0000 (11:22 -0700)]
Merge "API to report if active network is metered."
Alex Sakhartchouk [Mon, 16 Apr 2012 18:21:02 +0000 (11:21 -0700)]
Fixing test affected by API renaming.
Change-Id: Ib42e1958b385069461ca9fec1ccd9f578c5d47d3