Commit Graph

21844 Commits

Author SHA1 Message Date
TreeHugger Robot
fc4fc2c9e3 Merge "MediaTimestamp: add Builder" 2018-12-07 23:27:56 +00:00
Adrian Roos
b7136fcc5a Merge "Revert "AML: Make MediaSessionManager.createSession() as @SystemApi"" 2018-12-07 22:08:52 +00:00
Benedict Wong
c02acadd9b Merge "Add IPsec tunnel mode feature flag" 2018-12-07 19:42:21 +00:00
TreeHugger Robot
c3effa7b8d Merge "Add extra in DevicePolicyManager for provisioning trigger." 2018-12-07 17:43:22 +00:00
Adrian Roos
d6d5ee736f Revert "AML: Make MediaSessionManager.createSession() as @SystemApi"
This reverts commit 0852ebab41.

Reason for revert: Return and parameter types of added SystemApi are not themselves part of the API.

Bug: 119749862
Change-Id: I9f89abc25d2f3f6cff60c2465fca8e471e7f1f2a
2018-12-07 14:11:51 +00:00
Ivan Chiang
919cad6ce4 Merge "Expose @SystemApi and @Public for unbundling DocumentsUI" 2018-12-07 07:26:47 +00:00
Felipe Leme
132b1c6002 Merge "Yet another (major) refactoring on Content Capture and Augmented Autofill." 2018-12-07 04:18:44 +00:00
Hyundo Moon
04f55a3391 Merge "AML: Unhide 4-params constructor of RemoteUserInfo" 2018-12-07 02:24:57 +00:00
Felipe Leme
749b889889 Yet another (major) refactoring on Content Capture and Augmented Autofill.
Bunch of changes:

- Split public SmartSuggestionsService info ContentCaptureService and
  AugmentedAutofillService
- Renamed 'intelligence' packages to either 'contentcapture' or
  'autofil.augmented'
- Renamed internal packages and classes.
- Changed permissions, resource names, etc...
- Moved Augmented Autofill logic from IntelligeceManagerService (R.I.P.) to
  Autofill.
- Optimized IPCs by passing a String instead of the InteractionSessionId
  (that also solves the view -> service dependency).

Test: atest CtsContentCaptureServiceTestCases \
            CtsAutoFillServiceTestCases \
            FrameworksCoreTests:SettingsBackupTest
Test: manual verification with Augmented Autofill Service

Bug: 119638877
Bug: 117944706

Change-Id: I787fc2a0dbd9ad53e4d5edb0d2a9242346e4652d
2018-12-06 16:56:39 -08:00
Toby Sargeant
7dee65518e Merge "[webview] Add a force dark WebSetting" 2018-12-06 23:04:51 +00:00
Wei Jia
efb8cd1337 MediaTimestamp: add Builder
Test: cts
Bug: 112549021
Change-Id: I696fea67407c5a9b8fd4e2e17ac88c26be05a157
2018-12-06 14:59:29 -08:00
John Reck
9f029c5be3 Merge "Add NDK async begin/end & counter" 2018-12-06 21:43:18 +00:00
Chen Xu
4205562972 Merge "address API council feedbacks for Telephony.Carriers" 2018-12-06 20:11:18 +00:00
Tobias Sargeant
fec405a35a [webview] Add a force dark WebSetting
Force dark mode is a tristate:

- never invert colours for webview content
- always invert colours
- follow the parent view behaviour

Test: CTS test, after WebView implementation.
Bug: 120599879
Change-Id: Ib11358bc3a3cbc5e55c0ec184084c7d205acf60c
2018-12-06 18:57:32 +00:00
arangelov
aeb04599f9 Add extra in DevicePolicyManager for provisioning trigger.
We need this @SystemApi extra so that ManagedProvisioning can
know what triggered it.

Bug: 120496001
Test: None
Change-Id: I7f1e8ab53c877a6ecb56bf2601f3ef37e2779fb8
2018-12-06 15:16:16 +00:00
Mihai Popa
7796107b0b Merge "Make text cursor drawable public" 2018-12-06 13:49:29 +00:00
TreeHugger Robot
3a6306d4e4 Merge "Camera: Add support for SessionConfiguration queries" 2018-12-06 12:33:31 +00:00
Mihai Popa
6c7ad1d018 Make text cursor drawable public
The CL adds public getter and setters for the drawable used for the
cursor of a TextView.

