304597 Commits

Author SHA1 Message Date
Sanket Agarwal
46eccf5a71 Merge "Change HFP Client API to support multi device am: c8399321e9" into nyc-mr2-dev-plus-aosp
am: 9ac9632ed3

Change-Id: I544e52352fd8d66c8f2028ad610f13aa9d6d6ba6
2017-01-24 18:46:11 +00:00
Sanket Agarwal
d2f8ccb8a2 Change HFP Client API to support multi device am: c8399321e9
am: 3978435d5a

Change-Id: Ib9b59a18cb9633caa63c5ac723e9e12c1138f513
2017-01-24 18:45:43 +00:00
Android Build Merger (Role)
5b9b907a98 Merge "Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa0c am: 5c2aa05bfb" 2017-01-24 18:45:14 +00:00
Ta-wei Yen
70021579f7 Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am: 70f920fa0c
am: 5c2aa05bfb

Change-Id: I583722ca6ac52499d027f6660393647e6051a4c5
2017-01-24 18:43:58 +00:00
Android Build Merger (Role)
589d3673dc Merge "Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4 am: e696c3d911" 2017-01-24 18:43:27 +00:00
Jason Long
c121dda89a Define contract for AutoFillServiceInfo more precisely.
Change-Id: I295dec0c7318eecdceb962df9c0d888d12e9b654
Bug: 31001899
Test: Manual
2017-01-24 10:43:11 -08:00
Ta-wei Yen
ea0a8bddec Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4
am: e696c3d911

Change-Id: I380e1a15f1c13009b876dd0347ef811cd3f70aed
2017-01-24 18:42:46 +00:00
Android Build Merger (Role)
42f46d2b56 Merge "Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a am: ea65f9d392 am: 577aac1385" 2017-01-24 18:42:25 +00:00
Jeremy Joslin
5c5747e541 Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3 am: 4fcc44dc9a am: ea65f9d392
am: 577aac1385

Change-Id: I9044cfa8445014d08bc416e46811c57e5972d653
2017-01-24 18:41:47 +00:00
Android Build Merger (Role)
34d89134c9 Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: 20d79203be am: 60e03c36b7" 2017-01-24 18:41:25 +00:00
Nancy Zheng
5299311602 Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: 20d79203be
am: 60e03c36b7

Change-Id: I5790f4748bf2b3f09b4d2efb66ecba117d289844
2017-01-24 18:40:42 +00:00
Android Build Merger (Role)
edcceb495f Merge "Query for the settings package in KeyguardManager instead of hardcoding it. am: e256a18dcd am: 11bdbd1145 am: 52b8412742" 2017-01-24 18:40:21 +00:00
Nancy Zheng
678546838d Query for the settings package in KeyguardManager instead of hardcoding it. am: e256a18dcd am: 11bdbd1145
am: 52b8412742

Change-Id: I050903bafefed0d80961901ac98d67f7cc22dfaa
2017-01-24 18:39:42 +00:00
Android Build Merger (Role)
23dff549bc Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: d0c5f0047f am: 7a86073718" 2017-01-24 18:39:26 +00:00
TreeHugger Robot
d2b93464da Merge "Adding AppOps setting for entering PiP when hidden." 2017-01-24 18:38:54 +00:00
Nancy Zheng
3cf5963288 Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am: 8ac1bff7e2 am: d0c5f0047f
am: 7a86073718

Change-Id: I9c1cc2e674be02d9440024c3b64432cf0c3d371d
2017-01-24 18:38:41 +00:00
TreeHugger Robot
2bf3b1b2cf Merge "Fixing error calculating the top pinned activity." 2017-01-24 18:20:13 +00:00
Jesse Hall
b0309b885d Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev
am: 9294b75354

Change-Id: I8caf1f80fdbbf43198594c9072b8418f78818f09
2017-01-24 18:13:13 +00:00
Jesse Hall
e8a5df8530 Don't lower priority of EGL Init thread
am: 37e63c705e

Change-Id: Icd21c9243558f4427d48f967f4ea4ae7aa1e2b02
2017-01-24 18:13:07 +00:00
John Reck
efa38e38fb Revert "Workaround libmemunreachable lockup"
This reverts commit 553ae6ab071b1db5e783c8c02f9311b4969729f6.

