12832 Commits

Author SHA1 Message Date
Andrii Kulian
2e751b8c77 Update ActivityInfo#WindowLayout apis (1/3)
Adds documentation, renames Layout to WindowLayout and
splits #minimalSize to #minimalWidth and #minimalHeight.

Bug: 27528326
Change-Id: Idb440cb081a14ccdc83309284e906454633c4504
2016-03-27 15:35:33 -07:00
Chad Brubaker
e4c5c161dd Merge "Add handleTrustStorageUpdate" into nyc-dev 2016-03-26 16:36:31 +00:00
Edward Cunningham
d0ee17d926 Merge "DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.""" into nyc-dev 2016-03-25 22:01:07 +00:00
Chad Brubaker
bf9a82a643 Add handleTrustStorageUpdate
This pruns all the stored trusted issuers so that changes to the system
or user CA store are detected. Currently this is only exposed as a
TestApi, but it can be hooked up to the trusted storage change event
in a future commit.

Bug: 27526668
Change-Id: Ic426254babab9a3177c968bc05b45e95eaac1fdd
2016-03-25 14:48:44 -07:00
Edward Cunningham
abb2c5af8e DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.""
This reverts commit c6f5738d3c8621d2e682026e35e57f540750d117.

Change-Id: Ibb330f44c3910b3fc124ee8c718a508cdf3b32b4
2016-03-25 20:56:31 +00:00
Philip P. Moltmann
ebf397625e Merge "Change hasCustomPrintIcon and setStatus as requested by API council." into nyc-dev 2016-03-25 16:50:36 +00:00
Narayan Kamath
700c7f80c1 Merge "Track libcore change df3cf7e4cf590086d1cdd09b6e0d3104de167e61." into nyc-dev 2016-03-25 10:20:51 +00:00
Sungsoo Lim
21c03f0c61 Merge "MediaBrowser: Applying API Review" into nyc-dev 2016-03-25 04:29:56 +00:00
Tyler Gunn
720c664401 Add connection properties to Connections.
- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: Icce921b03cda514a991646ed39a26559c7e91230
2016-03-24 20:20:11 -07:00
Jiabin Huang
2dc6cc9aa4 Merge "TIF: Unhide TvRecordingClient.tune(String, Uri, Bundle)" into nyc-dev 2016-03-25 02:26:04 +00:00
Philip P. Moltmann
d74d1e5491 Change hasCustomPrintIcon and setStatus as requested by API council.
Bonus: null advanced keys produced a exception deep in the print
       spooler. Hence prevent null keys on the surface from now on.

Bug: 27716355
Change-Id: I3c064956f4e670cd7091437ade06605aa8d797b0
2016-03-24 16:53:36 -07:00
Robin Lee
363e70dd00 Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev 2016-03-24 18:32:52 +00:00
Abhijith Shastry
d1ceef09a7 Merge "Add an unblock API to BlockedNumberContract." into nyc-dev 2016-03-24 17:33:58 +00:00
Robin Lee
a249aee10b Declare provider.Settings intent for VPN fragment
Currently used for a number of tests. May also be useful for 3rd-party
apps using VPN in some manner or another.

Bug: 27700919
Bug: 26887434
Change-Id: I4d269954265a2590499e20150f009fe437c8078f
2016-03-24 17:25:06 +00:00
Narayan Kamath
13cdc371a2 Track libcore change df3cf7e4cf590086d1cdd09b6e0d3104de167e61.
bug: 27464570
Change-Id: I83d0b410ae7f928ba4545127ed7035772b21e12b
2016-03-24 16:38:20 +00:00
Clara Bayarri
3e5bf786b7 Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev 2016-03-24 13:30:48 +00:00
Clara Bayarri
bfd996f5cd Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev 2016-03-24 11:49:05 +00:00
Clara Bayarri
fcd7e80b21 Keyboard Shortcuts: plumb deviceId through
Bug: 27673736
Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
2016-03-24 11:47:32 +00:00
Clara Bayarri
4e850ffaa7 Keyboard Shortcuts: Add Keycodes for shortcut representation
This changes the current API given app feedback received. In order to use
keycodes as well as chars we also must implement a mapping of Keycodes to
Display labels as only keys with a single char representation are provided
by KeyCharacterMap.

