230964 Commits

Author SHA1 Message Date
Xiaohui Chen
548160030a sysui: refactor NavigationBarInflaterView
Bug: 26742568
Change-Id: Id0cb541c39457b3d15b09c98552a22e2d533102d
2016-01-27 18:58:19 +00:00
Ben Kwa
3ca3a3db5e Merge "Eliminate the "productivity_device" setting." 2016-01-27 18:48:01 +00:00
Chris Wren
f6e9228b8a move framework metrics over to new proto
Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
2016-01-27 13:47:40 -05:00
Shweta Chahar
369a94a413 Merge "Add setting to enable higher text-to-speech rate." 2016-01-27 18:22:50 +00:00
shwetachahar
41604bcba5 Add setting to enable higher text-to-speech rate.
Change-Id: I1e3c78870a5c083bed9dfc6d13601b7874b86583
2016-01-27 18:16:41 +00:00
Sanket Padawe
9f2b02c27b [DO NOT MERGE] Cellinfo: Update to version 12
am: 0491c46227  -s ours

* commit '0491c46227d94ad51a70c549d1529616cea9170b':
  [DO NOT MERGE] Cellinfo: Update to version 12
2016-01-27 18:09:41 +00:00
Hangyu Kuang
8e498db77a Merge "media: Add interface to query and set intra refresh for encoder." 2016-01-27 18:06:25 +00:00
Wonsik Kim
6e0d12ccb8 Merge "media: unhide MediaRecorder.pause()/resume()" 2016-01-27 18:01:28 +00:00
Sanket Padawe
0491c46227 [DO NOT MERGE] 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: I1e741ec73f2f683a796d430898b62921fe6e75e9
2016-01-27 09:59:59 -08:00
Siyamed Sinir
0b9e35ab30 Merge "AbsListView invalidates data when it isn’t changed" 2016-01-27 17:53:32 +00:00
Sanket Padawe
b663adfb0c Merge "Cellinfo: Update to version 12" 2016-01-27 17:52:06 +00:00
Chris Banes
8d47b675f5 Merge "Allow setActionBar() to take a null param" 2016-01-27 17:28:48 +00:00
Daniel U
eef9c38833 Merge "Encode BulletSpan in toHtml() conversion" 2016-01-27 16:58:08 +00:00
Felipe Leme
10f673a2ff Merge "Initial implementation of OPEN_EXTERNAL_DIRECTORY." 2016-01-27 16:56:20 +00:00
Felipe Leme
b012f913cb Initial implementation of OPEN_EXTERNAL_DIRECTORY.
It opens a an alert dialog that tells user application X is requesting
access to folder Y on volume Z; if user accepts, it returns the proper
URI, otherwise it returns RESULT_CANCELED.

The requested path must satisfy the following requirements:

1.It's directory (getName()) must be one of the pre-definied folders on
  Environment.
2.It's root (getParent()) must be a valid external storage root.

In order to satisfy #2, DocumentsUI calls the ExternalStorageProvider,
through a custom call() implementation.

BUG:  23011462
Change-Id: I8e491e82ae320df88f7b8923286c4c1ad050ae80
2016-01-27 08:52:58 -08:00
Andrei Stingaceanu
0122f651d1 Suspend apps - disable notifications
Disable notifications and posts for suspended apps by
verifying if the package is suspended in NotificationManagerService
where AppOpsManager.OP_POST_NOTIFICATION is checked.

Note that the notificationEnabled user preference is
preserved when unsuspending.

In a following CL will make the "Block all" notifications
setting while an app is suspended (in Settings -> App Info)
readonly so that the user can not turn notifications on.

Bug: 22776761
Change-Id: Ie8edba508bd23406445f9a014404b6d3b17cb223
2016-01-27 16:47:08 +00:00
Daniel U
ca124ab1e2 Encode BulletSpan in toHtml() conversion
Changes in toHtml() conversion with TO_HTML_PARAGRAPH_LINES_INDIVIDUAL:

- Wrap each paragraph inside a block-level element
Each paragraph delimited by '\n' is now wrapped individually inside either
a <p> or a <li> block to allow per-paragraph formatting.

- Wrap paragraphs covered by BulletSpans as <li> instead of <p> blocks

- Encode text alignment at paragraph level
Instead of creating <div> blocks outside of the block quote level.

- Encode AlignmentSpan as CSS style instead of the ALIGN attribute
The ALIGN attribute is obsolete.

Change-Id: I3a8b315224b762af99eda69cb19f5cf6b3f05dac
2016-01-27 16:41:33 +00:00
Hangyu Kuang
e9618e810a media: Add interface to query and set intra refresh for encoder.
Bug:26587630
Change-Id: I913a56b4888e2c46ad30ba0e9c3130da7101f7a4
2016-01-27 16:37:04 +00:00
Jaesung Chung
18b6618f92 Merge "Fix build" 2016-01-27 16:28:31 +00:00
Jaesung Chung
d4c505c9b4 Fix build
Change-Id: I91e10406da341e226180b14dd2446cadbdab5684
2016-01-28 01:16:56 +09:00
Ronghua Wu
2a01921fdf Merge "media: add dolby vision profile and level defines in CodecProfileLevel." 2016-01-27 16:13:17 +00:00
Neil Fuller
b568fe04a4 Merge "Unhide @FunctionalInterface" 2016-01-27 16:10:42 +00:00
Przemyslaw Szczepaniak
fd4d67e80e Merge "Remove java.nio.file package" am: 804e1e8c15
am: 2a30579c2e

* commit '2a30579c2ec9b5aedc8f28f6ab1c6922eca428cc':
  Remove java.nio.file package
2016-01-27 15:16:19 +00:00
Przemyslaw Szczepaniak
2a30579c2e Merge "Remove java.nio.file package"
am: 804e1e8c15

* commit '804e1e8c152e46e7c3b47a0e73b4dabd83ba7dcf':
  Remove java.nio.file package
2016-01-27 15:11:51 +00:00
Przemyslaw Szczepaniak
804e1e8c15 Merge "Remove java.nio.file package" 2016-01-27 15:03:39 +00: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
Chris Banes
c7d6c32cbe Allow setActionBar() to take a null param
BUG: 26779292
Change-Id: Ifda6796bb0630041a0e494b78c341454eaab49b4
2016-01-27 14:09:16 +00: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
Przemyslaw Szczepaniak
b1819b4eb2 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: I1bd7989837040da06cd914d366e9674d6b36fe86
2016-01-27 11:14:53 +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