231136 Commits

Author SHA1 Message Date
Carlos Valdivia
8a38a136e1 Need to call getApplicationInfo from System id
Otherwise it trys to enforce INTERACT_ACROSS_USERs when a package is in
a different INTERACT_ACROSS_USERs. Still figuring out why this is
triggering for the regular getApplicationInfo call.

Change-Id: I9b07646aeaf35e2db4a6849e217129077b50b624
2016-01-27 12:16:25 -08:00
Lenka Trochtova
f348e8e22b Add policy for enforcing that all users are ephemeral.
BUG: 24883058

Change-Id: I8e53ca677c935a6c828dd6ece00b345d0eff182a
2016-01-27 21:06:09 +01:00
Steve McKay
0bbf302573 Merge "Remove variants of "show/hide" internal storage string." 2016-01-27 19:47:50 +00:00
Steve McKay
de3f4c89ca Merge "Revert "Eliminate the "productivity_device" setting."" 2016-01-27 19:25:07 +00:00
Steve McKay
8fa9ffcdc0 Revert "Eliminate the "productivity_device" setting."
This reverts commit d0a0fc2cd1fbb629f329cf10e0413a674a8e54b6.

Missed a use. Prema-revert.

Change-Id: I6bce595646e2e2bf1e506388a2da9e1cd8f61a09
2016-01-27 19:24:25 +00:00
Xiaohui Chen
5c461fc36d Merge "sysui: refactor NavigationBarInflaterView" 2016-01-27 19:19:15 +00:00
Anthony Chen
63a398fea4 Merge "Allow volume dialog dimensions to be customized." 2016-01-27 19:15:54 +00:00
Anthony Chen
2f60d111eb Allow volume dialog dimensions to be customized.
The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.

Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527
2016-01-27 11:11:53 -08:00
Chris Wren
37745c3839 Merge "move framework metrics over to new proto" 2016-01-27 19:02:14 +00:00
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
Nicolas Prevot
697397a28e Don't show suspended applications in system intent picker dialog.
BUG:26461656
Change-Id: I49cf501cb9992ee19091ab4909adb373cbb4bdce
2016-01-27 17:20:07 +00:00
Felipe Leme
3cb48cd2a8 Minor improvements on parseCommandArgs,
- Added --receiver-foreground flag.
- Documented -f flag.

BUG: 26805230
Change-Id: Iee7a45dba549773abd7b026f5205ab94f0a8ef2a
2016-01-27 09:11:49 -08: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
04e18bb2fa Fix GpsTimeStamp format string
Bug: 26816278
Change-Id: If3694ec44f5a5d6109c1895eac305d0a1a7e1ca2
2016-01-28 01:31:18 +09: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