Bug: 27409783
Change-Id: I3da653adc4b8cbc66a4d1aa24a5f9181f71e83c3
2016-03-24 11:47:23 +00:00
Abhijith Shastry
cdc2a4c737 Add an unblock API to BlockedNumberContract.
The delete API need not unblock a number if there are multiple copies of a single number.

BUG: 27790536

Change-Id: I6391b0c095827afe85f2ee5d1756741e144c8c26
2016-03-23 19:29:59 -07:00
Jiabin
d48d029da4 TIF: Unhide TvRecordingClient.tune(String, Uri, Bundle)
Bug: 27762945
Change-Id: I7f9757f8ca1eb92f892fb2961717125c8b909663
2016-03-24 09:57:27 +09:00
Tyler Gunn
dee56a8a79 Expand call/connection extras API.
Currently, connection extras are propagated up to Telecom as an
entire bundle.  This is not ideal, as any time a change is made to
the extras, the bundle needs to be fetched, changed, and then re-set on
the connection, where it is parceled to Telecom as a whole.

Using how extras on an Intent as inspiration, this CL adds separate
putExtras, putExtra, and removeExtra methods to allow manipulation of
the extras bundle without operating on it in its entirety.

This Cl also adds support for Calls modifying the extras bundle, with
changes propagated back down to ConnectionServices.

Bug: 27458894
Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961
2016-03-23 16:06:34 -07:00
Peng Xu
370985d00a [Sensor] Add a constant to match native header
This CL add private sensor type base constant to java file to match
C header file.

It is defined that all vendor sensor types have to be >= 0x10000.
There is a constant in sensor.h for reference. However, there is
no such constant defined in Sensor.java before. This CL adds it.

Change-Id: Ia8f8c06583c62879e51779815051c346f1a9cd14
(cherry picked from commit 1795e14dab0367fdd77f2c1eee6b4fd39d1c5902)
2016-03-23 17:51:02 +00:00
Abodunrinwa Toki
ae64758edd Merge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS" into nyc-dev 2016-03-23 16:02:36 +00:00
Abodunrinwa Toki
07177140e4 Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS
Bug: 26943892
Change-Id: I1eb6bd7a9e816190b96dc1516d5874eb966385a4
2016-03-22 17:12:22 +00:00
Joachim Sauer
d76fe896d4 Hide general utility methods in ICU4J.
Bug: 22023363
Change-Id: I1d1624b4846fba7855fa7273fa34646c85369b56
2016-03-22 16:07:26 +00:00
Paul Duffin
c108dea0bb ICU4J: Removed a couple of useless or internal methods from API
Bug: 22023363
Change-Id: Iaa0b4335ad50bbad2ad87ab5b70834a602f50422
2016-03-22 15:55:01 +00:00
Paul Duffin
d7ec6e5a8e Merge "ICU4J: Update API for using civil version of IslamicCalendar" into nyc-dev 2016-03-22 15:53:50 +00:00
Tony Mak
8673b2899e Revert getUserInfo change and add isManagedPorfile(int userId)
Bug: 26469166
Change-Id: I60b70170ddc80432fc8f638b1f63c4e9f5212785
2016-03-22 15:26:05 +00:00
Paul Duffin
74a8e08d59 ICU4J: Update API for using civil version of IslamicCalendar
Bug: 22023363
Change-Id: I1a3d25be65f9f69767cc32df1b768700e30463cf
2016-03-22 13:46:38 +00:00
Jakub Pawlowski
390dced18a Update api/test-current.txt
Change-Id: I1fa444fbe874862e6296ee6a9751c39a0cbc4b7a
2016-03-21 20:34:05 -07:00
Jakub Pawlowski
bf0faed359 Change how services are passed up to the stack
Right now we pass all services, characteristics and descriptors one by one.
This patch changes that - now we pass whole GATT database at once.

Bug: 27455533
Change-Id: Ie42cd80072538e411904b9c9b011a978f26158b9
2016-03-21 19:58:27 -07:00
Christopher Tate
e409f0e462 Add API to read the current wallpaper's ID
Also regularize cross-user call handling throughout.

Bug 27743435

