7661 Commits

Author SHA1 Message Date
Kenny Guy
c13053bf1c Add package state to block uninstall.
Add package state to allow profile or device
owners to block uninstall of packages.
Add API to DevicePolicyManager to set/get the
state.

Bug: 14127299
Change-Id: I03528819850b42df7bafa7747bb9e4558d20c4e6
2014-07-04 11:35:17 +00:00
Przemyslaw Szczepaniak
ad6df74ada Add support for voices in TTS API.
Voices allow to expose multiple backends/voice packs for a single
Locale. This is an attempt to port this feature from V2 API.

Bug: 15834470
Change-Id: I0117de238cfcf028bcec5344b8d65c960b96b98c
2014-07-04 11:28:06 +01:00
Jessica Hummel
edb7ae704b Remove unused action from DevicePolicyManager.
This is part of a simplification to cut out one communication with mdm apps.

Change-Id: I7d0067928c20387dca8fcc45a7bc48d9d158fa2c
2014-07-03 11:14:33 +01:00
Sailesh Nepal
2bed9563ed Remove handoff APIs
This CL removes the old handoff APIs and renames
handoffCall() to phoneAccountClicked().

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
2014-07-02 21:33:21 -07:00
Tyler Gunn
ee5a7ee868 Fixing missing current api.txt related to CL/495976.
Bug: 16014224
Change-Id: Ib3b0b65caea194f458a4258a341c21d9898f24d9
2014-07-02 18:33:41 -07:00
Santos Cordon
7a76e87218 Merge "Move cancelMissedCallsNotification to PhoneManager." 2014-07-02 18:17:00 +00:00
Santos Cordon
3c4ff9effc Move cancelMissedCallsNotification to PhoneManager.
Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
2014-07-02 23:39:30 +00:00
Martijn Coenen
1a0fd95a46 Merge "Add API to query for AID prefix support." 2014-07-02 20:11:01 +00:00
Martijn Coenen
d92c168974 Add API to query for AID prefix support.
For future devices which may support
registering AID prefixes. Get the API in for now,
the actual implementation is pretty simple and
will follow later.

Change-Id: I6c16dae9a4dbc0f9cd84bdb61a4de93cffd278ec
2014-07-02 16:30:06 -07:00
Alan Viverette
5dddb70b4e Add style for SearchView
BUG: 6420978
Change-Id: I31d9f7e66c2404388ccbe6d2e43a005deb0b7c25
2014-07-02 15:59:30 -07:00
Ihab Awad
ecf4d09664 Merge "Fix references to two constants" 2014-07-02 18:17:00 +00:00
Ihab Awad
6c9566fb2d Fix references to two constants
The names of two constants missed getting updated in a previous CL,
causing a build breakage.

Change-Id: I2a87f6b3aead2c6b751afedf32a321c8290b51be
2014-07-02 13:51:50 -07:00
Ihab Awad
9c3f18846a Rename Telecomm "Subscription" to "Account" (1/7)
Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
	telecomm/java/android/telecomm/InCallCall.java
2014-07-02 12:27:13 -07:00
Jae Seo
18bbd2100f Merge "TvContract: Add a field for network affiliation to the Channels table" 2014-07-02 18:22:50 +00:00
Tao Bai
f6e1112216 Enable new geolocation permission API.
BUG: 14668406
Change-Id: I9500154d14eceae0248eb3718de27fc33fef4f28
2014-07-02 20:38:14 +00:00
Jae Seo
6e90e4ea4f TvContract: Add a field for network affiliation to the Channels table
This is used to identify a channel that is commonly called by its
network affiliation instead of the display name.

Bug: 15993156
Change-Id: Ib5a15e0e44e815c98b762573b5a24289a86f9583
2014-07-02 13:01:35 -07:00
Ihab Awad
ad4cc9ba38 Merge "Rename Telecomm "Subscription" to "Account" (1/7)" 2014-07-02 18:22:50 +00:00
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
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