OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Merge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58...
Android Build Merger (Role) [Wed, 17 Jan 2018 23:38:14 +0000 (23:38 +0000)]
Merge "Merge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58 am: f09db036e5 am: 56a8d9ad4f"

6 years agoMerge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58 am:...
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:36:27 +0000 (23:36 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58 am: f09db036e5
am: 56a8d9ad4f

Change-Id: I02779540eaaf2ad934f5190c88296547c430df1a

6 years agoMerge "Fix API review javadoc issues in TextView/ExtractedText"
TreeHugger Robot [Wed, 17 Jan 2018 23:35:50 +0000 (23:35 +0000)]
Merge "Fix API review javadoc issues in TextView/ExtractedText"

6 years agoMerge "Added data service interface" am: 3965e3bbc6 am: 5f12e2c76d
Jack Yu [Wed, 17 Jan 2018 23:31:40 +0000 (23:31 +0000)]
Merge "Added data service interface" am: 3965e3bbc6 am: 5f12e2c76d
am: d3a8971bac

Change-Id: I6f8d26c56c1d709aa1c53ef49a133deca7555c7e

6 years agoMerge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:25:13 +0000 (23:25 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController." am: 0797f4be58
am: f09db036e5

Change-Id: Ifcd39da6aafb4cd1e0b6e9e1baa38342a590fb91

6 years agoMerge "Integrate IMS Registration API" am: 1f00565433 am: f4d3a4d110
Brad Ebinger [Wed, 17 Jan 2018 23:23:09 +0000 (23:23 +0000)]
Merge "Integrate IMS Registration API" am: 1f00565433 am: f4d3a4d110
am: 7f47f8e957  -s ours

Change-Id: I23f49a34edb4cfee7bf4733f48e0a4b23943240f

6 years agoMerge "Added data service interface" am: 3965e3bbc6
Jack Yu [Wed, 17 Jan 2018 23:18:21 +0000 (23:18 +0000)]
Merge "Added data service interface" am: 3965e3bbc6
am: 5f12e2c76d

Change-Id: Iac4b6e1b86cdfa2e3285a086220b7c7aa921d7ff

6 years agoMerge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b76029576...
yuemingw [Wed, 17 Jan 2018 23:14:19 +0000 (23:14 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b760295764 am: 10f60a740f
am: 0315d12976

Change-Id: I0510b82c525d3dd6b577ece470ba3e82e6b7568e

6 years agoMerge "Integrate IMS Registration API" am: 1f00565433
Brad Ebinger [Wed, 17 Jan 2018 23:13:46 +0000 (23:13 +0000)]
Merge "Integrate IMS Registration API" am: 1f00565433
am: f4d3a4d110

Change-Id: I19e812368d0afd5bd7934b4e3a2aa575d0c1d3a3

6 years agoMerge "Add APIs to EuiccCardManager and EuiccCardController."
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:07:54 +0000 (23:07 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController."
am: 0797f4be58

Change-Id: Ie96bf09b698718705971bd94cd44f55e74700223

6 years agoMerge "Use "except-idle" whitelist for force-app-standby"
TreeHugger Robot [Wed, 17 Jan 2018 23:07:41 +0000 (23:07 +0000)]
Merge "Use "except-idle" whitelist for force-app-standby"

6 years agoMerge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b760295764
yuemingw [Wed, 17 Jan 2018 23:05:16 +0000 (23:05 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b760295764
am: 10f60a740f

Change-Id: I7e00f153a147c906fe853c1f98e492a0c381850a

6 years agoMerge "Added data service interface"
Jack Yu [Wed, 17 Jan 2018 23:04:57 +0000 (23:04 +0000)]
Merge "Added data service interface"
am: 3965e3bbc6

Change-Id: I7543aff2abadb4c6b2556f37cd5e763cb5a8c08c

6 years agoMerge "Integrate IMS Registration API"
Brad Ebinger [Wed, 17 Jan 2018 23:01:03 +0000 (23:01 +0000)]
Merge "Integrate IMS Registration API"
am: 1f00565433

Change-Id: I1bbbdbe612a154c9d13dd5d162e2149d3f94a958

6 years agoMerge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."
yuemingw [Wed, 17 Jan 2018 22:57:50 +0000 (22:57 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."
am: b760295764

Change-Id: Ib7ff0f0854c164eb5044649a63bb113ec473609c

6 years agoMerge "pm: Verify shared-user priv-app install location"
TreeHugger Robot [Wed, 17 Jan 2018 22:47:44 +0000 (22:47 +0000)]
Merge "pm: Verify shared-user priv-app install location"

6 years agoMerge "Add feature flag for suggestions UI v2."
TreeHugger Robot [Wed, 17 Jan 2018 22:45:45 +0000 (22:45 +0000)]
Merge "Add feature flag for suggestions UI v2."

6 years agoMerge "Add APIs to EuiccCardManager and EuiccCardController."
Holly Jiuyu Sun [Wed, 17 Jan 2018 22:26:58 +0000 (22:26 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController."

6 years agoMerge "Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting"
TreeHugger Robot [Wed, 17 Jan 2018 22:15:52 +0000 (22:15 +0000)]
Merge "Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting"

6 years agoMerge "Added data service interface"
Jack Yu [Wed, 17 Jan 2018 22:12:29 +0000 (22:12 +0000)]
Merge "Added data service interface"

6 years agoMerge "Add more logging to Activity Lifecycler."
Bryce Lee [Wed, 17 Jan 2018 22:03:04 +0000 (22:03 +0000)]
Merge "Add more logging to Activity Lifecycler."

6 years agoMerge "Move BackupManagerServiceTest to Robolectric framework"
TreeHugger Robot [Wed, 17 Jan 2018 21:55:29 +0000 (21:55 +0000)]
Merge "Move BackupManagerServiceTest to Robolectric framework"

6 years agoMerge "Switch to SkAndroidCodec::computeSampleSize"
TreeHugger Robot [Wed, 17 Jan 2018 21:54:20 +0000 (21:54 +0000)]
Merge "Switch to SkAndroidCodec::computeSampleSize"

6 years agoMerge "Fix NPE when registering gesture support"
TreeHugger Robot [Wed, 17 Jan 2018 21:52:31 +0000 (21:52 +0000)]
Merge "Fix NPE when registering gesture support"

6 years agoMerge "Add metadata to validate incoming administrator during transfer of ownership."
Antoan Angelov [Wed, 17 Jan 2018 21:32:15 +0000 (21:32 +0000)]
Merge "Add metadata to validate incoming administrator during transfer of ownership."

6 years agoMerge "Add metric for anomaly detection" into oc-mr1-dev am: 9b1211b353 -s ours
jackqdyulei [Wed, 17 Jan 2018 21:29:43 +0000 (21:29 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev am: 9b1211b353  -s ours
am: 839b467183  -s ours

Change-Id: Ibef8518a5a14537971a0d4bbc058e136d54d30af

6 years agoMerge "Add metric for anomaly detection" into oc-mr1-dev
jackqdyulei [Wed, 17 Jan 2018 21:21:57 +0000 (21:21 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev
am: 9b1211b353  -s ours

Change-Id: I1c7830ed2c956ed22682e7d0d03860f5fa7c7886

6 years agoMerge "Merge "new carrier id APIs" am: 3d23b90874 am: 7537309843 am: ea5e2ad900 ...
Android Build Merger (Role) [Wed, 17 Jan 2018 20:58:41 +0000 (20:58 +0000)]
Merge "Merge "new carrier id APIs" am: 3d23b90874 am: 7537309843 am: ea5e2ad900  -s ours"

6 years agoMerge "new carrier id APIs" am: 3d23b90874 am: 7537309843
Chen Xu [Wed, 17 Jan 2018 20:57:31 +0000 (20:57 +0000)]
Merge "new carrier id APIs" am: 3d23b90874 am: 7537309843
am: ea5e2ad900  -s ours

Change-Id: I9c157b38bbf8c942bafdb1467d49091a7c3c7264

6 years agoMerge "Enable new initial-focus behavior for P"
Evan Rosky [Wed, 17 Jan 2018 20:56:24 +0000 (20:56 +0000)]
Merge "Enable new initial-focus behavior for P"

6 years agoMerge "Report more specific error if codec creation fails"
TreeHugger Robot [Wed, 17 Jan 2018 20:53:40 +0000 (20:53 +0000)]
Merge "Report more specific error if codec creation fails"

6 years agoMerge "Update the AID -> UID mapping."
TreeHugger Robot [Wed, 17 Jan 2018 20:53:35 +0000 (20:53 +0000)]
Merge "Update the AID -> UID mapping."

6 years agoMerge "IpSec - API Tweak for removeTransportModeTransform" am: 6725ff729b am: d58b237445
nharold [Wed, 17 Jan 2018 20:50:14 +0000 (20:50 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform" am: 6725ff729b am: d58b237445
am: 723d0f061a

Change-Id: I479c24d9ac5d4b022ec6310395fdb4274cfd5598

6 years agoMerge "new carrier id APIs" am: 3d23b90874
Chen Xu [Wed, 17 Jan 2018 20:49:04 +0000 (20:49 +0000)]
Merge "new carrier id APIs" am: 3d23b90874
am: 7537309843

Change-Id: I8b64968ddb59304543eee89eb1e2dcb4d66517e3

6 years agoMerge "IpSec - API Tweak for removeTransportModeTransform" am: 6725ff729b
nharold [Wed, 17 Jan 2018 20:39:29 +0000 (20:39 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform" am: 6725ff729b
am: d58b237445

Change-Id: Id9e9ab09669a53f53f03e5a6e0e4757434c3f3f3

6 years agoMerge "new carrier id APIs"
Chen Xu [Wed, 17 Jan 2018 20:38:27 +0000 (20:38 +0000)]
Merge "new carrier id APIs"
am: 3d23b90874

Change-Id: Ifaa9e4e2f4ec3ef9703c4bf58e8452a9920b350a

6 years agoMerge "Add metric for anomaly detection" into oc-mr1-dev
TreeHugger Robot [Wed, 17 Jan 2018 20:36:06 +0000 (20:36 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev

6 years agoMerge "IpSec - API Tweak for removeTransportModeTransform"
nharold [Wed, 17 Jan 2018 20:31:15 +0000 (20:31 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"
am: 6725ff729b

Change-Id: I0ed7128014bbca8973f84d719449dcf70da45fa2

6 years agoMerge "Integrate IMS Registration API"
Brad Ebinger [Wed, 17 Jan 2018 20:29:54 +0000 (20:29 +0000)]
Merge "Integrate IMS Registration API"

6 years agoMerge "Deprecate android.software.vr.mode"
Craig Donner [Wed, 17 Jan 2018 20:20:51 +0000 (20:20 +0000)]
Merge "Deprecate android.software.vr.mode"

6 years agoMerge "aapt2: Fix issue with Manifest duplicate handling"
TreeHugger Robot [Wed, 17 Jan 2018 20:20:29 +0000 (20:20 +0000)]
Merge "aapt2: Fix issue with Manifest duplicate handling"

6 years agoMerge "Fix flaky schedule tests"
Julia Reynolds [Wed, 17 Jan 2018 20:16:52 +0000 (20:16 +0000)]
Merge "Fix flaky schedule tests"

6 years agoMerge "Use better names for associated classes of RecoveryManager"
TreeHugger Robot [Wed, 17 Jan 2018 20:04:55 +0000 (20:04 +0000)]
Merge "Use better names for associated classes of RecoveryManager"

6 years agoMerge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."
Treehugger Robot [Wed, 17 Jan 2018 19:50:40 +0000 (19:50 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."

6 years agoMerge "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"
TreeHugger Robot [Wed, 17 Jan 2018 19:45:50 +0000 (19:45 +0000)]
Merge "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"

6 years agoSwitch to SkAndroidCodec::computeSampleSize
Leon Scroggins III [Sat, 13 Jan 2018 16:40:42 +0000 (11:40 -0500)]
Switch to SkAndroidCodec::computeSampleSize

Bug: 63909536
Test: CtsGraphicsTestCases(ImageDecoderTest) and Skia

Depends on https://skia-review.googlesource.com/94620 in Skia.

Move the code for determining the actual sample size to Skia.
That code includes tests which caught bugs that are hard to
test for from the Java API. (Previously, we could end up using
the wrong sample size and then scaling unnecessarily.)

Change-Id: Ib3a5d70e4845e95b18af77668383d38746cb21fc

6 years agoMerge "Skip SystemUI check in BluetoothServiceManager if noHome." am: fc3b50e9b6...
Arthur Hsu [Wed, 17 Jan 2018 19:30:01 +0000 (19:30 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome." am: fc3b50e9b6 am: 65d0549fde
am: e27e95e7d5

Change-Id: Ifa668bfd7d1381c2072e21feeaed383e9fbaaa87

6 years agoMerge "Skip SystemUI check in BluetoothServiceManager if noHome." am: fc3b50e9b6
Arthur Hsu [Wed, 17 Jan 2018 19:21:39 +0000 (19:21 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome." am: fc3b50e9b6
am: 65d0549fde

Change-Id: Ia42f33a0d7becd5a4f3f3f81fc077d13863f94ed

6 years agoMerge "Skip SystemUI check in BluetoothServiceManager if noHome."
Arthur Hsu [Wed, 17 Jan 2018 19:15:47 +0000 (19:15 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome."
am: fc3b50e9b6

Change-Id: Icf53fb7a223e64a3f73cea475fb0a522b3f96ece

6 years agoMerge "new carrier id APIs"
Chen Xu [Wed, 17 Jan 2018 19:09:34 +0000 (19:09 +0000)]
Merge "new carrier id APIs"

6 years agoMerge "Add BackupManager#isBackupServiceActive() system API"
TreeHugger Robot [Wed, 17 Jan 2018 19:07:21 +0000 (19:07 +0000)]
Merge "Add BackupManager#isBackupServiceActive() system API"

6 years agoMerge "IpSec - API Tweak for removeTransportModeTransform"
nharold [Wed, 17 Jan 2018 19:07:10 +0000 (19:07 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"

6 years agoUse "except-idle" whitelist for force-app-standby
Makoto Onuki [Tue, 16 Jan 2018 22:15:44 +0000 (14:15 -0800)]
Use "except-idle" whitelist for force-app-standby

Bug: 71911050
Test: Manual test with:
- dumpsys alarm  | grep 'Whitelist appids'
- dumpsys deviceidle except-idle-whitelist +com.android.chrome
- dumpsys deviceidle except-idle-whitelist +com.google.android.dialer
- dumpsys deviceidle except-idle-whitelist reset

Change-Id: I6d5d8c350bad53a22adf247eb82a0e7f0d664c19

6 years agoUpdate the AID -> UID mapping.
Yao Chen [Wed, 17 Jan 2018 18:56:48 +0000 (10:56 -0800)]
Update the AID -> UID mapping.

Test: statsd_test
Change-Id: I43c004b765b0cc221ec2e02c9979890e5d55d570

6 years agoMerge "Add setting/experiment for small battery devices to have all forced app standb...
Nancy Zheng [Wed, 17 Jan 2018 19:00:10 +0000 (19:00 +0000)]
Merge "Add setting/experiment for small battery devices to have all forced app standby enabled except for when the device is charging."

6 years agoMerge changes from topics "SliceDesc", "SliceCleanup"
TreeHugger Robot [Wed, 17 Jan 2018 18:58:27 +0000 (18:58 +0000)]
Merge changes from topics "SliceDesc", "SliceCleanup"

* changes:
  Add SliceManager#getSliceDescendants
  Update slice APIs

6 years agoAdd APIs to EuiccCardManager and EuiccCardController.
Holly Jiuyu Sun [Fri, 22 Dec 2017 02:44:59 +0000 (18:44 -0800)]
Add APIs to EuiccCardManager and EuiccCardController.

Move CancelReason from EuiccCard to EuiccCardManager.
part 2.

Bug: 38206971
Test: test on phone
Change-Id: Iab61be59b7130a5336dffbc965eefefcfa3eccf6

6 years agoMerge "Volume dialog redesign"
Julia Reynolds [Wed, 17 Jan 2018 18:14:58 +0000 (18:14 +0000)]
Merge "Volume dialog redesign"

6 years agoMerge "Ensure a user's SP does't change."
TreeHugger Robot [Wed, 17 Jan 2018 18:08:45 +0000 (18:08 +0000)]
Merge "Ensure a user's SP does't change."

6 years agoCreate Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting
Petr Cermak [Tue, 16 Jan 2018 16:37:22 +0000 (16:37 +0000)]
Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting

This will allow us to toggle and experiment with the feature.

Bug: 67765414
Test: atest SettingsBackupTest
Change-Id: I28d0a817561cb6811966d229e8367adb4eb6d40b

6 years agoFix NPE when registering gesture support
Brad Stenning [Wed, 17 Jan 2018 18:02:21 +0000 (10:02 -0800)]
Fix NPE when registering gesture support

Car implementation does no support gestures thus this installs a null
object pattern version of the gesture plug in.
This is a temp solution while the class hierarchy is being refactored.

Bug: 72094006

Test: deploy and check
Change-Id: I7cbca3d77546d62e3e78d8c73faa8ef5cd8803f0

6 years agoAdded data service interface
Jack Yu [Tue, 28 Nov 2017 01:36:29 +0000 (17:36 -0800)]
Added data service interface

The interface for mobile data service. This is the base class
for vendor or first party data service provider to implement
the data service for cellular or IWLAN data support.

Test: Manual
bug: 64132030
Change-Id: I3e5f48b88905f4533cac60975802d4da3746e7f8

6 years agoMerge "Skip SystemUI check in BluetoothServiceManager if noHome."
Treehugger Robot [Wed, 17 Jan 2018 17:33:41 +0000 (17:33 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome."

6 years agoFollow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4
Philip P. Moltmann [Wed, 17 Jan 2018 17:33:14 +0000 (09:33 -0800)]
Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4

Beside addressing the comments on this change, this adds a check that
the token in end( is correct and prints a message if not. This is useful
when creating new dumping methods.

Test: adb shell dumpsys print
Change-Id: Ic2e6152cbd82f98d9d305a15edffc69c55fd1fd3

6 years agoMerge "Temporary affordance for blocking helper"
TreeHugger Robot [Wed, 17 Jan 2018 17:22:31 +0000 (17:22 +0000)]
Merge "Temporary affordance for blocking helper"

6 years agoMerge "One time permission grant to default noti assistant"
TreeHugger Robot [Wed, 17 Jan 2018 17:15:42 +0000 (17:15 +0000)]
Merge "One time permission grant to default noti assistant"

6 years agonew carrier id APIs
fionaxu [Tue, 28 Nov 2017 06:53:42 +0000 (22:53 -0800)]
new carrier id APIs

1. New telephony APIs to getCurrentCarrierId
and getCurrentCarrierName
2. New broadcast intent to notify carrier id changed

Bug: 64131637
Test: Build
Change-Id: I9a240ba7df313ad701f98bb3982f29c3d5317da8
(cherry picked from commit fff6f59a63304be50e7a251fb4fca38ae0090fc4)
Merged-in: I9a240ba7df313ad701f98bb3982f29c3d5317da8

6 years agoMerge "Switch to write_non_chained interface to avoid allocating temp objects."
TreeHugger Robot [Wed, 17 Jan 2018 16:58:00 +0000 (16:58 +0000)]
Merge "Switch to write_non_chained interface to avoid allocating temp objects."

6 years agoMove BackupManagerServiceTest to Robolectric framework
Annie Meng [Tue, 16 Jan 2018 14:30:59 +0000 (14:30 +0000)]
Move BackupManagerServiceTest to Robolectric framework

Bug: 71988336
Test: m -j ROBOTEST_FILTER=BackupManagerServiceRoboTest RunFrameworksServicesRoboTests
Change-Id: I81c45267ef98b66c05383bfdca9a1b5ab4ccbfbd

6 years agoMerge "Only have one way of dumping print manager state"
TreeHugger Robot [Wed, 17 Jan 2018 16:44:15 +0000 (16:44 +0000)]
Merge "Only have one way of dumping print manager state"

6 years agoAdd more logging to Activity Lifecycler.
Bryce Lee [Tue, 16 Jan 2018 23:59:47 +0000 (15:59 -0800)]
Add more logging to Activity Lifecycler.

This changelist introduces temporary logging targeting an issue
where lifecycle transactions are executing for non-existent client
records. Additional details are retained and exposed in this case
to help better understand what is happening.

Bug: 71506345
Test: manual
Change-Id: Ibfdbbd5ef0c465294709383405403aa0d3508ecb

6 years agoMerge "Add support for secondary text in QS"
TreeHugger Robot [Wed, 17 Jan 2018 16:33:25 +0000 (16:33 +0000)]
Merge "Add support for secondary text in QS"

6 years agoMerge changes from topic "remote_animations"
Jorim Jaggi [Wed, 17 Jan 2018 15:59:52 +0000 (15:59 +0000)]
Merge changes from topic "remote_animations"

* changes:
  Remote animations (app-controlled animations)
  Defer hiding clients until animation is done

6 years agoMerge "Implement SmartReplyView"
TreeHugger Robot [Wed, 17 Jan 2018 15:59:01 +0000 (15:59 +0000)]
Merge "Implement SmartReplyView"

6 years agoMerge "Move event logging to TransportClient and add connection event"
Bernardo Rufino [Wed, 17 Jan 2018 15:39:45 +0000 (15:39 +0000)]
Merge "Move event logging to TransportClient and add connection event"

6 years agoMerge "Dispose of TransportClient in updateStateForTransport()"
TreeHugger Robot [Wed, 17 Jan 2018 15:27:28 +0000 (15:27 +0000)]
Merge "Dispose of TransportClient in updateStateForTransport()"

6 years agopm: Verify shared-user priv-app install location
Jeff Vander Stoep [Fri, 12 Jan 2018 00:09:58 +0000 (16:09 -0800)]
pm: Verify shared-user priv-app install location

Apps that share a UID with a privileged app are privleged and
should live in /system/priv-app. Otherwise, fail
assertPackageIsValid().

On Taimen, this results in two additional apps failing:
com.android.providers.userdictionary
com.android.providers.downloads.ui

Test: Boot Taimen, verify apps are scanned correctly.
Bug: 71593002
Change-Id: I29b4dc8a2fea18248fe1f6aeee87ae3798028c60

6 years agoUse better names for associated classes of RecoveryManager
Robert Berry [Wed, 17 Jan 2018 15:18:05 +0000 (15:18 +0000)]
Use better names for associated classes of RecoveryManager

I will also rename RecoveryManager to RecoveryController -- in a separate CL,
as this one is already becoming too large.

Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I2fb4e1f55fb50d95f15c230783c3d289dd71f7f3

6 years agoMerge "DisplayCutout: Reload displays when resource overlays change"
Adrian Roos [Wed, 17 Jan 2018 15:10:15 +0000 (15:10 +0000)]
Merge "DisplayCutout: Reload displays when resource overlays change"

6 years agoAdd BackupManager#isBackupServiceActive() system API
Michal Karpinski [Tue, 16 Jan 2018 16:14:54 +0000 (16:14 +0000)]
Add BackupManager#isBackupServiceActive() system API

So that GMSCore can find out and disable restore flow
and Backup UI.

Bug: 33339643
Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive (new GTS test in companion CL)
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testBackupServiceEnabling
Change-Id: I62c38dec2395d3aa926566d128b0067ce7d62c26

6 years agoMerge "Make SettingsProvider able to restoreAnyVersion, but only for supported keys"
Michal Karpinski [Wed, 17 Jan 2018 14:54:34 +0000 (14:54 +0000)]
Merge "Make SettingsProvider able to restoreAnyVersion, but only for supported keys"

6 years agoMerge "API Review: Put executor argument before the listener argument for clearApplic...
Alex Chau [Wed, 17 Jan 2018 14:46:03 +0000 (14:46 +0000)]
Merge "API Review: Put executor argument before the listener argument for clearApplicationUserData"

6 years agoReport more specific error if codec creation fails
Leon Scroggins III [Sun, 14 Jan 2018 15:50:45 +0000 (10:50 -0500)]
Report more specific error if codec creation fails

Bug: 71578461
Test: CtsGraphicsTestCases

Switch to SkCodec::MakeFromStream, and use its error code to determine
the Exception/error message. Then pass that to
SkAndroidCodec::MakeFromCodec. This is essentially what happened
previously (minus error reporting).

Change-Id: Iabaa61a4321d2f2e257db587013afda605b005b0

6 years agoAdd metadata to validate incoming administrator during transfer of ownership.
arangelov [Thu, 11 Jan 2018 19:48:14 +0000 (19:48 +0000)]
Add metadata to validate incoming administrator during transfer of ownership.

Bug: 69543092
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedDeviceOwnerHostSideTransferTest#testTransfer
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedDeviceOwnerHostSideTransferTest#testTransferNoMetadata
Change-Id: Iccefb37836d0f88e9d4f692ecf9aba6d3197ad08

6 years agoMerge "Pass targetSdkVersion to installd" am: 106a915256 am: 77ba6baab5
David Brazdil [Wed, 17 Jan 2018 14:26:05 +0000 (14:26 +0000)]
Merge "Pass targetSdkVersion to installd" am: 106a915256 am: 77ba6baab5
am: 4bf5b7c59e

Change-Id: I919eb49c4610477565cd85912e88ec135317a0b3

6 years agoImplement SmartReplyView
Petr Cermak [Mon, 18 Dec 2017 19:38:04 +0000 (19:38 +0000)]
Implement SmartReplyView

SmartReplyView creates and manages smart reply buttons in a
notification.

One-pager:  http://go/1p-smart-reply
PRD:        http://go/srn-prd
Mocks:      http://go/p-notifications
Design doc: http://go/srn-design

Screenshot: https://screenshot.googleplex.com/GT9NGckkFKB.png

Bug: 67765414
Test: Viewed a notification with mock smart replies
Change-Id: I6d90776571a559a2542aa35fa11e6a21969179c0

6 years agoMerge "Pass targetSdkVersion to installd" am: 106a915256
David Brazdil [Wed, 17 Jan 2018 14:17:59 +0000 (14:17 +0000)]
Merge "Pass targetSdkVersion to installd" am: 106a915256
am: 77ba6baab5

Change-Id: Ic0b3323ee46e0bacffd62bd763da15e3256da783

6 years agoRemote animations (app-controlled animations)
Jorim Jaggi [Fri, 1 Dec 2017 13:58:18 +0000 (14:58 +0100)]
Remote animations (app-controlled animations)

Adds the ability for another app to control an entire app
transition. It does so by creating an ActivityOptions object that
contains a RemoteAnimationAdapter object that describes how the
animation should be run: Along of some meta-data, this object
contains a callback that gets invoked from WM when the transition
is ready to be started.

Window manager supplies a list of RemoteAnimationApps into the
callback. Each app contains information about the app as well as
the animation leash. The controlling app can modify the leash like
any other surface, including the possibility to synchronize
updating the leash's surface properties with a frame to be drawn
using the Transaction.deferUntil API.

When the animation is done, the app can invoke the finished
callback to get WM out of the animating state, which will also
clean up any closing apps.

We use a timeout of 2000ms such that a buggy controlling app can
not break window manager forever (duration subject to change).

Test: go/wm-smoke
Test: RemoteAnimationControllerTest

Bug: 64674361
Change-Id: I34e0c9a91b28badebac74896f95c6390f1b947ab

6 years agoMerge "Pass targetSdkVersion to installd"
David Brazdil [Wed, 17 Jan 2018 14:10:54 +0000 (14:10 +0000)]
Merge "Pass targetSdkVersion to installd"
am: 106a915256

Change-Id: If9622d593591a4a270e0bb1a16ed3a0c91d43f43

6 years agoVolume dialog redesign
Julia Reynolds [Wed, 10 Jan 2018 17:53:40 +0000 (12:53 -0500)]
Volume dialog redesign

Bug: 63096355
Test: manual, change volume with buttons and by touching the slider in
each orientation
Change-Id: I949425ca09c98f8826da5e29a2a479a74acdcf34

6 years agoDispose of TransportClient in updateStateForTransport()
Bernardo Rufino [Wed, 17 Jan 2018 11:21:19 +0000 (11:21 +0000)]
Dispose of TransportClient in updateStateForTransport()

Forgot this one :)

Change-Id: I13126b94ad0272c912a3e1c3d2e8ee06692a1897
Ref: http://go/br-binding-on-demand
Bug: 17140907
Test: m -j RunFrameworksServicesRoboTests
Test: adb shell bmgr transport [-c] <transport>, check connections

6 years agoMerge "Pass targetSdkVersion to installd"
David Brazdil [Wed, 17 Jan 2018 13:42:29 +0000 (13:42 +0000)]
Merge "Pass targetSdkVersion to installd"

6 years agoMerge "WindowAttributes: Remove flags2"
TreeHugger Robot [Wed, 17 Jan 2018 13:23:40 +0000 (13:23 +0000)]
Merge "WindowAttributes: Remove flags2"

6 years agoDefer hiding clients until animation is done
Jorim Jaggi [Thu, 11 Jan 2018 14:43:49 +0000 (15:43 +0100)]
Defer hiding clients until animation is done

This is a preparation for remote animations: We used to set app
visibility state immediately after we started the animation.
However, with remote animations, we'd like to allow them drawing
until the transition is done. For that, we defer hiding the client
until the animation is done.

Instead of special-casing remote animations, we do it for all
apps, as there is no harm in doing so.

Test: Open YouTube, make sure it enters Auto-PIP when pressing
home.
Test: go/wm-smoke
Test: Open trace with open/closing a couple of apps. Make sure
app visibility gets dispatched at the correct time.
Test: WindowStateTests

Bug: 64674361
Change-Id: I8deb6a97ca1c3d8f4a70a6e045f45a6bc16604bb

6 years agoMerge "Add smart reply container to all notification templates"
TreeHugger Robot [Wed, 17 Jan 2018 12:31:49 +0000 (12:31 +0000)]
Merge "Add smart reply container to all notification templates"

6 years agoFix API review javadoc issues in TextView/ExtractedText
Clara Bayarri [Thu, 4 Jan 2018 15:30:08 +0000 (15:30 +0000)]
Fix API review javadoc issues in TextView/ExtractedText

Bug: 7155518371555182
Test: none, javadoc
Change-Id: I98d5d53f0cd4873d637b454bbc313b50fe2ca811

6 years agoDisplayCutout: Reload displays when resource overlays change
Adrian Roos [Wed, 17 Jan 2018 11:54:50 +0000 (12:54 +0100)]
DisplayCutout: Reload displays when resource overlays change

This allows the DisplayManager to pick up changes to the
DisplayCutout resource, which is used to implement emulation
of the overlay.

Bug: x
Test: adb shell overlay enable ...; verify cutout is picked up immediately and not only after toggling the display
Change-Id: I0fa2d50366a17231f45990d2d3854321d48653f0

6 years agoAdd URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants.
yuemingw [Tue, 16 Jan 2018 19:48:10 +0000 (19:48 +0000)]
Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants.

Test: manual
Bug: 68208245
Change-Id: I9416526f4a6e014dae66a936d6d1eb60309ef8ab

6 years agoMerge "Also inform activity manager that lock task packages changed"
Benjamin Franz [Wed, 17 Jan 2018 10:47:29 +0000 (10:47 +0000)]
Merge "Also inform activity manager that lock task packages changed"

6 years agoMerge "Prevent Closure of Underlying Socket FDs" am: 3cff120fcb am: 31f05d66ca
nharold [Wed, 17 Jan 2018 10:14:43 +0000 (10:14 +0000)]
Merge "Prevent Closure of Underlying Socket FDs" am: 3cff120fcb am: 31f05d66ca
am: cb1e587253

Change-Id: I3ab796cc17d5ee2e4a2c8838bac2ada4831c755f