Change-Id: I593b78f7073d84a5e16372849d27e943af65694c
Fixes: 34586922
2017-01-24 18:13:03 +00:00
Makoto Onuki
86389b3edc Temporarily disable LauncherApps reverse access check
Bug 34650921
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests

With the reverted CTS,
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testManagedUser'
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest'

Change-Id: Id9d13c11816fca10b2dacac92537b2baded3ac9c
2017-01-24 10:08:29 -08:00
Jesse Hall
9294b75354 Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev 2017-01-24 18:08:15 +00:00
John Reck
be34e8ee90 Revert "Destroy DisplayLists on time"
This reverts commit 2874daa4d38bddd3a5f0edb3774d5e5884dd9554.

It broke a bunch of stuff and occasionally blank webviews are preferable to native crashes

Bug: 34638191
Change-Id: I6c5849d4ef0db3ac7c9ed1b1a128f2272a5344c2
2017-01-24 18:06:44 +00:00
Jeff Sharkey
9f1fc2d787 Disable RescueParty on -eng builds, or with flag.
For development devices, RescueParty can be a little too helpful, so
offer a way to disable it.

Test: builds, boots
Bug: 34669556
Change-Id: I401e8e7a99bdde6c0fe09880f0190384b4b0a3de
2017-01-24 11:05:19 -07:00
Dmitri Plotnikov
daab716f35 Disabling crash dialogs on TV
Bug: 34518944
Test: threw an exception and saw the app nicely disappear without a dialog
Change-Id: I08ccfe7b34af6e2af6f91fea8750e81955901f40
2017-01-24 17:53:59 +00:00
Jason Monk
5559543e81 Merge "Add long-click to app info for plugin settings" 2017-01-24 17:49:46 +00:00
Jaewan Kim
6e2b01ce75 Allow privileged app to set media key event listener
If the media key listener is set, the listener will receive the media key
events before any other sessions, but after the global priority session.
If the event is handled by the listener, other sessions cannot get the event.

Privileged app needs permission android.permission.SET_MEDIA_KEY_LISTENER
to set the listener.

Bug: 30125811
Change-Id: I2b2cf4ac7873b70899194701c6921990dcb9de02
2017-01-24 09:41:54 -08:00
Jaewan Kim
5026936e49 Allow privileged app to set volume key long-press listener
If the volume long-press listener is set, the listener will receive
the volume key long-presses instead of chaging the volume.

Privileged app needs permission
android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER to set the listener.

Bug: 30125811
Change-Id: I5e8fafbb950e5e11522da0f14004648d0877bf3e
2017-01-24 09:41:43 -08:00
Andrew Sapperstein
4c2fe5da49 Merge "Add Settings.Global configs to high temp warning." 2017-01-24 17:34:31 +00:00
Jorim Jaggi
d285d67f3a Merge changes I5df77ae5,Ice538d09,I2451be87,I953ab6cb,Ie1b8debc
* changes:
  If the surface of a window is displayed, screenshot
  Update starting window fade out to spec
  Fill task snapshot with background color
  Add starting windows while unlocking
  Starting window tests, yay!
2017-01-24 17:32:32 +00:00
Shreyas Basarge
865303fce5 API to select backup transport
This cl adds an API to select a backup
transport by its component name and
receive a callback when BackupManager
is bound to the transport. Calling this API
will make BackupManager bind to the transport
if it isn't already bound to it.

Also fixes the issue where BackupManager would
detect only one transport per package.

Ref: go/backup-transport-switching

Bug: 33616220
Test: Manually tested. GTS tests will be put up shortly.

Change-Id: I8c23bdbb84ceb05eb1fad9b3a8b9c4441cb06c74
2017-01-24 17:28:48 +00:00
TreeHugger Robot
e5ec708000 Merge "Fix crash on user switch" 2017-01-24 17:23:07 +00:00
Niels Egberts
f549a5c3f5 Merge "Implement time markers for TTS." 2017-01-24 17:19:34 +00:00
Robin Lee
e7056216f8 Lock all profile tasks if keyguard is locked too
Bug: 29244275
Test: //tests/PoApi/src/com/google/android/afwtest/poapi/WorkChallengeTest
Change-Id: I1df84aa1af675af68180a84440ef36adb003b42d
2017-01-24 17:16:56 +00:00
Winson Chung
59fda9e217 Adding AppOps setting for entering PiP when hidden.
- In O, apps can request to enter picture-in-picture when the user
  effectively leaves their activity for another task by default. To
  prevent this from being abused, we need to add a setting for the
  user to disable this behavior per-package in the system level.
  When disabled, any activity from that package will only be able
  to enter picture-in-picture when it is visible and resumed.

