230874 Commits

Author SHA1 Message Date
Jaesung Chung
04e18bb2fa Fix GpsTimeStamp format string
Bug: 26816278
Change-Id: If3694ec44f5a5d6109c1895eac305d0a1a7e1ca2
2016-01-28 01:31:18 +09:00
Ritesh Reddy
d3e41e425c Merge "Enabled Backup/Restore of Package UsageStatistics" 2016-01-27 14:58:47 +00:00
Przemyslaw Szczepaniak
6c94f5bb43 Merge "Remove java.nio.file package" 2016-01-27 14:50:19 +00:00
Daniel U
a1c4315c60 Merge changes from topic 'Support more CharacterStyles in toHtml() conversion'
* changes:
  Enhance support to text size spans in toHtml()
  Support more CharacterStyles in toHtml() conversion
2016-01-27 14:42:39 +00:00
Daniel U
b138e28778 Enhance support to text size spans in toHtml()
Convert AbsoluteSizeSpan to <span> with CSS font-size property with CSS
px as the unit of measurement. Sizes measured in Android px are converted
to dip, since there is no CSS unit which conveys the idea of a device
pixel.

Add support to RelativeSizeSpan, which converts to <span> with CSS
font-size property with em as the unit of measurement.

Change-Id: I9104cc5f9b00ab1a31929565dc49e0026466cc75
2016-01-27 14:37:44 +00:00
Przemyslaw Szczepaniak
5908dd25ac Remove java.nio.file package
This package has no test coverage, and we don't
know if it was ported properly. This package will
be added in future, with a test suite.

Bug: 26786186
Change-Id: I024c9b7a0caf607ad597753f998b01d243f650cd
2016-01-27 14:30:46 +00:00
Geoff Mendal
966f68d506 Merge "Import translations. DO NOT MERGE" 2016-01-27 14:12:37 +00:00
Geoff Mendal
f61205150c Import translations. DO NOT MERGE
Change-Id: Ia2f7528a912c5e4a76ec13d0a16aac404244e30f
Auto-generated-cl: translation import
2016-01-27 06:09:58 -08:00
Geoff Mendal
7a31cffc97 Merge "Import translations. DO NOT MERGE" 2016-01-27 14:06:23 +00:00
Geoff Mendal
aa14f7f5c6 Import translations. DO NOT MERGE
Change-Id: I8d49ae1bb88b9bbd14d68d59cfdc6052f71bfb00
Auto-generated-cl: translation import
2016-01-27 06:02:37 -08:00
Lenka Trochtova
a269c5d584 Merge "Add a flag for creating an ephemeral user with DevicePolicyManager#createAndManageUser." 2016-01-27 13:55:02 +00:00
Geoff Mendal
7a96413b0a Merge "Import translations. DO NOT MERGE" 2016-01-27 13:47:10 +00:00
Daniel U
5c02d7374f Support more CharacterStyles in toHtml() conversion
- Add support to convert BackgroundColorSpan
- Convert StrikethroughSpan to <span> with CSS styling instead of <strike>
- Convert ForegroundColorSpan to <span> with CSS styling instead of <font>

Change-Id: I05ff6b97534df9ee586a552c7e6435aabca152ac
2016-01-27 13:43:46 +00:00
Geoff Mendal
978a766274 Import translations. DO NOT MERGE
Change-Id: I8f61c185a1b79c10ec8e437401d82a44d28c4796
Auto-generated-cl: translation import
2016-01-27 05:41:07 -08:00
Geoff Mendal
f550d3c772 Merge "Import translations. DO NOT MERGE" 2016-01-27 13:19:49 +00:00
Geoff Mendal
470771a45a Import translations. DO NOT MERGE
Change-Id: I6cbd18ec0b96f7036a7b62b18702c649b3997416
Auto-generated-cl: translation import
2016-01-27 05:18:39 -08:00
Polina Bondarenko
8b8b242985 Merge "HardwarePropertiesManager: Add API for hardware properties retrieval" 2016-01-27 13:18:09 +00:00
Clara Bayarri
4c5de472a7 Merge "Make Fingerprint rename and delete user-aware" 2016-01-27 12:50:07 +00:00
Sergey Poromov
7200364e8d Merge "Quota exceeded API in BackupAgent" 2016-01-27 12:15:50 +00:00
Jaesung Chung
800133d4eb Merge "Enable reading a thumbnail from RAW image files in MtpDatabase" 2016-01-27 11:52:34 +00:00
Daniel U
88aa69ed19 Merge "Overload toHtml() & fromHtml() to accept option flags" 2016-01-27 11:51:59 +00:00
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
Clara Bayarri
8591f86ef7 Merge "Check if the profile password would comply as the device lock" 2016-01-27 10:56:38 +00:00
Clara Bayarri
a5c1a77fad Make Fingerprint rename and delete user-aware
Bug: 26790762
Change-Id: I8c54f2ad2cc8cab2508b1feeb6a6131b462466a7
2016-01-27 10:55:41 +00:00
Sungsoo Lim
cd5e40c52f Merge "MediaBrowser: Support pagination of child media items" 2016-01-27 09:57:38 +00:00
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
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
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
Michael Wright
24bbed26ab Merge "Change storage duration to static for native choreographer." 2016-01-27 02:06:24 +00: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
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
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