OSDN Git Service
Jorim Jaggi [Thu, 18 Jan 2018 00:17:26 +0000 (00:17 +0000)]
Merge "Add ability to register remote animation definitions per activity"
Dake Gu [Thu, 18 Jan 2018 00:14:36 +0000 (00:14 +0000)]
Merge "autofill: support dpad/keyboard"
Andy Hung [Thu, 18 Jan 2018 00:12:12 +0000 (00:12 +0000)]
Merge "Watchdog: add media.metrics" am:
6cb33a1b54 am:
701c4cd1cc
am:
039d914a26
Change-Id: Icd718c2eb9b33382f73309738d65a24bb9f92b0b
Andy Hung [Thu, 18 Jan 2018 00:02:14 +0000 (00:02 +0000)]
Merge "Watchdog: add media.metrics" am:
6cb33a1b54
am:
701c4cd1cc
Change-Id: If5fb8cfe18e7fad089b5aec8e3168dab940826ec
TreeHugger Robot [Wed, 17 Jan 2018 23:55:47 +0000 (23:55 +0000)]
Merge "Customize user switch dialog"
Andy Hung [Wed, 17 Jan 2018 23:55:25 +0000 (23:55 +0000)]
Merge "Watchdog: add media.metrics"
am:
6cb33a1b54
Change-Id: I24992a0a7e4e4a67fba1c5202fc4e741a3952794
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"
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
TreeHugger Robot [Wed, 17 Jan 2018 23:35:50 +0000 (23:35 +0000)]
Merge "Fix API review javadoc issues in TextView/ExtractedText"
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
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
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
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
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
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
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
TreeHugger Robot [Wed, 17 Jan 2018 23:07:41 +0000 (23:07 +0000)]
Merge "Use "except-idle" whitelist for force-app-standby"
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
Jack Yu [Wed, 17 Jan 2018 23:04:57 +0000 (23:04 +0000)]
Merge "Added data service interface"
am:
3965e3bbc6
Change-Id: I7543aff2abadb4c6b2556f37cd5e763cb5a8c08c
Brad Ebinger [Wed, 17 Jan 2018 23:01:03 +0000 (23:01 +0000)]
Merge "Integrate IMS Registration API"
am:
1f00565433
Change-Id: I1bbbdbe612a154c9d13dd5d162e2149d3f94a958
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
TreeHugger Robot [Wed, 17 Jan 2018 22:47:44 +0000 (22:47 +0000)]
Merge "pm: Verify shared-user priv-app install location"
TreeHugger Robot [Wed, 17 Jan 2018 22:45:45 +0000 (22:45 +0000)]
Merge "Add feature flag for suggestions UI v2."
Dake Gu [Wed, 27 Dec 2017 19:48:08 +0000 (11:48 -0800)]
autofill: support dpad/keyboard
To make autofill works on non-touch device such as TV, allow
fill ui window to gain window focus. Fill ui window does not
need IME. When IME and fill ui window are both shown, fill ui
window will intercept keyevent before IME.
Since autofill window will steal window focus from app window,
we no longer uses View.onWindowFocused() for enter/exit event.
Switched to use Activity onResume/onPause. When view
notifyViewEntered or notifyViewExited called when Activity is paused,
it will be ignored. Before Activity goes to pause state,
notifyViewExited() is fired on focus view, after Activity leaves
pause state, notifyViewEntered() is fired on focus view.
In CTS testDatasetAuthTwoFieldsUserCancelsFirstAttempt, the
authentication activity finishes itself in onCreate() which will not
produce onPause/onResume in app activity, but it will produce window
focus loss/gain event. Since we switch from window focus to activity
onResume/onPause, we will be missing a show fill ui when return from
the never shown authentication activity. To solve this problem,
we added special code when receive ActivityResult from authentication
activity where we check if the authenticate activity never causes
onStop event, where we should issue an extra ACTION_VIEW_ENTERED
event to show fill ui.
Test: passed all existing autofilltest CTS on sailfish
atest CtsAutoFillServiceTestCases
Bug:
70181616
Change-Id: Iafe4dca3be8f049fa6dfd34bac13ccb030c583b6
Andy Hung [Wed, 17 Jan 2018 22:33:53 +0000 (22:33 +0000)]
Merge "Watchdog: add media.metrics"
Holly Jiuyu Sun [Wed, 17 Jan 2018 22:26:58 +0000 (22:26 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController."
TreeHugger Robot [Wed, 17 Jan 2018 22:15:52 +0000 (22:15 +0000)]
Merge "Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting"
Jack Yu [Wed, 17 Jan 2018 22:12:29 +0000 (22:12 +0000)]
Merge "Added data service interface"
Bryce Lee [Wed, 17 Jan 2018 22:03:04 +0000 (22:03 +0000)]
Merge "Add more logging to Activity Lifecycler."
TreeHugger Robot [Wed, 17 Jan 2018 21:55:29 +0000 (21:55 +0000)]
Merge "Move BackupManagerServiceTest to Robolectric framework"
TreeHugger Robot [Wed, 17 Jan 2018 21:54:20 +0000 (21:54 +0000)]
Merge "Switch to SkAndroidCodec::computeSampleSize"
TreeHugger Robot [Wed, 17 Jan 2018 21:52:31 +0000 (21:52 +0000)]
Merge "Fix NPE when registering gesture support"
Antoan Angelov [Wed, 17 Jan 2018 21:32:15 +0000 (21:32 +0000)]
Merge "Add metadata to validate incoming administrator during transfer of ownership."
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
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
Jorim Jaggi [Tue, 16 Jan 2018 13:17:59 +0000 (14:17 +0100)]
Add ability to register remote animation definitions per activity
This introduces a more stable way of setting a remote animation
than using overridePendingTransition: An activity can register
a set of remote animations which is broke down by transition type.
Whenever the activity is involved into such a transition, the
remote animation will be started.
Remote animations take precedence over regular animations, and
prefixOrderIndex in the hierarchy decides precedence within
multiple apps that set remote animation definitions such that
higher apps override lower apps.
Bug:
64674361
Test: go/wm-smoke
Test: Use with launcher
Change-Id: Id300ff62d9f60966ea2609168f6a02860b3de7af
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"
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
Evan Rosky [Wed, 17 Jan 2018 20:56:24 +0000 (20:56 +0000)]
Merge "Enable new initial-focus behavior for P"
TreeHugger Robot [Wed, 17 Jan 2018 20:53:40 +0000 (20:53 +0000)]
Merge "Report more specific error if codec creation fails"
TreeHugger Robot [Wed, 17 Jan 2018 20:53:35 +0000 (20:53 +0000)]
Merge "Update the AID -> UID mapping."
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
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
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
Chen Xu [Wed, 17 Jan 2018 20:38:27 +0000 (20:38 +0000)]
Merge "new carrier id APIs"
am:
3d23b90874
Change-Id: Ifaa9e4e2f4ec3ef9703c4bf58e8452a9920b350a
TreeHugger Robot [Wed, 17 Jan 2018 20:36:06 +0000 (20:36 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev
nharold [Wed, 17 Jan 2018 20:31:15 +0000 (20:31 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"
am:
6725ff729b
Change-Id: I0ed7128014bbca8973f84d719449dcf70da45fa2
Brad Ebinger [Wed, 17 Jan 2018 20:29:54 +0000 (20:29 +0000)]
Merge "Integrate IMS Registration API"
Craig Donner [Wed, 17 Jan 2018 20:20:51 +0000 (20:20 +0000)]
Merge "Deprecate android.software.vr.mode"
TreeHugger Robot [Wed, 17 Jan 2018 20:20:29 +0000 (20:20 +0000)]
Merge "aapt2: Fix issue with Manifest duplicate handling"
Julia Reynolds [Wed, 17 Jan 2018 20:16:52 +0000 (20:16 +0000)]
Merge "Fix flaky schedule tests"
TreeHugger Robot [Wed, 17 Jan 2018 20:04:55 +0000 (20:04 +0000)]
Merge "Use better names for associated classes of RecoveryManager"
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."
TreeHugger Robot [Wed, 17 Jan 2018 19:45:50 +0000 (19:45 +0000)]
Merge "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"
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
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
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
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
Chen Xu [Wed, 17 Jan 2018 19:09:34 +0000 (19:09 +0000)]
Merge "new carrier id APIs"
TreeHugger Robot [Wed, 17 Jan 2018 19:07:21 +0000 (19:07 +0000)]
Merge "Add BackupManager#isBackupServiceActive() system API"
nharold [Wed, 17 Jan 2018 19:07:10 +0000 (19:07 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"
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
Yao Chen [Wed, 17 Jan 2018 18:56:48 +0000 (10:56 -0800)]
Update the AID -> UID mapping.
Test: statsd_test
Change-Id: I43c004b765b0cc221ec2e02c9979890e5d55d570
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."
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
Alex Chau [Thu, 11 Jan 2018 15:10:12 +0000 (15:10 +0000)]
Customize user switch dialog
- Introduced DevicePolicyManager to set messaging for switching out of and into user 0
- Introduced coressponeding API to get the message
Bug:
71787514
Test: Set start and end session message with TestDPC, change is reflected
Test: Restart the device, switch message is still enforced
Test: Clear the message with TestDPC, reverted back to default
Change-Id: I527eca6f151cee35459abad7ae9dcdeef486148f
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
Julia Reynolds [Wed, 17 Jan 2018 18:14:58 +0000 (18:14 +0000)]
Merge "Volume dialog redesign"
TreeHugger Robot [Wed, 17 Jan 2018 18:08:45 +0000 (18:08 +0000)]
Merge "Ensure a user's SP does't change."
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
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
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
Treehugger Robot [Wed, 17 Jan 2018 17:33:41 +0000 (17:33 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome."
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
TreeHugger Robot [Wed, 17 Jan 2018 17:22:31 +0000 (17:22 +0000)]
Merge "Temporary affordance for blocking helper"
TreeHugger Robot [Wed, 17 Jan 2018 17:15:42 +0000 (17:15 +0000)]
Merge "One time permission grant to default noti assistant"
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
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."
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
TreeHugger Robot [Wed, 17 Jan 2018 16:44:15 +0000 (16:44 +0000)]
Merge "Only have one way of dumping print manager state"
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
TreeHugger Robot [Wed, 17 Jan 2018 16:33:25 +0000 (16:33 +0000)]
Merge "Add support for secondary text in QS"
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
TreeHugger Robot [Wed, 17 Jan 2018 15:59:01 +0000 (15:59 +0000)]
Merge "Implement SmartReplyView"
Bernardo Rufino [Wed, 17 Jan 2018 15:39:45 +0000 (15:39 +0000)]
Merge "Move event logging to TransportClient and add connection event"
TreeHugger Robot [Wed, 17 Jan 2018 15:27:28 +0000 (15:27 +0000)]
Merge "Dispose of TransportClient in updateStateForTransport()"
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
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
Adrian Roos [Wed, 17 Jan 2018 15:10:15 +0000 (15:10 +0000)]
Merge "DisplayCutout: Reload displays when resource overlays change"
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
Michal Karpinski [Wed, 17 Jan 2018 14:54:34 +0000 (14:54 +0000)]
Merge "Make SettingsProvider able to restoreAnyVersion, but only for supported keys"
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"
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
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
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
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
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
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
David Brazdil [Wed, 17 Jan 2018 14:10:54 +0000 (14:10 +0000)]
Merge "Pass targetSdkVersion to installd"
am:
106a915256
Change-Id: If9622d593591a4a270e0bb1a16ed3a0c91d43f43
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