231070 Commits

Author SHA1 Message Date
Lenka Trochtova
c8202c8d1d Add a flag for creating an ephemeral user with
DevicePolicyManager#createAndManageUser.

BUG: 24883058

Change-Id: I225ee6f1f6692663349040676e7a6c742b3ede79
2016-01-27 10:45:24 +01: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
Rakesh Iyer
e13d22a62d Merge "Allow smart unlock right after boot." 2016-01-27 06:03:01 +00:00
Winson
4b9cded143 Enabling fast switching for all users.
- Consolidating notion of fast toggling and indicator in the tuner - if 
  it is enabled, the indicator will be enabled
- Upon entering recents, immediately enable the timer to jump to the 
  previous task
- Allowing for multiple durations in the first and subsequent toggles
- Disabling fast-toggle on freeform devices and when touch exploration 
  is enabled
- Simplifying UserInteractionEvent to a reusable event

Change-Id: Id1ca3cd035f4eded5141b2b333a2cab5434b79ee
2016-01-26 21:05:06 -08: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
2f805530f4 Add new RIL command for sending ack to solicited async and unsolicited msg.
Bug: 22127517
Change-Id: I371aae330f96e5767850b8c7fabbb36984334a98
2016-01-26 19:29:32 -08:00
Mihai Nita
137b96e3a4 Visibility changes to allow access by SetupWizard
Also adding a method that is called when the SIM info changes,
to update sugestions.
This is a must for SetupWizard, where the language selection can
be displayed before the SIM is fully initialized.
Might also use it to update suggested locals when SIM status changes
(SIM card replaced, or the user crosses border to a different country)

Bug: 25797548
Change-Id: I1a68b4e71046caa3b2810b37c74be5eeb00a255c
2016-01-26 18:53:41 -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
Felipe Leme
888b432a27 Merge "Send broadcasts as foreground, otherwise test might fail when running after reboot." 2016-01-27 02:19:20 +00:00
Felipe Leme
ec17538d46 Send broadcasts as foreground, otherwise test might fail when running
after reboot.

BUG: 26805230
Change-Id: I05dcf9871c9b4c4c9a465466d60ebe9a1ac63e51
2016-01-26 18:17:15 -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
Michael Wright
24bbed26ab Merge "Change storage duration to static for native choreographer." 2016-01-27 02:06:24 +00: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
Winson Chung
80a5314ad3 Merge "Fixing notification of the docked stack state for the current user." 2016-01-27 01:50:20 +00:00
Roozbeh Pournader
486117bf5b Merge "Move locale negotiation to ResourcesManager" 2016-01-27 01:48:39 +00:00
Steve McKay
e3a798c559 Remove variants of "show/hide" internal storage string.
Bug: 26768708
Change-Id: I62a5068eab3104ab379bb0f22a609b9cf0b6777b
2016-01-26 17:45:35 -08:00
Tomasz Mikolajewski
8012366ac4 Merge "Wire multi-parents support for moving to DocumentsUI." 2016-01-27 01:42:35 +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
Tomasz Mikolajewski
b8436af1b8 Wire multi-parents support for moving to DocumentsUI.
Bug: 26481380

Change-Id: Ief7db8f8abeca94e47832995fd0e2a6f31bfbc93
2016-01-27 10:40:04 +09:00
Rubin Xu
acab7adb84 Merge "Fix build breakage" 2016-01-27 01:31:43 +00:00
Rubin Xu
c1dd4de11c Fix build breakage
Change-Id: I3f59cbe854384f292965752081b38a4aa9bcf16c
2016-01-27 01:21:52 +00:00
Jorim Jaggi
f3e87908cd Merge changes I10224452,I7af4149f
* changes:
  Grow recents when in multi-window on phones
  Add animation when docking top task with long press
2016-01-27 01:21:00 +00:00
Craig Donner
781c53a8e2 Merge "Setting consumer protected mode on from SurfaceTexture when in a protected context." 2016-01-27 01:17:27 +00:00
Winson
dcf4826c52 Fixing notification of the docked stack state for the current user.
- When there are multiple users, ensure that we check that there are
  tasks in the docked stack for each user (instead of just the presence
  of the docked stack) and re-notify listeners of the state of the
  docked stack when the user is switched.

Change-Id: I911c4a32db187f9cd29d462309bd0cf7febb1993
2016-01-27 01:11:13 +00:00
Jean-Michel Trivi
4d4b3d54c6 Dynamic audio policies by UID
Add support for audio mix creation by UID.
Refactor AudioAttributes-based mix criteria to a generic Object
 interface.

