433 Commits

Author SHA1 Message Date
Neil Fuller
5fe1eef80c Merge "Unhide Method.isDefault" 2016-01-27 11:49:10 +00:00
Daniel U
2102de9e1f Overload toHtml() & fromHtml() to accept option flags
Overload the methods to take int option flags indicating the conversion
behavior. This guards against large disruptions in legacy applications.

Change-Id: I0f47180bbb78884b67aa200fe5156e903eeaa6f6
2016-01-27 11:24:03 +00:00
Sungsoo Lim
cd5e40c52f Merge "MediaBrowser: Support pagination of child media items" 2016-01-27 09:57:38 +00:00
Jaesung Chung
8409c0691f Enable reading a thumbnail from RAW image files in MtpDatabase
Also introduce new supported RAW image file formats, PEF and SRW.

RAW image file formats are not defined in PTP 1.2 specification except
for DNG. They are mostly built on top of TIFF or TIFF/EP. (Fuji's RAF
is the exception).

In this CL, image file formats are classified newly as below:

DNG: dng
TIFF: cr2, nrw, arw, rw2, orf, pef, srw
TIFF/EP: nef
Unknown Image Formats(FORMAT_DEFINED): wbmap, webp, raf

I referred to the following documents for defining MTP formats of RAW
images:

* http://www.rags-int-inc.com/PhotoTechStuff/RawStandards/RawSummary.html
* https://en.wikipedia.org/wiki/Raw_image_format

Bug: 26552863, Bug: 26626825
Change-Id: Ia218f6320c4c1ff051a23ca0060ceac46134b0d7
2016-01-27 18:40:36 +09:00
Sungsoo Lim
41c28a3eb1 MediaBrowser: Support pagination of child media items
Bug: 23289404, Bug: 25564520
Change-Id: I156d34735d6c00bca6f4d63fe754951febf552a5
2016-01-27 13:19:26 +09:00
Renat Aksitov
5012919bc3 Merge "Voice Messaging Intent API." 2016-01-27 03:44:52 +00:00
Renat Aksitov
799da391d6 Voice Messaging Intent API.
- New activity action for initiating a message to someone by voice.
The message could be text, audio, video or image(photo). The action
supports messaging with a specific contact regardless of the underlying
messaging protocol used.
  - Set of extras to support identification of such contact.

    Primary use case for this action is to be originated by the Voice
Assistant as a voice interaction. In such scenario receiving activity
could verify the source and send a message right away, without any
further input from the user. It allows for a smooth user experience when
sending a message by voice.

Bug: 22791113
Change-Id: I86d55af04d13acbc1390938fa6b914990716cb39
2016-01-26 19:39:42 -08:00
Sanket Padawe
0c86efdbd9 Cellinfo: Update to version 12
Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586
Change-Id: I97e18856bb41c5592f89641eac7d4a3dbef43d5d
2016-01-26 18:42:47 -08:00
Ta-wei Yen
61b239171d Added more granular states to DATA_CHANNEL_STATE
Added ACTION_SYNC_VOICEMAIL for manual visual voicemail sync.

Change-Id: Ib812988256c137da301a98a283e7e52dfd881440
2016-01-26 18:07:00 -08:00
Wonsik Kim
df2908f932 media: unhide MediaRecorder.pause()/resume()
Bug: 20092236
Change-Id: I315b6dd3282ee1b445b76d14aef4a0ddc9a9ff9a
2016-01-26 18:05:03 -08:00
Jae Seo
fb85c6b60a Merge "TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods" 2016-01-27 01:58:37 +00:00
Roozbeh Pournader
486117bf5b Merge "Move locale negotiation to ResourcesManager" 2016-01-27 01:48:39 +00:00
Jae Seo
c03671fdf6 TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods
Bug: 25726241
Change-Id: I8eae9c0c939e7ec4bdfbdbf40d0d1d70a5e0d45c
2016-01-26 17:40:04 -08:00
Rubin Xu
c1dd4de11c Fix build breakage
Change-Id: I3f59cbe854384f292965752081b38a4aa9bcf16c
2016-01-27 01:21:52 +00:00
Sailesh Nepal
9c2618b17f Expose a meta-data value to allow dialer ringing
This CL exposes a new meta-data, IN_CALL_SERVICE_RINGING. If this is set
to true then ringing is played by the dialer instead of Telecom.

