OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add SkiaBehaviorTests"
Chris Craik [Thu, 4 Feb 2016 18:08:20 +0000 (18:08 +0000)]
Merge "Add SkiaBehaviorTests"

8 years agoMerge "Honor javadocs, call super first in DocumentsProvider.call handling."
Steve McKay [Thu, 4 Feb 2016 18:06:45 +0000 (18:06 +0000)]
Merge "Honor javadocs, call super first in DocumentsProvider.call handling."

8 years agoMerge "Add CharSequence interfaces for BidiFormatter"
Roozbeh Pournader [Thu, 4 Feb 2016 18:05:54 +0000 (18:05 +0000)]
Merge "Add CharSequence interfaces for BidiFormatter"

8 years agoHonor javadocs, call super first in DocumentsProvider.call handling.
Steve McKay [Thu, 4 Feb 2016 18:02:09 +0000 (10:02 -0800)]
Honor javadocs, call super first in DocumentsProvider.call handling.

Change-Id: Ic7d8d629c4c7df39ce3e2524670169752bab899b

8 years agoMerge "Make flags related for "external services" public"
Mikhail Naganov [Thu, 4 Feb 2016 17:41:19 +0000 (17:41 +0000)]
Merge "Make flags related for "external services" public"

8 years agoMerge "Adjust QS Header in landscape"
Jason Monk [Thu, 4 Feb 2016 17:38:58 +0000 (17:38 +0000)]
Merge "Adjust QS Header in landscape"

8 years agoDefined an intent to let apps launch the Data Saver settings screen.
Felipe Leme [Wed, 27 Jan 2016 18:41:22 +0000 (10:41 -0800)]
Defined an intent to let apps launch the Data Saver settings screen.

BUG: 26451391
BUG: 26820898
Change-Id: Ie9dbe2d08d362aa548e385967d101faafb87c9b7

8 years agoMerge "Propagate changes when uids are added or removed to the restricted background...
Felipe Leme [Thu, 4 Feb 2016 17:19:34 +0000 (17:19 +0000)]
Merge "Propagate changes when uids are added or removed to the restricted background whitelist."

8 years agoMerge "Infrastructure for animating of maximizing pip activity."
Filip Gruszczynski [Thu, 4 Feb 2016 17:16:53 +0000 (17:16 +0000)]
Merge "Infrastructure for animating of maximizing pip activity."

8 years agoInfrastructure for animating of maximizing pip activity.
Filip Gruszczynski [Thu, 4 Feb 2016 00:52:59 +0000 (16:52 -0800)]
Infrastructure for animating of maximizing pip activity.

Bug: 25672053
Change-Id: Ie8a83c626680e01ff7115f40731ab9e6c13769c0

8 years agoMerge "Created commands to manage metered networks."
Felipe Leme [Thu, 4 Feb 2016 17:00:52 +0000 (17:00 +0000)]
Merge "Created commands to manage metered networks."

8 years agoAdjust QS Header in landscape
Jason Monk [Thu, 4 Feb 2016 16:41:18 +0000 (11:41 -0500)]
Adjust QS Header in landscape

Give some padding on the expand arrow.

Change-Id: Ia2f88beb453634bfc82a17033f2e7a76d12e2620

8 years agoMerge "Rewrite QS customizer"
Jason Monk [Thu, 4 Feb 2016 16:22:24 +0000 (16:22 +0000)]
Merge "Rewrite QS customizer"

8 years agoMerge "Improve handling of popup window exit when host window goes away"
Alan Viverette [Thu, 4 Feb 2016 16:09:09 +0000 (16:09 +0000)]
Merge "Improve handling of popup window exit when host window goes away"

8 years agoRewrite QS customizer
Jason Monk [Tue, 2 Feb 2016 20:15:31 +0000 (15:15 -0500)]
Rewrite QS customizer

Instead of custom draginess, use RecyclerView with a GridLayoutManager.

Still needs a bit of work, but the overall feel is significantly better
than before.

Change-Id: I3b3927472f69721e265ef7591de2f3052862f392

8 years agoMerge "Update QS + Notification landscape width"
Jason Monk [Thu, 4 Feb 2016 15:06:02 +0000 (15:06 +0000)]
Merge "Update QS + Notification landscape width"

