7771 Commits

Author SHA1 Message Date
Hector Dearman
a70d1d99de Deprecate the Cookie Sync Manager
The CookieSyncManager is largely useless as the WebView
automatically syncs cookies every 30s (whether you like it
or not). The one method which needs to be saved is sync,
there is no other way to force a sync without this.
We move sync to the CookieManager and rename it to flush
for greater consistency.

Bug: 11060034
Change-Id: I8a14998020eea54f196fc6ed845b09ed69cfd447
2014-07-01 13:12:29 +01:00
Jeff Brown
8fef877310 Merge "Make MediaSessionToken an inner class of MediaSession." 2014-06-30 22:24:07 +00:00
Jeff Brown
dba34ba35c Make MediaSessionToken an inner class of MediaSession.
Also add some missing AIDLs to the framework makefile to ensure
they are included in the SDK.

Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
2014-06-30 16:05:25 -07:00
Sailesh Nepal
091768c302 More fixes for Connection and RemoteConnection
Various clean ups and fixes:
  - allow remote connection to have audio set
  - allow remote connection to have abort
  - move onPostDialWait from ConnectionService to Connection
  - hide APIs we don't need

Change-Id: Ib2d0b40f2e9e7a6b5fbf5d6db48b509b7db3c906
2014-06-30 15:23:53 -07:00
Dongwon Kang
b973baca3b Merge "Add a column to TV channel metadata to enable a newly requested use case" 2014-06-26 23:14:30 +00:00
Chris Craik
9a347f1992 Initial replacement of setOutline() with ViewOutlineProvider API
bug:15283203

A View's outline is now managed by its outline provider. This means
the outline is automatically requeried when needed (e.g. drawable
updates or resize), with customizable querying behavior.

Also adds 'isFilled' property to outline, to be used for hinting
shadow overdraw avoidance.

Change-Id: Ie137548fa850f1ff7863ab2f660d05145c2ad11e
2014-07-01 00:16:25 +00:00
Przemyslaw Szczepaniak
0e83b499df Merge "Remove TextToSpeechClient API." 2014-06-26 21:23:48 +00:00
Przemyslaw Szczepaniak
fc4b289037 Remove TextToSpeechClient API.
Removed all of TTS V2 api with exception of error codes.

Bug: 15834470
Change-Id: I9d9d2aad01811af9b86bf7a3fd018a8d4e5c2f33
2014-06-30 11:25:12 +01:00
Yohei Yukawa
1f6ba49240 Update api/current.txt to fix build
This is missed in the previous commit Ib58ece68dee4c6187d469.

BUG: 15869548
Change-Id: I998a52b803903f61a7a7e32dc83f4a30c9690b1b
2014-06-30 10:55:18 +09:00
Yohei Yukawa
5d6b6f2892 Allow TextInfo to store ParcelableSpans for TextService
This CL adds a new constructor of TextService so that spell
parcelable spans can be preserved in TextInfo.  The primary usage
scenario is to provide locale information for spell checker
service.

BUG: 15869548
Change-Id: Ib58ece68dee4c6187d469049fca8c35a307c7a01
2014-06-30 09:42:18 +09:00
Dianne Hackborn
cb3ed1dc28 Add new sendingUid field to Message.
This tell you where the message came from when it was
delivered through a Messenger.

Change-Id: I86a5f521c8ae919b45872dd76b61e83447f397ab
2014-06-28 14:26:02 -07:00
Nancy Chen
284660104f Change the framework api for a constant in CallLog.Calls
For SUBSCRIPTION_COMPONENT_NAME from "component_name" to
"subscription_component_name"

Bug: 15473965
Change-Id: Ic56f623a048d2f4a59a631b02e61db46678df440
2014-06-27 17:02:15 -07:00
Nancy Chen
5ffbfccea0 Add Subscription field to Call-related framework objects
Getter and setter methods for framework objects that will need to pass
subscription information between activities.

Bug: 15473965

Change-Id: If1e33fd1fe13262954572558580cdcda73795dc0
2014-06-27 16:17:21 -07:00
John Spurlock
eb8d1be6ac Add a BIND_DREAM_SERVICE signature-level permission.
Starting in api 21, will be required to bind to a
declared dream or doze service.

Also added to aapt dump badging output.