Change-Id: Ibc530d0576d657723a613888357a6ea71b482763
2016-03-21 15:32:57 -07:00
Tyler Gunn
dfc1ee0162 Merge "Correct naming issues with video calling carrier config items." into nyc-dev 2016-03-21 18:37:09 +00:00
Tenghui Zhu
68e5b9601a Merge "API review: Hide ComplexColor and GradientColor" into nyc-dev 2016-03-21 18:19:54 +00:00
Teng-Hui Zhu
e03c469fd4 API review: Hide ComplexColor and GradientColor
b/27532267

Change-Id: I01582e067ec8f4897c34dcec0f7c14700c40e02b
2016-03-21 11:09:16 -07:00
Siyamed Sinir
6eccafd339 New Linkify.addLinks function with set of known schemes
A new addLinks function is added that accepts a default scheme and a
set of known schemes. Default scheme is applied whenever the link found
does not start with one of the given known schemes.

Moreover, previously JavaDoc for addLinks functions with a single scheme
parameter described that the scheme attribute will be prepended to the
links that do not have 'a' scheme. The code actually checks if the link
starts with the given scheme and prepends if not. JavaDoc updated
accordingly.

Bug: 26985901
Change-Id: I94ea81dcf83ba7a6b6cd47c10fe8fb277964eb15
2016-03-21 10:27:31 -07:00
Victor Chang
d3c0cf50b6 Merge "Api change of DPM.setApplicationRestrictionsManagingPackage()" into nyc-dev 2016-03-21 13:08:14 +00:00
Polina Bondarenko
eb84552ef0 Added skin temperature, thresholds to HardwarePropertiesManager
Bug: 27425887
Change-Id: I13f69ae37906b71d93edbf6bea6daf809d97cfd5
2016-03-19 10:49:18 +00:00
Ruben Brunk
c7354fe2d4 Notify VrListenerService when VR activity changes.
Bug: 27536964
Bug: 22855417

Change-Id: I67e1f8e6595332b3d768a99735bbd5fd38dffdc9
2016-03-18 16:00:38 -07:00
Julius D'souza
77e645123f Merge "CTS: Add @hide annotations to several @IntDef elements" into nyc-dev 2016-03-18 19:53:56 +00:00
Julius D'souza
2b67c07d82 CTS: Add @hide annotations to several @IntDef elements
Bug: 27232186

Change-Id: Idd70359e22606a5ff21dfaffd119528cedd08b5a
2016-03-18 12:18:18 -07:00
Greg Kaiser
6ba60e6049 ContextHubManager: Rename Callback class.
Since this Callback class is scoped within ContextHubManager, we
remove the redundant ContextHub from the name.  This CL is just
a rename and should not modify any behavior.

Change-Id: I40fea3ab7b5312d32a6f22b7543669ed563b9992
2016-03-18 10:29:29 -07:00
Victor Chang
cd14c0a9da Api change of DPM.setApplicationRestrictionsManagingPackage()
Throws NameNotFoundException instead of IllegalArgumentException

Can't throw NameNotFoundException directly from DPMS as
aidl doesn't support checked exception

Bug: 27532565
Change-Id: I202721f41057f92ad2dd851d4769ba4502a8f9b3
2016-03-18 16:44:21 +00:00
Jeff Sharkey
2a4e495448 Merge "Update direct boot related documentation." into nyc-dev 2016-03-18 16:32:16 +00:00
Phil Weaver
b2cc929657 Merge "Update a11y gesture and magnification APIs." into nyc-dev 2016-03-18 15:52:29 +00:00
Przemyslaw Szczepaniak
438bd65041 Merge "Track libcore change (cherry picked from commit 5bad107355d440409eea313b60c40bc32c12e295)" into nyc-dev 2016-03-18 14:43:27 +00:00
Przemyslaw Szczepaniak
4f9462669e Track libcore change (cherry picked from commit 5bad107355d440409eea313b60c40bc32c12e295)
Bug: 27692239
Change-Id: I317bed961b861b8d1e0f8b17fc1ce2fa043baea9
2016-03-18 14:42:05 +00:00
Alan Viverette
bb09b7bf59 Merge "Clean up docs, attrs, and APIs for PopupWindow enter/exit transitions" into nyc-dev 2016-03-18 14:18:28 +00:00
Alan Viverette
1e940dc2d1 Clean up docs, attrs, and APIs for PopupWindow enter/exit transitions
Bug: 27654124
Change-Id: I9a323eeea464b4b9ca6111ef47192fdbcc5bca24
2016-03-18 09:55:10 -04:00