This CL also adds a new silenceRinger() API to InCallService. This is
needed to implement ringer silence on volume key down.

BUG: 22857261
Change-Id: I498538282eddbb727104f5b879f25adbef4e6cf6
2016-01-26 17:06:06 -08:00
Ronghua Wu
d6c2a76dcf media: add dolby vision profile and level defines in CodecProfileLevel.
Bug:
Change-Id: I56adbaab6bf76929b607d3245cf1506da5508a5e
2016-01-26 17:05:39 -08:00
Shishir Agrawal
05a7dfc48d Merge "Unhiding MSIM APIs." 2016-01-27 00:32:26 +00:00
Wonsik Kim
2303361b40 Merge "media: add HEVC support to MediaRecorder" 2016-01-27 00:31:23 +00:00
Carlos Valdivia
3cdbc806ff Merge "Permissions: Get rid of GET_ACCOUNTS" 2016-01-27 00:12:06 +00:00
Eino-Ville Talvala
9068fd387c Merge "Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel" 2016-01-26 23:01:09 +00:00
Tyler Gunn
0d3493532b Merge "Add capability to determine if downgrade to audio is denied." 2016-01-26 22:26:43 +00:00
Shishir Agrawal
7ea3e8bf89 Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 13:47:27 -08:00
Eino-Ville Talvala
7c6d73f41f Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel
LEVEL_3 is a new high-level label for camera devices that support more
than the existing FULL-level capabilities.

Bug: 25114814
Change-Id: Ibed66ed6b83e4f28598455255d86b13b78f1f13b
2016-01-26 12:27:22 -08:00
Narayan Kamath
d307a704f8 Revert "Update test-current.txt to fix build break."
This reverts commit 7123cbd7374c37ffc88c2ffe1983b60e5f39a82c.
2016-01-26 10:04:12 +00:00
Tomasz Mikolajewski
165e2849ff Unhide DocumentsContract.copyDocument and moveDocument.
Change-Id: I304e4219ac679b9da88d785529f946dac058bbff
2016-01-26 08:06:46 +00:00
Jae Seo
533b345682 TIF: Make TvInputService.onCreateRecordingSession a non-abstract method
Change-Id: I1ecf5d2f66825fa9e87fd743d9d293d8bd395fce
2016-01-25 20:34:12 -08:00
Roozbeh Pournader
834641b390 Move locale negotiation to ResourcesManager
Previously, locale resolution happened at Resources level, which
could result in different Resources in the same app using different
locales.

This change moves the locale negotiation to ResourcesManager, which
remembers the locales supported by each Resources as they are
created, and negotiates the locale based on their union.

It also makes sure that the old model of apps getting the default
locale by accessing it through the Configuration's locale attribute
continues to work, since the negotiated locale will be moved to the
top of the list before Resources are created and when they are
updated with a Configuration change.

Bug: 25800576
Bug: 26404653
Change-Id: I0dd81df288327fd8d1229188c9544ee2209c161a
2016-01-25 19:23:38 -08:00
Ta-wei Yen
76193dc2d0 Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager
This key will allow the carrier to specify to prefetch audio data on
new voicemail arrival. The default value it true.

This setting is not available to the user because it add too much
complexity.