Bug:15862654
Change-Id: Ifa0a594eeecf21e6146176c7810a847e1d08fe3b
2014-06-27 18:33:42 -04:00
Alan Viverette
81af3aef9a Update currents.txt to fix build
Change-Id: I46dde6a1ef127dcbaac4937c4bb86cb6e9b6c8e1
2014-06-27 22:32:40 +00:00
Jessica Hummel
a55fc99201 Merge "Provide api to set the managed profile name." 2014-06-26 21:33:38 +00:00
Jessica Hummel
1333ea1ed7 Provide api to set the managed profile name.
Instead of sending the profile name in the provisioning intent
the mdm should set the profile name after provisioning has completed.
This allows us to simplify the provisioning flow and the mdm can
change the name of the profile later on if required.

Change-Id: I821ef2300eae74e89872152ae1c89ac3ecbb82e7
2014-06-30 12:40:37 +01:00
Sander Alewijnse
420b9f4037 Merge "Add public constants for Device Owner Provisioning." 2014-06-26 21:23:48 +00:00
Sander Alewijnse
1cc4ecc3e2 Add public constants for Device Owner Provisioning.
Change-Id: I46dca4e31ab256273eb810f57083f31541815735
2014-06-30 11:36:42 +01:00
George Mount
ecd857be39 Add curved motion to Transitions.
Bug 15197527

Added two public PathMotions: PatternMotion and ArcMotion.
ArcMotion is the algorithm provided by UX. PatternMotion
provides a mechanism for using a Path as a pattern.

Change-Id: Ie57fd5f4e62269acc1164eced39853a12c52bd77
2014-06-30 19:25:04 +00:00
Andrew Lee
bd7c5908ed Merge "Add ICallVideoProvider binder to the InCallCall object." 2014-06-26 23:50:27 +00:00
Andrew Lee
5dc3075cfc Add ICallVideoProvider binder to the InCallCall object.
Bug: 15893156
Change-Id: I450d50c53e0e77944717d1fd8e7b246c3c4bf3b1
2014-06-30 11:44:20 -07:00
Tyler Gunn
bff4131d40 Added API methods for the CallVideoProvider.
Cleaned up comments in CallVideoClient to match.

Bug: 15893156
Change-Id: I9b1268726e64c2b73441272dae8d6a719a32fa16
2014-06-30 11:20:32 -07:00
Yorke Lee
8d3700988e Unhide more ContactsContracts fields
These are needed for unbundling of Dialer/Contacts

Bug: 6948882
Change-Id: I1640387a44608acc9c737bebea9c4f77e774fab1
2014-06-27 11:23:33 -07:00
Andrew Lee
4ea10b0cba Merge "Add methods to set a CallVideoProvider on a Call." 2014-06-26 18:07:29 +00:00
Andrew Lee
5ffbe8b850 Add methods to set a CallVideoProvider on a Call.
Bug: 15893156
Change-Id: I6ae151bc37d8c0be2e4c9823e9444717b6cdc0de
2014-06-27 15:03:24 -07:00
Tyler Gunn
7c668b921b Adding CallVideoClient, used to provide a callback mechanism for the
framework to notify the InCallUI of events related to video calls.

Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
2014-06-27 21:57:12 +00:00
Andrew Lee
f759b5bb0b Add wrapper to provide method calls for binder to InCallUI.
Bug: 15893156
Change-Id: I6b12c0e8c915e184bb469b5934865242f9fde00d
2014-06-27 14:11:51 -07:00
George Mount
31e8005e06 Merge "Don't use overlay to transition ImageViews." 2014-06-27 15:56:14 +00:00
George Mount
8885ac9518 Merge "Add IN/OUT flag for all Visibility transitions." 2014-06-26 17:57:04 +00:00
Hector Dearman
5622e8b669 Merge "Add Third Party Cookie API" 2014-06-26 21:23:48 +00:00
Yohei Yukawa
a1fda005f9 Use CharSequence instead of String in CursorAnchorInfo
This might be useful if we need to pass some spans from the
application to the input method through CursorAnchorInfo.

This change makes CursorAnchorInfo more consistent with other
input method APIs where CharSequence is preferred over String.

BUG: 15088391
Change-Id: Ie04e8a27050849fee1c93ef14b9944acc70fafe4
2014-06-27 16:23:09 +09:00
George Mount
18ab79967c Add IN/OUT flag for all Visibility transitions.
Bug 15758206

Change-Id: If9b1871117a6808c87adc84ab9215b913ebd2704
2014-06-26 07:30:11 -07:00
George Mount
990205eada Don't use overlay to transition ImageViews.
Bug 15744992

MoveImage used an overlay to transition ImageViews. This
caused strange problems when ImageViews were contained in
other Views. The new ChangeImageTransform does a smooth
transition for changes in scale type and bounds.