8 years agoUpdate QS + Notification landscape width
Jason Monk [Wed, 3 Feb 2016 16:26:07 +0000 (11:26 -0500)]
Update QS + Notification landscape width

Make it bigger, also make QS + Notification width update on config
change, so the new width can take effect.

Change-Id: Id069d21358d7bb716a1dfadc21fa11d1e5d69575

8 years agoMerge "IntentForwarderActivity shouldn't crash if intent has no action."
Nicolas Prévot [Thu, 4 Feb 2016 14:29:47 +0000 (14:29 +0000)]
Merge "IntentForwarderActivity shouldn't crash if intent has no action."

8 years agoIntentForwarderActivity shouldn't crash if intent has no action.
Nicolas Prevot [Wed, 3 Feb 2016 16:18:03 +0000 (16:18 +0000)]
IntentForwarderActivity shouldn't crash if intent has no action.

Also don't crash when receiving a chooser intent with no
extra initial intent.

BUG:26445101
Change-Id: Icaf55881a015cf8cc76e5269b9bb67784dbf33c3

8 years agoMerge "Revert "Add java.util.function APIs""
Neil Fuller [Thu, 4 Feb 2016 13:11:00 +0000 (13:11 +0000)]
Merge "Revert "Add java.util.function APIs""

8 years agoRevert "Add java.util.function APIs"
Neil Fuller [Thu, 4 Feb 2016 13:09:42 +0000 (13:09 +0000)]
Revert "Add java.util.function APIs"

Premature submission. Need to wait until stubs support 1.8.

This reverts commit 311a97e7f41c494bc355f5d77adc276e2a400970.

Change-Id: Iba1361b90f75cad139f94044184c5295483fedcd

8 years agoMerge "Add java.util.function APIs"
Neil Fuller [Thu, 4 Feb 2016 13:07:43 +0000 (13:07 +0000)]
Merge "Add java.util.function APIs"

8 years agoMerge "Add new permission and action for managed provisioning (QR flow)"
Steven Ng [Thu, 4 Feb 2016 10:24:44 +0000 (10:24 +0000)]
Merge "Add new permission and action for managed provisioning (QR flow)"

8 years agoMerge "Drop device name from storage document name."
Daichi Hirono [Thu, 4 Feb 2016 08:29:46 +0000 (08:29 +0000)]
Merge "Drop device name from storage document name."

8 years agoDrop device name from storage document name.
Daichi Hirono [Thu, 4 Feb 2016 07:58:55 +0000 (16:58 +0900)]
Drop device name from storage document name.

When device has multiple storages, storage are shown as directory under
the device root. In this case, we would not like to add device name to
storage.

Note that we still use "device name + storage name" for root name if the
device has a single storage because we skip storage directory in this
case and shows storage's contents directly under the device.

BUG=26625708

Change-Id: Ie13b044e71ae9b5131c4a01ee9d605023d05f168

8 years agoMerge "Fixing language search box size and maximization"
Mihai Niță [Thu, 4 Feb 2016 06:13:43 +0000 (06:13 +0000)]
Merge "Fixing language search box size and maximization"

8 years agoMerge "Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2."
Tomasz Mikolajewski [Thu, 4 Feb 2016 06:07:43 +0000 (06:07 +0000)]
Merge "Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2."

8 years agoMigrate *ActivityUiTest to use ActivityInstrumentationTestCase2.
Tomasz Mikolajewski [Thu, 4 Feb 2016 04:48:21 +0000 (13:48 +0900)]
Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2.

Change-Id: I24f2846c551e0123ad87b3db8a1f5c7dbf628c0c

8 years agoMerge "Fix Identifier.equals method."
Daichi Hirono [Thu, 4 Feb 2016 06:06:18 +0000 (06:06 +0000)]
Merge "Fix Identifier.equals method."

8 years agoFixing language search box size and maximization
Mihai Nita [Thu, 4 Feb 2016 05:33:37 +0000 (21:33 -0800)]
Fixing language search box size and maximization

The search box for the language was entering full screen in
landscape mode, making the search results invisible.
It was also "shifted" to the right, leaving a few characters from
the title visible (ugly), and making the edit area smaller.

This change fixes that behavior, and because we have more space
we can also increase the character limit for the hint string.

Bug: 26944452
Bug: 26944321
Bug: 26957818
Bug: 26732587
Change-Id: Ib5901bd7240ac57b6d39cb4392edccc8d941802d