Bug: 34520451
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testAppOpsDenyPipOnPause
Change-Id: Ib3a993e99ffb071706c6b7d3fb1c882b74acc5d7
Signed-off-by: Winson Chung <winsonc@google.com>
2017-01-24 09:15:01 -08:00
TreeHugger Robot
f779f91cd2 Merge "Implement TextClassification-related methods." 2017-01-24 16:54:57 +00:00
Pankaj Kanwar
dd656b91cc Merge "Create Public API which exposes if the device is in a state where simultaneous voice and data are possible." 2017-01-24 16:47:05 +00:00
Yohei Yukawa
7383ce62ee Merge "Fix ImeSubtypeListItem#compareTo()" 2017-01-24 16:37:09 +00:00
Nicolas Prevot
d37c4a99b2 Allow DO to provision even if it has set disallow remove mp.
If the device owner has set DISALLOW_REMOVE_MANAGED_PROFILE,
and there is already a managed profile:
it should be allowed to provision a new managed profile by
deleting the old one.
Test: adb shell am instrument -e class
com.android.server.devicepolicy.DevicePolicyManagerTest
-w
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
BUG:34116228

Change-Id: I9e6f39924107aee40b57d22e638487a1ea3132de
2017-01-24 16:36:14 +00:00
Nicolas Prevot
45d2907863 Update DPM unit tests checking isProvisioningAllowed for comp.
Two of the tests were actually checking the same thing. Removed one.
Refactore another test to make it easier to read.

Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest
-w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
BUG:32629873

Change-Id: Id4ca9bd8c113a858b016fb02d04bf4c76bbcb027
2017-01-24 16:35:58 +00:00
Alexander Hills
3c290d43b1 Merge "Changes the default value of Notification.Action.mAllowGeneratedReplies" 2017-01-24 16:31:42 +00:00
Julia Reynolds
dbfb40f163 Optionally show accessibility stream volume row.
Bug: 30448020
Test: manual
Change-Id: I86a28c7a900d1fbc378f0ce4c113d59353bcb416
2017-01-24 16:27:23 +00:00
Paul Duffin
762b31f7a4 Merge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a am: a07f9d522b
am: 5aa7e5b46f

Change-Id: I6aede1f1e2216233493cebe3efba43686aa3ad0d
2017-01-24 16:18:43 +00:00
Paul Duffin
5aa7e5b46f Merge "Prepare for removal of legacy-test from default targets (Part 2)" am: 5a3a3d298a
am: a07f9d522b

Change-Id: I758123e58a78ac515fb4ed0ce8e1647cfd1a3dc8
2017-01-24 16:12:57 +00:00
Paul Duffin
a07f9d522b Merge "Prepare for removal of legacy-test from default targets (Part 2)"
am: 5a3a3d298a

Change-Id: I14fd4502454a98baf01f5ace83fe0c583005a52d
2017-01-24 16:08:26 +00:00
Chris Wren
b62371434c Move MetricsReader to SystemApi
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics  && runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/legacy/
Change-Id: If55f0444d5a836f24234182d298ebc128643efc1
2017-01-24 11:07:37 -05:00
Paul Duffin
5a3a3d298a Merge "Prepare for removal of legacy-test from default targets (Part 2)" 2017-01-24 16:02:00 +00:00
Jason Monk
b68d6ae5a2 Fix crash on user switch
Don't re-register a user switcher while getting a user switched
callback, because that will cause a crash.

Test: switch users.
Fixes: 34661001
Change-Id: I31453d75aabe6ecd657e7500cf1823890d5262a0
2017-01-24 10:56:47 -05:00
Alex Hills
1f27f88f02 Changes the default value of Notification.Action.mAllowGeneratedReplies
Changes the default from false to true

Bug:31934635
Fixes:31934635
Test: CTS tests in ag/1824710
Change-Id: I1c7097627e77eed12bb9cc644c1cbb5c3197a750
2017-01-24 15:38:56 +00:00
Mahaver Chopra
470ecb2c6c Merge "Provisioning terms screen constants" 2017-01-24 15:33:57 +00:00