Bug:23945351
Change-Id: I5ca6b4f64c3818c5f37ba608f4ab450c8b0ed9dc
2016-01-25 19:04:36 -08:00
Jae Seo
9df90a5ab6 Merge "TIF: Recording API" 2016-01-26 01:39:05 +00:00
Stephen Hines
7123cbd737 Update test-current.txt to fix build break.
Change-Id: Ie61fae56ac22f1d028b0de3f8688f626eb2ddacc
2016-01-25 17:25:55 -08:00
Jae Seo
a826d0172a TIF: Recording API
Bug: 23786643
Change-Id: Ie26e8944312048bc865b4506aa49fced15360fe4
2016-01-25 16:30:51 -08:00
Ashutosh Joshi
deee720a52 Merge "Adding a sensor for device pose with six degrees of freedom" 2016-01-25 23:46:07 +00:00
David Gross
407a385b7b Merge "Unhide Script::reduce() interface for general reduction." 2016-01-25 23:45:14 +00:00
Lifu Tang
30f95a7d67 Supported GNSS multi-constellation in frameworks
Change-Id: I82574afd3697c47e806d2cfaedc33756d0353b73
2016-01-25 15:15:14 -08:00
Ashutosh Joshi
17efe02a05 Adding a sensor for device pose with six degrees of freedom
Adding a sensor type that returns the device pose as a -
    . quaternion representing rotation from a vector due north
      and zero pitch and roll &&
    . a translation from an initial position

Change-Id: I8764b8c0b9a2518632f75c7a19c203836dd04b1a
2016-01-25 23:02:38 +00:00
Philipp Weiß
28950ae525 Merge "Make API createAndManageUser public" 2016-01-25 21:39:27 +00:00
phweiss
a92e1216ca Make API createAndManageUser public
Remove @hide, and add parameter for specifying profile owner. The PO
has to live in the same package as the device owner.

Bug: 25288732
Bug: 25860170
Change-Id: I40e8984a71ee9d1ff74e57d4e79e298deef9bc35
2016-01-25 22:33:52 +01:00
Felipe Leme
2216d824f6 Merge "Fixed RestrictBackgroundStatus signature by adding @hide." 2016-01-25 21:06:49 +00:00
Dianne Hackborn
bfb94e21d3 Merge "Add and implement JobScheduler content observer APIs." 2016-01-25 20:34:41 +00:00
David Gross
ba038689b1 Unhide Script::reduce() interface for general reduction.
Bug: 23535724

Change-Id: I7a43622954de9f4168f7e4376f39d6ec54191c03
2016-01-25 12:17:29 -08:00
Felipe Leme
ecfcceaecb Fixed RestrictBackgroundStatus signature by adding @hide.
BUG: 26082535
Change-Id: I2e4b63327a8f791db01ee0c1ab090557170857fa
2016-01-25 12:09:03 -08:00
Rubin Xu
795c458c89 Merge "Turn off profile by stopping the user." 2016-01-25 17:33:43 +00:00
Felipe Leme
0f9f67132c Merge "Fixed javadoc so @hide annotations don't show up in the API." 2016-01-25 17:13:51 +00:00
Rubin Xu
f13c980169 Turn off profile by stopping the user.
Bug: 22541941
Change-Id: I713ab9b87f3dd1b7bd6206af137562d20a44d76d
2016-01-25 16:29:29 +00:00
Niels Egberts
c99ba1c3ed API to listen in on the synthesized audio.
Change-Id: Ic943d39a0540f0061ef6f629e4934dc71f69ab6b
2016-01-25 15:20:59 +00:00
Martijn Coenen
9ef46c26f1 Add new APIs to test-current.txt
Change-Id: I187fe73c9ce47e4f4ed74c1be8ce70cf66bd52cc
2016-01-25 11:33:52 +01:00
Daichi Hirono
7ed413524b Merge "Add eventsSupported property to MtpDeviceInfo." 2016-01-25 01:59:27 +00:00
Daichi Hirono
148954a657 Add eventsSupported property to MtpDeviceInfo.
The property provides the set of event code that are supported by
MtpDevice.

BUG=26147375

Change-Id: I54be75e4bb52ddfe9aba8630538ddd32d1a641c8
2016-01-25 10:47:01 +09:00
Tomasz Mikolajewski
c46d891170 Merge "Make ACTION_QUICK_VIEW public." 2016-01-25 01:04:02 +00:00
Carlos Valdivia
918c55a67c Permissions: Get rid of GET_ACCOUNTS
Bug: 21901286

Change-Id: Id2c42f4d449a32c88078d80dcf952d15e67d536c
2016-01-24 14:57:03 -08:00