Change-Id: Ia5021f4828f8f818a8699b3bdd38437aeba1cfc8
2014-06-25 13:45:16 -07:00
Hector Dearman
fc9a27aa5a Add Third Party Cookie API
Bug: 11678084
Change-Id: Ieb74fb6caae3d5a18dbfe748be47ebebad003cf7
2014-06-25 16:34:37 +01:00
Dongwon Kang
2b53aae90c Add a column to TV channel metadata to enable a newly requested use case
conditional_access :
    Used to let user know this channel is scrambled by a conditional access
    system and need to contact the service provider to watch it.

Bug: 14073703
Change-Id: I62d744b92e31fbbb95ba10b2595686114f6fbb6f
2014-06-24 14:57:50 +09:00
Zhijun He
e040418f47 Camera2: Add high speed video support
Below tags are added/updated:
- Add HIGH_SPEED_VIDEO in android.control.sceneMode
- android.control.availableHighSpeedVideoConfigurations

Change-Id: Ice2497c81d9feead7519f5d11f2bd5598093b4bc
2014-06-26 20:34:56 +00:00
Sailesh Nepal
400cc48512 Clean up Connection API
Made all the on* methods overridable. Made the remaining final.

Made getState public.

Change-Id: I715539599ac8826e5155852dd8ec56c35e4b89f1
2014-06-26 12:14:56 -07:00
Sailesh Nepal
b32d9e53c2 Merge "Add API to cancel outgoing calls" 2014-06-25 03:38:12 +00:00
Sailesh Nepal
506e38690f Add API to cancel outgoing calls
This replaces CallServiceSelectorAdapter.cancelOutgoingCall

Change-Id: I9e5da9c607675bc3c230f6eb6d1cc149a38bf905
2014-06-25 17:27:15 -07:00
Yorke Lee
f226ebcd99 Merge "Add REMOVE_VOICEMAIL permission to system" 2014-06-25 03:44:18 +00:00
Jeff Tinker
3b6ec30bff Fix exception discrepancy in MediaDrm.openSession
bug: 13792521
Change-Id: I2e47ce754c1e560315bf2bf1144d94e01472e392
2014-06-25 17:20:33 +00:00
Yorke Lee
5a2f488b70 Add REMOVE_VOICEMAIL permission to system
Add a permission that will allow any app that has this permission
to remove any voicemails in the user's call log, even those that
don't belong to it.

This will be needed for the unbundled dialer to be able to manage
the user's voicemails.

Bug: 6948882
Change-Id: Idca23ee83e541ba8aef24d6cb7fe09d5adac1e10
2014-06-25 10:12:31 -07:00
Tim Murray
6e45f30718 Remove @hide for new RS constructors.
Change-Id: I015f36e8c54663472f236e311fe279ce06261ff0
2014-06-25 09:20:57 -07:00
Santos Cordon
ad3c74adf4 Merge "Remote Connection implementation." 2014-06-24 08:05:46 +00:00
Santos Cordon
52d8a15e14 Remote Connection implementation.
API classes for daisy-chaining connection services.

Change-Id: I90991697456377b72ec73d2ef835864cb0b7737a
2014-06-24 19:06:20 -07:00
RoboErik
19c9518f6a b/15729204 Pipe sessions through to VolumePanel
When remote volume is changed via volume buttons we need to notify
the system UI so it can show the slider. This also passes it the
controller to use so adjustments to the slider are sent back to
the correct session.

Change-Id: If5847bcd5db16c56e0e9904b88c94e5b28954c41
2014-06-25 14:36:51 -07:00
Ihab Awad
a61e5074f2 Merge "Replace CallServiceSelectors with Subscriptions (1/3)" 2014-06-23 21:50:10 +00:00
Ihab Awad
52a28f619f Replace CallServiceSelectors with Subscriptions (1/3)
Remove CallServiceSelectors and replace them with comprehensive
support for Subscriptions as the means of selecting ways of making
phone calls. After this change, a ConnectionService is not a
semantically meaningful "way of making a call" -- it's more like the
mechanism whereby the Android system communicates with a 3rd party
process to ask for phone services. We anticipate each process having
only one ConnectionService.

Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
2014-06-23 19:59:27 -07:00
Adam Powell
7901b2a549 Set the default content description for Toolbars acting as action bars
Bug 15814044

Change-Id: I07c20de1349cb07f21eaf0db718da94c0ba7043d
2014-06-24 17:32:06 -07:00