8 years agoFix Identifier.equals method.
Daichi Hirono [Thu, 4 Feb 2016 05:19:52 +0000 (14:19 +0900)]
Fix Identifier.equals method.

Previously the string was compared by ==.

BUG=26970351

Change-Id: If88b74392955388c9bf59002f2d2a186c2dff71a

8 years agoMerge "Fix flaky testLoadsHomebyDefault."
Tomasz Mikolajewski [Thu, 4 Feb 2016 04:38:29 +0000 (04:38 +0000)]
Merge "Fix flaky testLoadsHomebyDefault."

8 years agoMerge "Normalize toolbar management."
Steve McKay [Thu, 4 Feb 2016 04:20:55 +0000 (04:20 +0000)]
Merge "Normalize toolbar management."

8 years agoMerge "Open MTP device on demand."
Daichi Hirono [Thu, 4 Feb 2016 04:15:50 +0000 (04:15 +0000)]
Merge "Open MTP device on demand."

8 years agoMerge "Update the title when going back from region selection"
Mihai Niță [Thu, 4 Feb 2016 04:03:48 +0000 (04:03 +0000)]
Merge "Update the title when going back from region selection"

8 years agoMerge "Incremental local builds for frameworks"
Jorim Jaggi [Thu, 4 Feb 2016 03:46:08 +0000 (03:46 +0000)]
Merge "Incremental local builds for frameworks"

8 years agoOpen MTP device on demand.
Daichi Hirono [Mon, 1 Feb 2016 04:00:31 +0000 (13:00 +0900)]
Open MTP device on demand.

Previously MtpDocumentsProvider opens a device just after device is
connected to Android. But MtpDocumentsProvider should open MTP device on
demand so that other applications can open device if user starts to use
the application before using MtpDocumentsProvider.

BUG=26625708

Change-Id: I6083b8c7cef49ee6e9fb0d15ca4adc129734f3eb

8 years agoMerge "Add API in TelecomManager to launch the UI to manage blocked numbers."
Abhijith Shastry [Thu, 4 Feb 2016 03:43:54 +0000 (03:43 +0000)]
Merge "Add API in TelecomManager to launch the UI to manage blocked numbers."

8 years agoFix flaky testLoadsHomebyDefault.
Tomasz Mikolajewski [Thu, 4 Feb 2016 02:50:45 +0000 (11:50 +0900)]
Fix flaky testLoadsHomebyDefault.

The test was resuming a previously opened activity, so naturally the
redirect to Home didn't happen.

This CL fixes the issue by closing the activity in TearDown().

Change-Id: I43e78a83c2b53c52745bc7eef515a8f759559e46

8 years agoAdd CharSequence interfaces for BidiFormatter
Roozbeh Pournader [Thu, 4 Feb 2016 02:41:54 +0000 (18:41 -0800)]
Add CharSequence interfaces for BidiFormatter

The previous code just supported strings, but there were requests for
using BidiFormatter while keeping the spans.

Bug: 26967041
Change-Id: If2a1eeaf2cf1eedff3a83b79a105ea79ed1b85c1

8 years agoAdd SkiaBehaviorTests
Chris Craik [Thu, 4 Feb 2016 02:43:04 +0000 (18:43 -0800)]
Add SkiaBehaviorTests

Change-Id: Ie2983f7a0c9e8bdd8c8de507d70ecf3aefdd9425

8 years agoMerge "Implementation of BluetoothDevice.createBondOutOfBand" am: 026a58476b
Andre Eisenbach [Thu, 4 Feb 2016 02:17:07 +0000 (02:17 +0000)]
Merge "Implementation of BluetoothDevice.createBondOutOfBand" am: 026a58476b
am: 7cbc1aeecd

* commit '7cbc1aeecdb41076e26c2aa70bdc971ddb294e21':
  Implementation of BluetoothDevice.createBondOutOfBand

8 years agoNormalize toolbar management.
Steve McKay [Wed, 3 Feb 2016 19:15:57 +0000 (11:15 -0800)]
Normalize toolbar management.

Since it was almost all redundant (especially the stack stuff).
Ensure "Files" title present on drawer title in Files app.
DocumentsToolBar > DocumentsToolbar to match toolkit naming.

