OSDN Git Service

android-x86/frameworks-base.git
7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours...
Jeff Sharkey [Thu, 9 Feb 2017 17:54:19 +0000 (17:54 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4  -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458 am: 0a2374524a
am: b697587f20  -s ours

Change-Id: Ice8c2db54cd98fd642fcdfeb96c8f6e87cc2c989

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308...
Jeff Sharkey [Thu, 9 Feb 2017 17:53:09 +0000 (17:53 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91 am: 19fd8e3f06
am: 983dc41c8d  -s ours

Change-Id: Ie760d001d92437ea46781644a5fd780a9a9eca92

7 years agoMerge "Improved some toString() methods."
Felipe Leme [Thu, 9 Feb 2017 17:47:18 +0000 (17:47 +0000)]
Merge "Improved some toString() methods."

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours...
Jeff Sharkey [Thu, 9 Feb 2017 17:46:20 +0000 (17:46 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4  -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458
am: 0a2374524a

Change-Id: Idab19b2a8cecbcaf3f1b63c3c4b0d0edb388f260

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308...
Jeff Sharkey [Thu, 9 Feb 2017 17:46:19 +0000 (17:46 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91 am: 473b52eb62
am: d94624347f  -s ours

Change-Id: I7f15e9458858982f8e572880c4c50af0bddd9d82

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
Jeff Sharkey [Thu, 9 Feb 2017 17:45:13 +0000 (17:45 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
am: 19fd8e3f06

Change-Id: Ied0e990e32f09ee2ac7bcb9846f3589d00038204

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
Jeff Sharkey [Thu, 9 Feb 2017 17:42:09 +0000 (17:42 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
am: 473b52eb62

Change-Id: Ic9afb12547b271de6e423601131605b0d930e10b

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours...
Jeff Sharkey [Thu, 9 Feb 2017 17:41:44 +0000 (17:41 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4  -s ours am: be0dab477e am: 47656a3cbd
am: 99755cb458

Change-Id: I0380911f9607eed5f10a6c497f273ccbc67b3721

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
Jeff Sharkey [Thu, 9 Feb 2017 17:39:14 +0000 (17:39 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
am: 14b308de91

Change-Id: I3ae65230058cd51b4efb06358dae35dce419c04b

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours...
Jeff Sharkey [Thu, 9 Feb 2017 17:37:47 +0000 (17:37 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4  -s ours am: be0dab477e
am: 47656a3cbd

Change-Id: I5835528fe288b1ee117265d37e39fcfd0bbb301b

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
Jeff Sharkey [Thu, 9 Feb 2017 17:37:44 +0000 (17:37 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
am: 14b308de91

Change-Id: I428dcaa5e44364d30a51392c224ad68a6e455e2b

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours
Jeff Sharkey [Thu, 9 Feb 2017 17:33:51 +0000 (17:33 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4  -s ours
am: be0dab477e

Change-Id: I28971e3707b67f7f3e4a566fd4f8e891d7e8823b

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID.
Jeff Sharkey [Thu, 9 Feb 2017 17:33:43 +0000 (17:33 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
am: 3eddf40675

Change-Id: Ied7f446ac2e539654b9f7d5e1ab7cce8aec7390e

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID.
Jeff Sharkey [Thu, 9 Feb 2017 17:28:44 +0000 (17:28 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
am: a78841ebd4  -s ours

Change-Id: Iac6ae6f87a60318e4557b238c196c3b0627e95ab

7 years agoMerge "Eliminate out-of-sync IMM#mFullscreenMode error"
Yohei Yukawa [Thu, 9 Feb 2017 16:55:00 +0000 (16:55 +0000)]
Merge "Eliminate out-of-sync IMM#mFullscreenMode error"

7 years agoMerge "avoid race condition on very fast tests"
TreeHugger Robot [Thu, 9 Feb 2017 16:46:49 +0000 (16:46 +0000)]
Merge "avoid race condition on very fast tests"

7 years agoMerge "AAPT2: Fix pseudolocalization to respect <xliff:g>"
TreeHugger Robot [Thu, 9 Feb 2017 16:17:15 +0000 (16:17 +0000)]
Merge "AAPT2: Fix pseudolocalization to respect <xliff:g>"

7 years agoMerge changes I348c18dc,I0c33d519
TreeHugger Robot [Thu, 9 Feb 2017 15:45:04 +0000 (15:45 +0000)]
Merge changes I348c18dc,I0c33d519

* changes:
  SysUiLeaks: Detect leaks in TunerService
  SysUiLeaks: Detect leaks of NotificationData.Entry

7 years agoMerge "Add better method test handlers/loopers in sysui"
Jason Monk [Thu, 9 Feb 2017 15:43:15 +0000 (15:43 +0000)]
Merge "Add better method test handlers/loopers in sysui"

7 years agoavoid race condition on very fast tests
Chris Wren [Wed, 8 Feb 2017 22:21:53 +0000 (17:21 -0500)]
avoid race condition on very fast tests

most of the use cases for this involve uiautomator tests,
which are slow anyway. In this case it may be possible for
the checkpoint to record the current time, and then the
test event arrive before the clock ticks over to the
next millisecond, which would cause them to be ignored.

If this fixes the flakiness we should consider a more gneeral fix.

Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java
Bug: 35138327
Change-Id: Idc4aec50df1a75be710c5a69522af058f7e68ec1

7 years agoMerge "SysUiLeaks: Add LeakDetector"
TreeHugger Robot [Thu, 9 Feb 2017 14:03:17 +0000 (14:03 +0000)]
Merge "SysUiLeaks: Add LeakDetector"

7 years agoMerge "Replace RandomAccessFile with BufferedInputStream"
Shubham Ajmera [Thu, 9 Feb 2017 12:14:17 +0000 (12:14 +0000)]
Merge "Replace RandomAccessFile with BufferedInputStream"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 740ddc38bc -s ours
Bill Yi [Thu, 9 Feb 2017 11:41:51 +0000 (11:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 740ddc38bc  -s ours
am: cde8fa7e9f  -s ours

Change-Id: I540f10c9fa9e7c54aa5578551e1377ec68f0e28f

7 years agoImport translations. DO NOT MERGE am: d0bc779893 -s ours
Bill Yi [Thu, 9 Feb 2017 11:40:51 +0000 (11:40 +0000)]
Import translations. DO NOT MERGE am: d0bc779893  -s ours
am: 49e6b18eeb  -s ours

Change-Id: Ib68c0f50355c4d87be79078542696de7e1e4cb4f

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Thu, 9 Feb 2017 11:36:58 +0000 (11:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 740ddc38bc  -s ours

Change-Id: I967c516afc18ee97b2790cedd4747e8f93c57368

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 11:36:52 +0000 (11:36 +0000)]
Import translations. DO NOT MERGE
am: d0bc779893  -s ours

Change-Id: I06ce169e1bebd7c4543090b2ba0c3b119121d954

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 9 Feb 2017 11:28:22 +0000 (11:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Extend MenuItem to allow modifier keys for shortcut"
Peeyush Agarwal [Thu, 9 Feb 2017 11:17:20 +0000 (11:17 +0000)]
Merge "Extend MenuItem to allow modifier keys for shortcut"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 09:57:11 +0000 (01:57 -0800)]
Import translations. DO NOT MERGE

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

7 years agoSysUiLeaks: Detect leaks in TunerService
Adrian Roos [Fri, 3 Feb 2017 00:01:51 +0000 (16:01 -0800)]
SysUiLeaks: Detect leaks in TunerService

Bug: 34932615
Test: manual
Change-Id: I348c18dc4e5772637828c1f53f15c84ad4c39485

7 years agoSysUiLeaks: Detect leaks of NotificationData.Entry
Adrian Roos [Fri, 3 Feb 2017 00:01:51 +0000 (16:01 -0800)]
SysUiLeaks: Detect leaks of NotificationData.Entry

Bug: 34932615
Test: manual
Change-Id: I0c33d5194fe94e99b7bebe3a04a3730e41575080

7 years agoSysUiLeaks: Add LeakDetector
Adrian Roos [Fri, 3 Feb 2017 00:00:59 +0000 (16:00 -0800)]
SysUiLeaks: Add LeakDetector

Bug: 34932615
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
Change-Id: Id4a9cbdaddc83ca3e25923eec33d53b6761c54cb

7 years agoMerge "Don't generate and send reply object in oneway calls." am: 60f11f3d16 am:...
Martijn Coenen [Thu, 9 Feb 2017 08:55:20 +0000 (08:55 +0000)]
Merge "Don't generate and send reply object in oneway calls." am: 60f11f3d16 am: 14cc9c291e am: 53e5640589
am: b2c70c8877

Change-Id: I3e3d29f938ac86852b1353697009dec9cad545ee

7 years agoMerge "Don't generate and send reply object in oneway calls." am: 60f11f3d16 am:...
Martijn Coenen [Thu, 9 Feb 2017 08:51:12 +0000 (08:51 +0000)]
Merge "Don't generate and send reply object in oneway calls." am: 60f11f3d16 am: 14cc9c291e
am: 53e5640589

Change-Id: I3ee89a098a2913f5ce7f4c357b9c5c86f4bd4b15

7 years agoMerge "Don't generate and send reply object in oneway calls." am: 60f11f3d16
Martijn Coenen [Thu, 9 Feb 2017 08:47:12 +0000 (08:47 +0000)]
Merge "Don't generate and send reply object in oneway calls." am: 60f11f3d16
am: 14cc9c291e

Change-Id: I415b895812703aa8ec290234fb71d1d0a89aece9

7 years agoMerge "Don't generate and send reply object in oneway calls."
Martijn Coenen [Thu, 9 Feb 2017 08:42:27 +0000 (08:42 +0000)]
Merge "Don't generate and send reply object in oneway calls."
am: 60f11f3d16

Change-Id: I790576158c1d2cae6b746f3b5d0dbecad750629a

7 years agoMerge "Don't generate and send reply object in oneway calls."
Martijn Coenen [Thu, 9 Feb 2017 08:37:29 +0000 (08:37 +0000)]
Merge "Don't generate and send reply object in oneway calls."

7 years agoDon't generate and send reply object in oneway calls.
Martijn Coenen [Wed, 8 Feb 2017 09:22:28 +0000 (10:22 +0100)]
Don't generate and send reply object in oneway calls.

Bug: 35044790
Test: hidl_test, hidl_test_java
Change-Id: Iae8f5b071f89d2af5ca15360c6a1a0fbf8040e77

7 years agoMerge "Fix ImeSubtypeListItem ordering"
TreeHugger Robot [Thu, 9 Feb 2017 08:25:33 +0000 (08:25 +0000)]
Merge "Fix ImeSubtypeListItem ordering"

7 years agoMerge "Serially (un/)register score cache in WifiTracker."
TreeHugger Robot [Thu, 9 Feb 2017 06:23:29 +0000 (06:23 +0000)]
Merge "Serially (un/)register score cache in WifiTracker."

7 years agoMerge "Whitelist LocalTransport here in the framework sysconfig"
Chris Tate [Thu, 9 Feb 2017 06:12:34 +0000 (06:12 +0000)]
Merge "Whitelist LocalTransport here in the framework sysconfig"

7 years agoMerge "Make datasets one line and ellipsized."
TreeHugger Robot [Thu, 9 Feb 2017 05:43:23 +0000 (05:43 +0000)]
Merge "Make datasets one line and ellipsized."

7 years agoMerge "Enable background restrictions"
Chris Tate [Thu, 9 Feb 2017 05:33:15 +0000 (05:33 +0000)]
Merge "Enable background restrictions"

7 years agoMerge "Avoid sync IPCs from TSMS to SpellCheckerService"
Yohei Yukawa [Thu, 9 Feb 2017 05:11:01 +0000 (05:11 +0000)]
Merge "Avoid sync IPCs from TSMS to SpellCheckerService"

7 years agoSerially (un/)register score cache in WifiTracker.
Sundeep Ghuman [Thu, 9 Feb 2017 01:19:27 +0000 (17:19 -0800)]
Serially (un/)register score cache in WifiTracker.

Before the cache unregistration logic was posted to the worker thread.
However, when WifiSettings is quit, the onDestroy method immediately
kills the WorkHandler. This caused unregistration to never occur, which
left the cache registered and the listener to try to post work on the
dead worker thread. The cache is now registered and unregistered
serially in start and stop tracking, respectively. Furthermore, the
cachelistener is running on the mainHandler as it is a lightweight task
(posting to work handler).

Bug: 34891717
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I7739fdbe036be5b2870be45f33f670fd69d69af1

7 years agoFix ImeSubtypeListItem ordering
Tadashi G. Takaoka [Wed, 8 Feb 2017 06:12:13 +0000 (15:12 +0900)]
Fix ImeSubtypeListItem ordering

The previous CL (I47f902cc8f) fixed ImeSubtypeListItem.compareTo() is
compliant to Comparable#compareTo(T) (Bug 34255739) and introduced the
following order of comparing ImeSubtypeListItem fields.

  1. ImeSubtypeListItem#mImeName
  2. ImeSubtypeListItem#mSubtypeName
  3. ImeSubtypeListItem#mIsSystemLocale
  4. ImeSubtypeListItem#mIsSystemLanguage

But it didn't keep the previous ordering (Bug 34821121).  This CL
fixes the order of comparing ImeSubtypeListItem fields as compatible
as ones before I47f902cc8f.

  1. ImeSubtypeListItem#mImeName
  2. ImeSubtypeListItem#mIsSystemLocale
  3. ImeSubtypeListItem#mIsSystemLanguage
  4. ImeSubtypeListItem#mSubtypeName

Bug: 34255739
Fixes: 34821121
Test: Install FramewroksCoreTests.apk and run
      InputMethodSubtypeSwitchingControllerTest and verify all tests passed.
Change-Id: I813403fd29c5c52a3ca375174ec4b95e4b5433f2

7 years agoImproved some toString() methods.
Felipe Leme [Thu, 9 Feb 2017 02:41:37 +0000 (18:41 -0800)]
Improved some toString() methods.

- Never display AutoFillValue.text, because it could be sensitive.
- Simplified AutoFilllId.

Fixes: 35171960

Test: manual verification
Test: CtsAutoFillServiceTestCases passes

Change-Id: I0853cabb695b842c947b0ae007e344f5d8385395

7 years agoMerge "Work on separating out the status bar management"
TreeHugger Robot [Thu, 9 Feb 2017 02:48:33 +0000 (02:48 +0000)]
Merge "Work on separating out the status bar management"

7 years agoMerge "Add command line options for some new intent flags."
TreeHugger Robot [Thu, 9 Feb 2017 02:35:16 +0000 (02:35 +0000)]
Merge "Add command line options for some new intent flags."

7 years agoMerge "Fixing issue with play/pause buttons being inverted."
TreeHugger Robot [Thu, 9 Feb 2017 02:17:14 +0000 (02:17 +0000)]
Merge "Fixing issue with play/pause buttons being inverted."

7 years agoEnable background restrictions
Christopher Tate [Thu, 9 Feb 2017 01:56:29 +0000 (17:56 -0800)]
Enable background restrictions

Can be disabled by setting the "debug.bgcheck" system property to
"n" or "no" or "0" or "false" or "off".  (Writing that property
requires root.)

Bug 30953212
Test: observed restrictions being enforced

Change-Id: I4cda9b7840ff25240b6bcaab210ea13888d08cad

7 years agoWork on separating out the status bar management
Jason Monk [Fri, 27 Jan 2017 22:00:29 +0000 (17:00 -0500)]
Work on separating out the status bar management

Lots of stuff:
 - Make StatusBarIconController be a permanent dependency
 - Break out dark stuff into DarkIconDispatcher
 - Create StatusBarFragment
   - This bit is a bit ugly for now, but will be better later
 - Other stuff probably

Test: runtest systemui
Change-Id: I4973bc9f944e66af92731bf1edd2b39657f1782f

7 years agoEliminate out-of-sync IMM#mFullscreenMode error
Yohei Yukawa [Wed, 8 Feb 2017 19:13:25 +0000 (11:13 -0800)]
Eliminate out-of-sync IMM#mFullscreenMode error

As explained in the commit message of my previous CL [1], we have
had a design issue in how to notify the full-screen mode change
from the IME to InputMethodManager running in the target application.

Histrically we have done this by using hooking the following IPC
from the IME to the target application.

  InputConnection#reportFullscreenMode()

However, since we also want InputConnection to be deactivated in some
situations such as the when the target application is no longer
focused. In other words, InputConnection is not a reliable way to
notify something.

As a result, we have suffered from many stale state issues.
Bug 21455064 and Bug 28157836 are such examples.  In Android N, we
introduced yet another hack to work around those issues, but it is
really time to fix the protocol design instead.

The new strategy is to rely on internal IPCs provided by
InputMethodManager to deliver such critical notifications from one
process to the other. This is actually more natural because our goal
is to make sure that InputMethodManager#isFullscreenMode() always
returns the latest value as long as the caller is the focused
application.

For backword compatibility, applications that are monitoring
this callback should continue working, as InputMethodManager emulates
the previous behavior.  However, as updated in JavaDoc, IMEs are no
longer allowed to invoke InputConnection#reportFullscreenMode(),
which should be OK because even on previous releases IMEs should rely on
InputMethodService#updateFullscreenMode() instead.

 [1]: Iba184245a01a3b340f006bc4e415d304de3c2696
      1544def0facda69c210b0ae64b17394ea2860d39

Fixes: 28406127
Test: Make sure Bug 21455064 is still fixed.
       1. Input some words in extract mode.
       2. Select a word.
       3. Perform copy.
       4. Select a word.
       5. Rotate the device.
       6. Try to select a word.
       7. Make sure he word is selected and action mode starts.
Test: Make sure Bug 28157836 is still fixed.
       1. Rotate device to landscape mode.
       2. Tap on EditText and start full screen extracted mode.
       3. Rotate device to portrait mode.
       4. Long press to start action mode.
       5. Make sure Action mode gets started.
Test: `adb shell dumpsys input_method` to make sure that fullscreen
      state is synchronized across the app, IMMS, and the IME.
Change-Id: If23e7c7c265ab3dfb48c2fb6fdb361b17d22c594

7 years agoWhitelist LocalTransport here in the framework sysconfig
Christopher Tate [Wed, 8 Feb 2017 22:26:50 +0000 (14:26 -0800)]
Whitelist LocalTransport here in the framework sysconfig

This shouldn't properly be emplaced as a side-effect of partner-
specific configurations; so now we don't do that any more.

Bug 35151478
Test: verify whitelist contents with 'bmgr whitelist'

Change-Id: I854ddfdbcec1def882b24f5ea7955b28d4789806

7 years agoAdd command line options for some new intent flags.
Dianne Hackborn [Thu, 9 Feb 2017 00:33:43 +0000 (16:33 -0800)]
Add command line options for some new intent flags.

Forgot to add these when the flags were added.

Test: manual
Change-Id: If71ea756ca85946155d7a6848454f61d137138c0

7 years agoMerge "Check for null inputs in the ctor."
TreeHugger Robot [Thu, 9 Feb 2017 00:25:23 +0000 (00:25 +0000)]
Merge "Check for null inputs in the ctor."

7 years agoMerge "Add new VoiceInteractionSession.setUiEnabled method"
Dianne Hackborn [Thu, 9 Feb 2017 00:10:57 +0000 (00:10 +0000)]
Merge "Add new VoiceInteractionSession.setUiEnabled method"

7 years agoMerge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemP...
Greg Plesur [Thu, 9 Feb 2017 00:03:12 +0000 (00:03 +0000)]
Merge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: ddec36e31a" into nyc-mr2-dev-plus-aosp
am: c296020f55

Change-Id: I98f4fac8b063ebec21271e5b46ff3027305c1165

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Thu, 9 Feb 2017 00:03:03 +0000 (00:03 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: ddec36e31a
am: 50447143c2

Change-Id: Iadf6f2217415d0498254eb4d1669c5f93ac8a9d0

7 years agoMerge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemP...
Greg Plesur [Thu, 9 Feb 2017 00:01:44 +0000 (00:01 +0000)]
Merge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: 58fce5386b" into nyc-mr2-dev-plus-aosp
am: 735e8230ad

Change-Id: I96ba158ea11611e5d4d82d4ad36af0676b64592a

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Thu, 9 Feb 2017 00:01:39 +0000 (00:01 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: 58fce5386b
am: 5d9343b60a

Change-Id: I2d163d2a3eb1edfd0329992ae5c98c9b11cd9ad5

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked...
Greg Plesur [Thu, 9 Feb 2017 00:00:08 +0000 (00:00 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked() am: c7b18342ea am: 66af3515de
am: 7658c60e91

Change-Id: Ic433afeb6b791173c90546da98ce7bdddfdd5629

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked...
Greg Plesur [Wed, 8 Feb 2017 23:56:33 +0000 (23:56 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked() am: c7b18342ea am: b6323817db
am: f206de957a

Change-Id: Ic1f2bd765ecc3eb7239923147a93fc4afa6eb70c

7 years agoMerge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemP...
Android Build Merger (Role) [Wed, 8 Feb 2017 23:54:08 +0000 (23:54 +0000)]
Merge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: ddec36e31a" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Wed, 8 Feb 2017 23:53:29 +0000 (23:53 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83
am: ddec36e31a

Change-Id: Id36db178cad26adba0a43370af2f4f6cdd1a0443

7 years agoMerge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemP...
Android Build Merger (Role) [Wed, 8 Feb 2017 23:53:15 +0000 (23:53 +0000)]
Merge "Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83 am: 58fce5386b" into nyc-mr2-dev-plus-aosp

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked...
Greg Plesur [Wed, 8 Feb 2017 23:52:35 +0000 (23:52 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked() am: c7b18342ea
am: 66af3515de

Change-Id: I6e97c2c08b8773c9b0f3a472c8f679cc23e8e365

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Wed, 8 Feb 2017 23:52:32 +0000 (23:52 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev am: 8a2ea2cf83
am: 58fce5386b

Change-Id: I784fc51c541da12056f7c47810d3b222f40dea04

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked...
Greg Plesur [Wed, 8 Feb 2017 23:49:32 +0000 (23:49 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked() am: c7b18342ea
am: b6323817db

Change-Id: I5f3b6935af32ba94fef35d8db573d75925eee434

7 years agoMerge "Add additional logging for temperature readings." into nyc-mr2-dev am: 759e1c5219
Andrew Sapperstein [Wed, 8 Feb 2017 23:47:50 +0000 (23:47 +0000)]
Merge "Add additional logging for temperature readings." into nyc-mr2-dev am: 759e1c5219
am: 241ee625bf  -s ours

Change-Id: I3030b8c618d2a213f14bd3b79951f52c9a7c1f20

7 years agoAdd additional logging for temperature readings. am: 4cfe56709b
Andrew Sapperstein [Wed, 8 Feb 2017 23:46:33 +0000 (23:46 +0000)]
Add additional logging for temperature readings. am: 4cfe56709b
am: 0d86733ab7  -s ours

Change-Id: I10aef54ae8edc77a3c9258b135225e609dc7db18

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Wed, 8 Feb 2017 23:44:34 +0000 (23:44 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev
am: 8a2ea2cf83

Change-Id: Ie25c9bfa82ccffc58b68c13b515d7f556d955289

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()
Greg Plesur [Wed, 8 Feb 2017 23:44:27 +0000 (23:44 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()
am: c7b18342ea

Change-Id: I1969d32950057ecacc03e8c5d00ad185fb627044

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
Greg Plesur [Wed, 8 Feb 2017 23:44:17 +0000 (23:44 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev
am: 8a2ea2cf83

Change-Id: I9c2c3d822023277aada4685a11f4b272585550ea

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()
Greg Plesur [Wed, 8 Feb 2017 23:44:13 +0000 (23:44 +0000)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()
am: c7b18342ea

Change-Id: I692fee4165de9a274d8eb8f0deaf49762974bb22

7 years agoMerge "Add additional logging for temperature readings." into nyc-mr2-dev
Andrew Sapperstein [Wed, 8 Feb 2017 23:37:26 +0000 (23:37 +0000)]
Merge "Add additional logging for temperature readings." into nyc-mr2-dev
am: 759e1c5219

Change-Id: Id598870f05298933d4ef053e0ea3b37113e01f65

7 years agoAdd additional logging for temperature readings.
Andrew Sapperstein [Wed, 8 Feb 2017 23:37:19 +0000 (23:37 +0000)]
Add additional logging for temperature readings.
am: 4cfe56709b

Change-Id: I57547d77357deaa663c482937f26890930dc8845

7 years agoMerge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemProperty...
TreeHugger Robot [Wed, 8 Feb 2017 23:36:06 +0000 (23:36 +0000)]
Merge "Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()" into cw-f-dev

7 years agoMerge "Add additional logging for temperature readings." into nyc-mr2-dev
TreeHugger Robot [Wed, 8 Feb 2017 23:31:13 +0000 (23:31 +0000)]
Merge "Add additional logging for temperature readings." into nyc-mr2-dev

7 years agoCheck for null inputs in the ctor.
Jeremy Joslin [Wed, 8 Feb 2017 22:50:34 +0000 (14:50 -0800)]
Check for null inputs in the ctor.

Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t com.google.android.gts.wifi.WifiHostTest
Bug: 35152108
Change-Id: I321b52b0feb62aced20bca7f47e962f5c7d78343

7 years agoMerge "Fix a crash when opening app data usage for work profile"
TreeHugger Robot [Wed, 8 Feb 2017 22:33:44 +0000 (22:33 +0000)]
Merge "Fix a crash when opening app data usage for work profile"

7 years agoMerge "AudioService: mute media/game players during phone calls"
Jean-Michel Trivi [Wed, 8 Feb 2017 22:28:42 +0000 (22:28 +0000)]
Merge "AudioService: mute media/game players during phone calls"

7 years agoMerge "Separate cluster-focus and default-focus."
Evan Rosky [Wed, 8 Feb 2017 22:27:49 +0000 (22:27 +0000)]
Merge "Separate cluster-focus and default-focus."

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8 am...
Tyler Gunn [Wed, 8 Feb 2017 22:10:20 +0000 (22:10 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8 am: e55b11573e am: 998655f80e
am: 58d8c5eb07  -s ours

Change-Id: Ic1f76d23f1d0c28c74cbea392a3998181d9d6da7

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8 am...
Tyler Gunn [Wed, 8 Feb 2017 22:05:45 +0000 (22:05 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8 am: e55b11573e
am: 998655f80e

Change-Id: I01c5d8c15ce9377f126fc7268bd1a8ecee602dc8

7 years agoMerge changes from topic 'battery3'
Daniel Sandler [Wed, 8 Feb 2017 22:03:11 +0000 (22:03 +0000)]
Merge changes from topic 'battery3'

* changes:
  Fix regression in battery size.
  Clean up BatteryMeterDrawable internal api.

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8
Tyler Gunn [Wed, 8 Feb 2017 22:01:07 +0000 (22:01 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8
am: e55b11573e

Change-Id: Iffef42c4050bbda451e9cd99cb90589060b105bd

7 years agoAdd new VoiceInteractionSession.setUiEnabled method
Dianne Hackborn [Tue, 7 Feb 2017 01:42:41 +0000 (17:42 -0800)]
Add new VoiceInteractionSession.setUiEnabled method

This allows the session to turn off all of its UI.  Use it
in onCreate() to prevent the session from ever creating any
of its UI.  Switched the window creation and initialization to
happen lazily to support this.

Test: New test added to android.assist.cts.LifecycleTest
Bug: 30999386

Change-Id: I8eacb3697c8ac9908c50b9577abea2d20597b016

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider."
Tyler Gunn [Wed, 8 Feb 2017 21:56:39 +0000 (21:56 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider."
am: c164b159f8

Change-Id: I3abbb1de951f65c226a6849f34946880e9f650ff

7 years agoMerge "Fix typo in ScoredNetwork javadoc."
TreeHugger Robot [Wed, 8 Feb 2017 21:56:15 +0000 (21:56 +0000)]
Merge "Fix typo in ScoredNetwork javadoc."

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider."
Treehugger Robot [Wed, 8 Feb 2017 21:46:43 +0000 (21:46 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider."

7 years agoDon't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()
Greg Plesur [Wed, 8 Feb 2017 19:57:34 +0000 (14:57 -0500)]
Don't check device_provisioned on Wear devices in setDeviceOwnerSystemPropertyLocked()

BUG: 34824902
Change-Id: I49d4d7043829862e1abacb3f400a6690f454d6c0

7 years agoMerge "Delay changing state of added fragments until all executed."
TreeHugger Robot [Wed, 8 Feb 2017 21:32:40 +0000 (21:32 +0000)]
Merge "Delay changing state of added fragments until all executed."

7 years agoMerge "Retrieving groups shouldn't have side effects"
TreeHugger Robot [Wed, 8 Feb 2017 21:32:14 +0000 (21:32 +0000)]
Merge "Retrieving groups shouldn't have side effects"

7 years agoMerge "moved GraphicEnv from libgui to libui"
Mathias Agopian [Wed, 8 Feb 2017 21:27:17 +0000 (21:27 +0000)]
Merge "moved GraphicEnv from libgui to libui"

7 years agoMake datasets one line and ellipsized.
Jason Long [Wed, 8 Feb 2017 20:49:33 +0000 (12:49 -0800)]
Make datasets one line and ellipsized.

Test: Manual
Test: CtsAutoFillServiceTestCases
Change-Id: I2f58ef5e566ba0551431fcbe43efb179c3efc8e8

7 years agoMerge "Fix NPE when session is finished before service replies."
TreeHugger Robot [Wed, 8 Feb 2017 21:17:14 +0000 (21:17 +0000)]
Merge "Fix NPE when session is finished before service replies."

7 years agoMerge changes If970d851,I5bd11574 am: 3c054697fc am: 65eef762a9 am: 6dd6ba628b
Roshan Pius [Wed, 8 Feb 2017 21:15:28 +0000 (21:15 +0000)]
Merge changes If970d851,I5bd11574 am: 3c054697fc am: 65eef762a9 am: 6dd6ba628b
am: b9f9e64619

Change-Id: I7f140b1b3ca363e0a53ffc08b2c6ad9020ecdf45

7 years agoWifiManager: API upates for O am: fb441f5009 am: aabb1c7ecf am: 02bf13a6c9
Roshan Pius [Wed, 8 Feb 2017 21:14:19 +0000 (21:14 +0000)]
WifiManager: API upates for O am: fb441f5009 am: aabb1c7ecf am: 02bf13a6c9
am: ec38eb6988

Change-Id: I1cb223bff8dd29e11316bf69c7f200caac2a125b

7 years agoWifiConfiguration: Remove priority field am: 45491113ed am: 51641c20b2 am: 707ced526f
Roshan Pius [Wed, 8 Feb 2017 21:13:12 +0000 (21:13 +0000)]
WifiConfiguration: Remove priority field am: 45491113ed am: 51641c20b2 am: 707ced526f
am: 6a4322b6d6

Change-Id: Iae46e33f4d04f8bff3da569670fe2474d22cd80e