Bug: 117521190
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I3801ee8642d277c96c094b7d4155e28fc5bcea87
2018-12-06 10:39:34 +00:00
TreeHugger Robot
188cf112d2 Merge "Add public thermal API" 2018-12-06 10:26:48 +00:00
Benedict Wong
dc92c69b08 Add IPsec tunnel mode feature flag
This patch adds a feature flag for IPsec Tunnel Mode. This implies VTI
(with output-mark updating), or XFRM-I in the kernels.

Bug: 117183273
Test: Compiles
Change-Id: I6dd0e429cc0bd100f2ef1140a6651f6ef5294c79
2018-12-05 23:41:02 -08:00
Nate Fischer
7198156c27 Merge "WebView: remove unused Token Binding system APIs" 2018-12-06 03:57:54 +00:00
Roshan Pius
680b48e0b9 Merge "WifiManager: Add a error code for suggestion API's" 2018-12-06 03:13:17 +00:00
Hyundo Moon
b505f0aab3 AML: Unhide 4-params constructor of RemoteUserInfo
Bug: 119752205
Test: make update-api
Change-Id: Idabdd68a335afae58392ef3bb357991d10718a97
2018-12-06 11:58:46 +09:00
John Reck
77b31a5eb1 Add NDK async begin/end & counter
Bug: 111503982
Test: atest CtsAtraceHostTestCases
Change-Id: I038b76b505d3103f7b1e85a9469932d23cde2ab8
2018-12-05 18:16:39 -08:00
TreeHugger Robot
eb8464dc0a Merge "MediaPlayer2: unhide MediaPlayer2 and related classes." 2018-12-06 01:08:26 +00:00
TreeHugger Robot
67caf70322 Merge "SubtitleData: add Builder in SubtileData and TimedMetaData" 2018-12-06 01:05:15 +00:00
TreeHugger Robot
fdb30ae286 Merge "Few improvements on Augmented Autofill." 2018-12-05 23:19:06 +00:00
Wei Wang
5947665d9a Add public thermal API
No permission added for now as there is no sensitive data exposed, other
than get system thermal status.

CTS will be added later to make sure call back triggered when status changes.

Bug: b/119613338
Test: PowerManager CTS test
Change-Id: I2e5ab716df82d82aa31cb1015bd5548fe312c1a4
2018-12-05 13:36:06 -08:00
TreeHugger Robot
9f1505b460 Merge "p2p: hide factoryReset API" 2018-12-05 18:50:49 +00:00
Shuo Qian
946d90b724 Merge "Make some SubscriptionManager APIs system APIs" 2018-12-05 17:36:54 +00:00
Felipe Leme
bf93cdcb91 Few improvements on Augmented Autofill.
- Send the initial value of the focused field, so the service can decide whether
  or not to display the autofill UI if it's not empty.
- Log how long it took for the service to handle the request and to hte system
  to render the UI.
- Use CloseGuard to make sure the UI is properly destroyed.

Bug: 120303290
Bug: 119638877

Test: manual verification

Change-Id: I7abed10c0915ff9a2deddb488c70e1491cdbd480
2018-12-05 08:49:25 -08:00
Christine Franks
ca1fd658ed Merge "Add IColorDisplayManager" 2018-12-05 16:29:51 +00:00
Ivan Chiang
b26b09fec1 Expose @SystemApi and @Public for unbundling DocumentsUI
1. Expose @Public for query arguments and flags.
2. Expose @SystemApi for related manageMode apis and some
   related storage flag in Root.
3. Add new isChildDocument method to support ContentResolver
   parameter and expose it @Public.
4. Expose @Public for getDocumentMetadata related methods.