Bug: 26193264
Change-Id: I92c82c66d936aae3ce0f792581daa12898dfadee

8 years agoMerge "Remove unnecessary fence in macrobench"
Chris Craik [Thu, 4 Feb 2016 01:43:40 +0000 (01:43 +0000)]
Merge "Remove unnecessary fence in macrobench"

8 years agoRemove unnecessary fence in macrobench
Chris Craik [Thu, 4 Feb 2016 01:39:40 +0000 (17:39 -0800)]
Remove unnecessary fence in macrobench

bug:26882579

Change-Id: Ic2d610b5ae7e04513dc7f7fa99d355d406a73379

8 years agoMark the idle-maint trigger broadcast 'protected'
Christopher Tate [Thu, 4 Feb 2016 00:42:19 +0000 (16:42 -0800)]
Mark the idle-maint trigger broadcast 'protected'

Bug: 26942536
Change-Id: I52d6b304fc894cad7957f84946178378c309f621

8 years agoMerge "Implementation of BluetoothDevice.createBondOutOfBand"
Andre Eisenbach [Thu, 4 Feb 2016 00:35:32 +0000 (00:35 +0000)]
Merge "Implementation of BluetoothDevice.createBondOutOfBand"
am: 026a58476b

* commit '026a58476ba219bcc08608c2e6156683c9158d5d':
  Implementation of BluetoothDevice.createBondOutOfBand

8 years agoMerge "Implementation of BluetoothDevice.createBondOutOfBand"
Andre Eisenbach [Thu, 4 Feb 2016 00:25:34 +0000 (00:25 +0000)]
Merge "Implementation of BluetoothDevice.createBondOutOfBand"

8 years agoMake flags related for "external services" public
Mikhail Naganov [Thu, 4 Feb 2016 00:00:31 +0000 (16:00 -0800)]
Make flags related for "external services" public

ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is
exported with the new public manifest attribute "android:externalService"

Context.BIND_EXTERNAL_SERVICE is used by clients when they
are binding such service.

Bug: 22084679
Bug: 21643067
Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4

8 years agoImplementation of BluetoothDevice.createBondOutOfBand
Jakub Pawlowski [Tue, 29 Dec 2015 21:19:21 +0000 (13:19 -0800)]
Implementation of BluetoothDevice.createBondOutOfBand

This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.

Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1

8 years agoMerge "TIF: Add extras to TvInputInfo"
Jae Seo [Wed, 3 Feb 2016 23:29:58 +0000 (23:29 +0000)]
Merge "TIF: Add extras to TvInputInfo"

8 years agoFixed bad serialization code in ScanResult.
Jan Nordqvist [Wed, 3 Feb 2016 23:06:58 +0000 (23:06 +0000)]
Fixed bad serialization code in ScanResult.
am: 7a504417f2

* commit '7a504417f23a1388d2a9bf53f0871d274e70c6b2':
  Fixed bad serialization code in ScanResult.

8 years agoMerge "Fixed some issues with layer adjustment for special windows."
Wale Ogunwale [Wed, 3 Feb 2016 23:03:01 +0000 (23:03 +0000)]
Merge "Fixed some issues with layer adjustment for special windows."

8 years agoFixed bad serialization code in ScanResult.
Jan Nordqvist [Wed, 3 Feb 2016 22:26:21 +0000 (14:26 -0800)]
Fixed bad serialization code in ScanResult.

Bug: 26964162
Change-Id: Ie9ad65936ab5173533773e5a711bcb81799acfb5

8 years agoFixed some issues with layer adjustment for special windows.
Wale Ogunwale [Wed, 3 Feb 2016 22:12:08 +0000 (14:12 -0800)]
Fixed some issues with layer adjustment for special windows.

- Adjust layers of all windows in pinned stack.
The surface view of a pinned activity will be hidden during transition
animations because we were only adjusting the layer of the main app
window when we adjust special windows in WindowLayersController.
We now adjust the layers of all windows in the pinned stack.
- Also adjust layers for all windows in the docked stack for the same
reasons
- Adjust layers for replacing windows that was lost when the code
was moved to the separate class.

Bug: 26697719
Change-Id: I42fc3f9a51de9999157bcc7fee25a334b3e93ea1