Bug 26798796

Change-Id: Idac256e19019cd1be52168c6127997c3c1bf280e
2016-01-26 17:07:55 -08: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
Steve McKay
d0a0fc2cd1 Eliminate the "productivity_device" setting.
Files will be available  to all in N.

Change-Id: I964b581c06dea6dfa848624c36566090544509f1
2016-01-26 16:58:12 -08:00
Rob Carr
aed01e49ff Merge "Fix reentrant deadlock in GLSurfaceView." 2016-01-27 00:47:52 +00:00
Rubin Xu
7705a0d6ad resolve merge conflicts of b84954cf92 to master.
Change-Id: I8a5a1a989968c46ea4807db9e7e06b298244876d
2016-01-27 00:43:38 +00:00
Vladislav Kaznacheev
a74e729fa9 Merge "Fix SecurityException in Editor.onDrop" 2016-01-27 00:38:38 +00: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
Rubin Xu
b84954cf92 Merge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev 2016-01-27 00:26:58 +00:00
Carlos Valdivia
3cdbc806ff Merge "Permissions: Get rid of GET_ACCOUNTS" 2016-01-27 00:12:06 +00:00
Michael Wright
ff20b979e7 Change storage duration to static for native choreographer.
This ensures that the region is zero initialized, regardless of compiler.

Change-Id: Ie0bfa5d2cd2486ba31a45aee4de6c370513bfc62
2016-01-26 16:03:25 -08:00
Youngsang Cho
d475e1a27c Merge "Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI" 2016-01-26 23:58:05 +00:00
Rakesh Iyer
a7aa4d6f0b Allow smart unlock right after boot.
This change enables relaxing the constraint by which
strong authentication is needed after device reboot.

There are very limited use cases where this might be
safe, one of which is in a car. Cars head units usually
are protected physically by the car and have hardware
anti-theft mechanisms so we can potentially allow for
Android to allow users to use smart unlock to avoid the
lockscreen just after boot.

This change adds in a config flag that sets the default
trust flags, which can be set to allow smart unlock after
boot for car head units.

Bug: 26559008
Change-Id: Id6338a97b617ddaf3d2fae5d51235429a42b81cc
2016-01-26 15:57:29 -08:00
Chad Brubaker
05dd853526 Merge "Support TrustedCertificateStore.findAllIssuers" 2016-01-26 23:49:00 +00:00
Selim Cinek
2759d77123 Merge changes from topic 'fullbleed'
* changes:
  Added bigger notification paddings above and below groups
  Replacing alpha with shadowAlpha
  Fixed the divider height to be at least 1px high
  Added transparency to the notification backgrounds on the lockscreen
  Animating background of the notifications now
  Drawing the background of the notifications as a grey color now
  Refactored the interpolators to use only one single instance
  Removed the visual speedbump
  Remove the scale animation from the lockscreen
  Removed notification top padding
  Removed round rect clipping for notifications and qs
  Removed notification side paddings
2016-01-26 23:45:03 +00:00
Selim Cinek
61633a8db8 Added bigger notification paddings above and below groups
Bug: 24866646
Change-Id: I0bca7a1abcbc0fa816aeed5729e650de24f523f0
2016-01-26 15:30:28 -08:00
Selim Cinek
277a8aa409 Replacing alpha with shadowAlpha
Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb
2016-01-26 15:30:28 -08:00
Selim Cinek
cacc604115 Fixed the divider height to be at least 1px high
Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5
2016-01-26 15:30:28 -08:00
Selim Cinek
d35c2793a3 Added transparency to the notification backgrounds on the lockscreen
To achieve a decent lockscreen animation we also need to account for alpha.

Change-Id: Iba75f9c304962da309e0e2d32a58d757b6607b5b
2016-01-26 15:30:28 -08:00
Selim Cinek
614576e37b Animating background of the notifications now
Change-Id: Ia94e1a0ca67922e6983697dfbc68d5681de02f7e
2016-01-26 15:30:28 -08:00
Selim Cinek
6811d728fb Drawing the background of the notifications as a grey color now
Some cases are still not working perfectly as the background is
never animating

Change-Id: I4b357161d53d62f4cf5c0fbf76e70e5f3465bd68
2016-01-26 15:30:28 -08:00
Selim Cinek
c18010f672 Refactored the interpolators to use only one single instance
Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
2016-01-26 15:30:28 -08:00