Bug: 117634543
Test: make, make api-stubs-docs-update-current-api,
Change-Id: Ib172d46ba9727c35277fb285d3a09380fe106697
2018-12-05 17:06:05 +08:00
Hyundo Moon
8d2cfac24a Merge "AML: Make MediaSessionManager.createSession() as @SystemApi" 2018-12-05 06:48:30 +00:00
Jeff Sharkey
9246fc7616 Merge "Stop indexing location metadata." 2018-12-05 05:46:18 +00:00
Sunny Goyal
cf8be14d5e Merge "Adding API to specify a dark text specific layout in app-widgets" 2018-12-05 04:12:20 +00:00
Hyundo Moon
873d88d2c0 Merge "AML: Unhide KeyEvent.isMediaSessionKey()" 2018-12-05 03:00:13 +00:00
Wei Jia
c926a4da7d MediaPlayer2: unhide MediaPlayer2 and related classes.
Test: cts
Bug: 112549021
Change-Id: Ie38311db0c48c53f614e521f5a6c93dc525f8064
2018-12-04 18:37:05 -08:00
TreeHugger Robot
b5857c748f Merge "Initial implementation of Intelligence Service Shell commands." 2018-12-05 01:36:10 +00:00
Nate Fischer
eb667e66eb WebView: remove unused Token Binding system APIs
These APIs never really launched, and the Token Binding protocol is no
longer supported by the chromium team (which means these APIs have been
broken for some time).

This removes most of the TokenBinding API surface, keeping (and
deprecating) just enough to allow us to still compile and run WebView
APKs.

Bug: 119576150
Test: make update-api
Change-Id: Ia5a4258aac5ed21691ea36a428b4aa7195ff21ca
2018-12-04 17:32:12 -08:00
Jackal Guo
b03bf399ee Merge "Make A11Y_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED as SystemApi" 2018-12-05 01:07:58 +00:00
Wei Jia
e17be8f3f5 SubtitleData: add Builder in SubtileData and TimedMetaData
Test: cts
Bug: 112549021
Change-Id: I5142f0d414931cd151f9377c328b7c3947ec0cfe
2018-12-04 17:07:40 -08:00
Lajos Molnar
8d57b6ca54 Merge "MediaFormat: add more getters, setters as well as iterators" 2018-12-05 00:10:54 +00:00
Hyundo Moon
3d1353aa60 AML: Unhide KeyEvent.isMediaSessionKey()
Bug: 119789707
Test: make update-api
Change-Id: I60f3271b205348ed64241851304fe7213a535c8e
2018-12-05 09:07:08 +09:00
Jeff Sharkey
33e70bd6d2 Stop indexing location metadata.
The new ACCESS_MEDIA_LOCATION permission is designed to protect
the location metadata of items the caller doesn't own, but we can't
easily perform partial filtering of metadata from returned Cursor
objects based on per-row ownership, so we're forced to outright stop
indexing and returning location metadata via queries.

Apps can still easily obtain location metadata using ExifInterface.

Bug: 111892141
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I4d99e6aa7d94bb0e7a50ce86eb1ab0f1ed142d4a
2018-12-04 13:17:09 -07:00
Daniel Solomon
37fc6eaaf4 Merge "Add API to ColorSpace to compute chromaticity coordinates from CCT" 2018-12-04 20:12:46 +00:00
Hall Liu
3706c94bf3 resolve merge conflicts of 78128395e7 to master
Bug: 119675160
Test: none
Change-Id: I6bb788cb3b5e0e8f36c48282b06527f5d8dec688
2018-12-04 11:38:12 -08:00
Hall Liu
78128395e7 resolve merge conflicts of 57a6375a99 to pi-dev-plus-aosp
Bug: 119675160
Test: None
Change-Id: Ib01e4549beca4fc237b7ea95aa9043536e1e1139
2018-12-04 18:55:18 +00:00
TreeHugger Robot
be0afe72a8 Merge "Refactor Inspector API" 2018-12-04 18:36:51 +00:00
Felipe Leme
5933efbd26 Initial implementation of Intelligence Service Shell commands.
Bug: 111276913

Test: adb shell cmd intelligence
Test: cts-tradefed run commandAndExit cts-instant-dev -m CtsContentCaptureServiceTestCases
Test: atest CtsContentCaptureServiceTestCases CtsAutoFillServiceTestCases

Change-Id: Icc677d03db803fb66d7ee14a0375a765b8941bc2
2018-12-04 10:29:49 -08:00