8 years agoMerge "Stop current root reloading when it is clicked again"
Aga Wronska [Wed, 3 Feb 2016 22:55:14 +0000 (22:55 +0000)]
Merge "Stop current root reloading when it is clicked again"

8 years agoMerge "QS Visuals work"
Jason Monk [Wed, 3 Feb 2016 22:25:02 +0000 (22:25 +0000)]
Merge "QS Visuals work"

8 years agoMerge "Do not adjust for IME window if docked stack is not visible"
Chong Zhang [Wed, 3 Feb 2016 22:20:42 +0000 (22:20 +0000)]
Merge "Do not adjust for IME window if docked stack is not visible"

8 years agoMerge "Fix NPE for invalid target exception"
Doris Liu [Wed, 3 Feb 2016 22:19:40 +0000 (22:19 +0000)]
Merge "Fix NPE for invalid target exception"

8 years agoPropagate changes when uids are added or removed to the restricted
Felipe Leme [Wed, 3 Feb 2016 21:36:30 +0000 (13:36 -0800)]
Propagate changes when uids are added or removed to the restricted
background whitelist.

BUG: 26451391
Change-Id: I21eb4959d9f60e83ef96d8d7d1c92e38ddeb2b78

8 years agoDo not adjust for IME window if docked stack is not visible
Chong Zhang [Wed, 3 Feb 2016 22:07:08 +0000 (14:07 -0800)]
Do not adjust for IME window if docked stack is not visible

getDockSide() will tell us the stack is docked on bottom even when
we're not in docked mode. So we have to check if docked stack is
visible first.

bug: 26940656
Change-Id: I8729b2502e2fa78ae51e97f5599c23f3d3ea62fc

8 years agoMerge "Make 'total silence' more silent."
Julia Reynolds [Wed, 3 Feb 2016 22:03:49 +0000 (22:03 +0000)]
Merge "Make 'total silence' more silent."

8 years agoMerge "Preserve TextView mDrawables if it has metadata (ex. tint or padding)"
Alan Viverette [Wed, 3 Feb 2016 22:03:21 +0000 (22:03 +0000)]
Merge "Preserve TextView mDrawables if it has metadata (ex. tint or padding)"

8 years agoMerge "Make pointer-icon attrs public"
Vladislav Kaznacheev [Wed, 3 Feb 2016 21:51:48 +0000 (21:51 +0000)]
Merge "Make pointer-icon attrs public"

8 years agoMerge "Improve gesture recognition state change for TouchExplorer."
Zach Kuznia [Wed, 3 Feb 2016 21:48:27 +0000 (21:48 +0000)]
Merge "Improve gesture recognition state change for TouchExplorer."

8 years agoFixed API merge issue in master.
Jan Nordqvist [Wed, 3 Feb 2016 21:01:03 +0000 (13:01 -0800)]
Fixed API merge issue in master.

Change-Id: I4bf0104ee703daa4da78d6637c1fa82ace57f073

8 years agoMerge "String updates - touch to tap"
Jason Monk [Wed, 3 Feb 2016 20:44:28 +0000 (20:44 +0000)]
Merge "String updates - touch to tap"

8 years agoString updates - touch to tap
Jason Monk [Wed, 3 Feb 2016 18:34:33 +0000 (13:34 -0500)]
String updates - touch to tap

Bug: 26749895
Change-Id: I5a6d44269e48aa89076199a825b65329c735437c

8 years agoQS Visuals work
Jason Monk [Wed, 3 Feb 2016 20:34:54 +0000 (15:34 -0500)]
QS Visuals work

Mostly just resizing and placement of things.

Change-Id: I28dbe22b0b0633bbe2bd484879e29349510dde29

8 years agoImprove gesture recognition state change for TouchExplorer.
Zachary Kuznia [Thu, 21 Jan 2016 21:24:47 +0000 (13:24 -0800)]
Improve gesture recognition state change for TouchExplorer.

This increases the tolerace for detecting a user interaction as a
gesture in Touch exploration mode.  The detection should also be more
consistant between devices, as the threshold is based on physical
units.

Change-Id: Iec935e862d2634fba0fea6dc6d81e62ed2213cbc

8 years agoMerge "New System APIs for Passpoint r2 app." into mm-wireless-dev
Jan Nordqvist [Wed, 3 Feb 2016 20:00:47 +0000 (20:00 +0000)]
Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
am: fd600b1113

