7845 Commits

Author SHA1 Message Date
Santos Cordon
69ea13ea71 Merge "Add PhoneManager to expose functionality to phone/dialer apps." 2014-07-01 19:22:38 +00:00
Santos Cordon
f90186d93e Add PhoneManager to expose functionality to phone/dialer apps.
Eventually, this will house the TelecommManager methods.

Change-Id: Id8b08d88a06a7b4e90a4a7f702ba56526e108ca5
2014-07-02 18:01:56 +00:00
Ye Wen
474166cbec MMS auto persisting (1/4)
New constant in android.provider.Telephony

b/14095333

Change-Id: I137e99dfab92d97585fd2a6b9f2b2751a28fee92
2014-07-02 11:02:53 -07:00
Niels Egberts
795d777ee1 Forgot to deprecate a method in current.txt before merging earlier change.
Also includes a comment fix and line size changes in TextToSpeech.java.

Change-Id: Ia5842b694bca6cd9cae035164ffc605451e72d8b
2014-07-02 16:09:54 +00:00
Niels Egberts
df7deefe8e Support for CharSequences in the V1 API.
Two newly deprecated methods:
  - TextToSpeech.speak (over TextToSpeech.speak with mandatory utteranceId)
  - SynthesisRequest.getText (over SynthesisRequest.getCharSequenceText)

Change-Id: I8a75ed335c91074c72d6ef374ff8b9c79a7c208d
2014-07-02 15:23:33 +00:00
George Mount
238010f056 Allow activity transitions to target nav and status bar colors.
Bug 15885062

Action bar can already be targeted via android:action_bar.
Navigation bar background is now android:navigation:background.
Status bar background is now android:status:background.

Change-Id: I4604906923f3473af3beec4f865463b2fe4a5316
2014-07-02 06:58:38 -07:00
Jason Monk
1c7c319bb8 User restriction for disallowing window creation
Block any types of windows that could by used by apps to create
views on top of a locked app.  This can be used by device admins
in conjunction with lock task mode.

Added a way for system (and priv apps) to bypass user restrictions
for specified op codes.

Bug: 15279535
Change-Id: I2381530ef6226a5bb32a99bb4030baafb39bf564
2014-07-02 09:02:46 -04:00
Przemyslaw Szczepaniak
5cbf17ca05 Add support for audio session id in the TTS
+ #playEarcon & #queueAudio respects request Volume/Pan settings.

Bug:15432115
Change-Id: I136afef77afbc56c34810c64123f7be4b431d378
2014-07-02 11:28:24 +01:00
Eric Laurent
7edabadf78 Merge "AudioManager: add isVolumeFixed() API" 2014-07-01 23:33:37 +00:00
Eric Laurent
ba207e76b2 AudioManager: add isVolumeFixed() API
Indicates if the device implements fixed volume policy.
In this case, volume control APIs are not operational.

Bug: 11430859.

Change-Id: Ia82bdfe5b38d6b2ce132f00a493e6a04cb794ea0
2014-07-01 19:03:04 -07:00
Sailesh Nepal
ade3f25a48 Make RemoteConnection.getState public
Change-Id: Iead485345d01d47e346da014fdb9979def25c372
2014-07-02 00:33:45 +00:00
Andrew Lee
b18460ef5b Merge "Use proper name for method for setting paused image." 2014-07-01 14:48:56 +00:00
Andrew Lee
b8f4db89e6 Use proper name for method for setting paused image.
Change-Id: Ifc3ada4d3b88ae325c2e4edc0c0bdd1b9f836995
2014-07-01 17:00:30 -07:00
Ruben Brunk
4a61a86b36 camera2: Update camera metadata with legacy mode enum.
Bug: 15116722

- Adds enum for a device running in compatibility mode.  When running
  in compatibility mode, the Camera2 API is emulated using the
  deprecated Camera API, and many capabilities will not be supported.

Change-Id: I94f31775699447a82d53b7f2a6f9fbdc0a5afb3f
2014-07-01 23:59:23 +00:00
Sujith Ramakrishnan
cc32bd83e4 Add support for mouse-based text selection.
Incorporate patch from Logitech (donated under AOSP license) to the
framework to add mouse-based text selection to ArrowKeyMovementMethod.

Bug: 14652753

Change-Id: Iab264bb954b72ccedfada763eba8f13ef37a4578
2014-07-01 15:57:45 -07:00
Yorke Lee
ca9239bd3a Merge "Fix build break" 2014-07-01 14:48:56 +00:00
Yorke Lee
5056d5d34d Fix build break
Fix api/current.txt

Change-Id: Ib73558530d984613916ad41b488042af4cd6e08d
2014-07-01 15:43:05 -07:00
Adam Powell
d76008352e Remove ActionBar.LayoutParams MarginLayoutParams constructor
Adding this for L caused some fun issues with source compatibility.
Apps that previously passed another MarginLayoutParams subclass to
ActionBar.LayoutParams' constructor started statically linking to a
constructor overload that did not exist on older platform changes with
no other source changes. In the interests of avoiding these headaches
for developers, remove it.

Bug 15933193

Change-Id: I01cf8dfa2341b9d9629331639433b59352e7e15a
2014-07-01 15:39:28 -07:00
Tyler Gunn
9d9f703299 Merge "API support for reporting of changes to call features. (eg VoLTE, VoWIFI, etc)" 2014-07-01 19:22:38 +00:00
Tyler Gunn
8d83fa9bbd API support for reporting of changes to call features.
(eg VoLTE, VoWIFI, etc)

Bug: 15987281
Change-Id: Iae351ca2fe7b36c067106695f611cca6b3230556
2014-07-01 19:22:22 +00:00
Yorke Lee
e49dd7dda2 Merge "Clean up SearchSnippetColumns API (1/3)" 2014-07-01 16:28:20 +00:00
Yorke Lee
eaf09493b3 Clean up SearchSnippetColumns API (1/3)
Renamed SearchSnippetColumns to SearchSnippets to be more consistent
with ContactsContract naming conventions (Data, Groups, StatusUpdates, etc).

Fix some stale documentation, add more documentation and examples

Bug: 6948882

Change-Id: I614e8d7506a4a291a57d693043481557c975f7f7
2014-07-01 14:23:52 -07:00
Andrew Lee
a5736291bd Add function set CallVideoClient on the CallVideoProvider.
- Added implementation of RemoteCallVideoClient.
- Filled out the proxy methods on RemoteCallVideoProvider.
- Renamed methods on CallVideoClient/CallVideoProvider. Per Santos's
advice, this is to distinguish between the methods handling remote
communication, and the actual implementation of those methods.

Bug: 15893156
Change-Id: I5f433db1faa820dc96913091ce09938ddf40ffdd
2014-07-01 13:28:56 -07:00
Yorke Lee
5e45543510 Add manage voicemail permission (1/4)
Bug: 6948882

Change-Id: I3367c20721b6e9572e79c7b4f42758b8c4e30372
2014-06-27 15:43:30 -07:00
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