* commit 'fd600b1113af6f66e28b65f5b53f4a7c751cdef9':
  New System APIs for Passpoint r2 app.

8 years agoMerge "New System APIs for Passpoint r2 app." into mm-wireless-dev
Jan Nordqvist [Wed, 3 Feb 2016 19:57:00 +0000 (19:57 +0000)]
Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev

8 years agoMerge "Disable WM loggings"
Chong Zhang [Wed, 3 Feb 2016 19:56:50 +0000 (19:56 +0000)]
Merge "Disable WM loggings"

8 years agoMerge "Cancel print job if PrintActivity was finished before spooler could be connected."
Philip P. Moltmann [Wed, 3 Feb 2016 19:51:21 +0000 (19:51 +0000)]
Merge "Cancel print job if PrintActivity was finished before spooler could be connected."

8 years agoDisable WM loggings
Chong Zhang [Wed, 3 Feb 2016 19:47:16 +0000 (11:47 -0800)]
Disable WM loggings

bug: 26819496
Change-Id: Ib5258391101293c9aaca3b865e1f1580234bcbe3

8 years agoMerge "Added support for async inflation of RemoteViews"
Sunny Goyal [Wed, 3 Feb 2016 19:31:09 +0000 (19:31 +0000)]
Merge "Added support for async inflation of RemoteViews"

8 years agoNew System APIs for Passpoint r2 app.
Vinit Deshpande [Thu, 28 Jan 2016 03:05:24 +0000 (19:05 -0800)]
New System APIs for Passpoint r2 app.

Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5

8 years agoMerge "Add a couple of shared libraries - services, shared"
Svetoslav Ganov [Wed, 3 Feb 2016 19:25:52 +0000 (19:25 +0000)]
Merge "Add a couple of shared libraries - services, shared"

8 years agoMerge "Remove obsolete conditional preventing surface placement."
Rob Carr [Wed, 3 Feb 2016 19:25:16 +0000 (19:25 +0000)]
Merge "Remove obsolete conditional preventing surface placement."

8 years agoImprove handling of popup window exit when host window goes away
Alan Viverette [Wed, 3 Feb 2016 19:22:41 +0000 (14:22 -0500)]
Improve handling of popup window exit when host window goes away

- Exit immediately if the anchor root is already detached
- End ongoing transition if anchor root is detached while exiting

Bug: 25691021
Change-Id: I8f9e721fba965060dc830ab3b674526def53f4ad

8 years agoFix NPE for invalid target exception
Doris Liu [Wed, 3 Feb 2016 19:10:49 +0000 (11:10 -0800)]
Fix NPE for invalid target exception

Change-Id: I57b319fae617792351c6ec9872c3b73cd25dc4e5

8 years agoMerge "Connect VR HAL to VrManagerService."
Ruben Brunk [Wed, 3 Feb 2016 19:05:32 +0000 (19:05 +0000)]
Merge "Connect VR HAL to VrManagerService."

8 years agoCreated commands to manage metered networks.
Felipe Leme [Wed, 3 Feb 2016 02:55:22 +0000 (18:55 -0800)]
Created commands to manage metered networks.

These commands will be used primarily in the CTS tests:

- list metered-networks [BOOLEAN]
- get metered-network ID
- set metered-network ID BOOLEAN

For example, assuming the device has 2 wi-fi networks, and neither is metered:

// list all non-mobile networks
$ adb shell cmd netpolicy list metered-networks
wifi-A;false
wifi-B;false

// set wifi-A metered
$ adb shell cmd netpolicy set metered-network wifi-A true

// get wifi-A status
$ adb shell cmd netpolicy get metered-network wifi-A
true

// list only metered non-mobile networks
$ adb shell cmd netpolicy list metered-networks true
wifi-A;true

BUG: 26685616
Change-Id: I1ec8be4579477448fcb7f0d6cfa6b9cc6887fa97

8 years agoMerge "fullBackupOnly=true means don't even think about key/value backup"
Chris Tate [Wed, 3 Feb 2016 18:29:23 +0000 (18:29 +0000)]
Merge "fullBackupOnly=true means don't even think about key/value backup"

8 years agoMerge "Send ALARM_CLOCK_CHANGED broadcast with REPLACE_PENDING"
Chris Tate [Wed, 3 Feb 2016 18:28:33 +0000 (18:28 +0000)]
Merge "Send ALARM_CLOCK_CHANGED broadcast with REPLACE_PENDING"

8 years agoMerge "Adding a callback to notify data usage."
Antonio Cansado [Wed, 3 Feb 2016 18:16:51 +0000 (18:16 +0000)]
Merge "Adding a callback to notify data usage."

8 years agoStop current root reloading when it is clicked again
Aga Wronska [Wed, 3 Feb 2016 02:01:58 +0000 (18:01 -0800)]
Stop current root reloading when it is clicked again

Bug: 25079217
Change-Id: I5d32be06d9eda4e5aced965030cce863e8a1965d

8 years agoMerge "Bluetooth: Restrict gain for Absolute volume case" am: 81e7a58754
Eric Laurent [Wed, 3 Feb 2016 18:07:42 +0000 (18:07 +0000)]
Merge "Bluetooth: Restrict gain for Absolute volume case" am: 81e7a58754
am: d24eb54b54

* commit 'd24eb54b5409997ece8e49ce2e57d27f8b41d778':
  Bluetooth: Restrict gain for Absolute volume case

8 years agoMerge "Bluetooth: Restrict gain for Absolute volume case"
Eric Laurent [Wed, 3 Feb 2016 18:02:20 +0000 (18:02 +0000)]
Merge "Bluetooth: Restrict gain for Absolute volume case"
am: 81e7a58754

* commit '81e7a5875465f9b2b7ed785d4f138b11f386c5c1':
  Bluetooth: Restrict gain for Absolute volume case

8 years agoMerge "Update Canvas API with view system calls."
Derek Sollenberger [Wed, 3 Feb 2016 17:59:11 +0000 (17:59 +0000)]
Merge "Update Canvas API with view system calls."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 3 Feb 2016 17:55:05 +0000 (17:55 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Feb 2016 17:53:27 +0000 (18:53 +0100)]
Import translations. DO NOT MERGE

Change-Id: Iad2ccbf1fef7c8ca217e78134a6fa66b738f97f8
Auto-generated-cl: translation import

8 years agoMerge "Match non-crypto aware admins when registering."
Kenny Guy [Wed, 3 Feb 2016 17:45:03 +0000 (17:45 +0000)]
Merge "Match non-crypto aware admins when registering."

8 years agoMerge "Bluetooth: Restrict gain for Absolute volume case"
Eric Laurent [Wed, 3 Feb 2016 17:30:39 +0000 (17:30 +0000)]
Merge "Bluetooth: Restrict gain for Absolute volume case"

8 years agoMerge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesourc...
Geoff Mendal [Wed, 3 Feb 2016 17:18:44 +0000 (17:18 +0000)]
Merge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 8152fbd7e9 -s ours
Geoff Mendal [Wed, 3 Feb 2016 17:17:01 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 8152fbd7e9  -s ours
am: f322b46028  -s ours

* commit 'f322b4602893a9cb3eae30ac0f4f196b3dc95176':
  Import translations. DO NOT MERGE

8 years agoMerge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesourc...
Paul Jensen [Wed, 3 Feb 2016 17:16:58 +0000 (17:16 +0000)]
Merge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base

8 years agoMerge "Lint fixes and config tweaks."
Ben Kwa [Wed, 3 Feb 2016 17:12:53 +0000 (17:12 +0000)]
Merge "Lint fixes and config tweaks."

8 years agoMerge "Android packet filtering program interpreter test & program generator" into...
Paul Jensen [Wed, 3 Feb 2016 17:12:47 +0000 (17:12 +0000)]
Merge "Android packet filtering program interpreter test & program generator" into mm-wireless-dev
am: 44307adcf3

* commit '44307adcf371bacad4de6925a9207bdbfdc6f874':
  Android packet filtering program interpreter test & program generator

8 years agoLint fixes and config tweaks.
Ben Kwa [Tue, 2 Feb 2016 20:11:10 +0000 (12:11 -0800)]
Lint fixes and config tweaks.

- Add recommended ignore properties to lint.xml.
- Make Fragment subclasses public.
- Truncate log tags at 23 chars.
- Fix one instance of passing a color ID instead of a color.
- Misc xml property fixes.

Change-Id: Ie8d6a8932cda72b7a239f6dfab56bd854f909820