OSDN Git Service

android-x86/frameworks-base.git
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 "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 "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"
TreeHugger Robot [Wed, 17 Jan 2018 19:45:50 +0000 (19:45 +0000)]
Merge "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"

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 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 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 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 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 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 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 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 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

6 years agoMerge changes from topic "ipsec-oneway-transform" am: 809bcfc45e am: f2074ea62a
nharold [Wed, 17 Jan 2018 10:07:33 +0000 (10:07 +0000)]
Merge changes from topic "ipsec-oneway-transform" am: 809bcfc45e am: f2074ea62a
am: c6021f02b5

Change-Id: I2a90cf423a3ac9a0526831ef767ad019e7be053c

6 years agoMake Transforms Unidirectional am: a25233123b am: f4fc2714c2
Nathan Harold [Wed, 17 Jan 2018 10:03:31 +0000 (10:03 +0000)]
Make Transforms Unidirectional am: a25233123b am: f4fc2714c2
am: 02f8dcad8a

Change-Id: I608be255a307891ec3fe2d97cda817d75240c95c

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

Change-Id: I1ecac95dc1c4be573d5411a335f94c6a6511d4bd

6 years agoMerge changes from topic "ipsec-oneway-transform" am: 809bcfc45e
nharold [Wed, 17 Jan 2018 09:53:37 +0000 (09:53 +0000)]
Merge changes from topic "ipsec-oneway-transform" am: 809bcfc45e
am: f2074ea62a

Change-Id: I58fe595ff14e3ee6be5191171367e8a2f7fad6da

6 years agoMake Transforms Unidirectional am: a25233123b
Nathan Harold [Wed, 17 Jan 2018 09:50:37 +0000 (09:50 +0000)]
Make Transforms Unidirectional am: a25233123b
am: f4fc2714c2

Change-Id: Ie3ca37e14d977fd255a7791ae3332ddda29ab37e

6 years agoMerge "Prevent Closure of Underlying Socket FDs"
nharold [Wed, 17 Jan 2018 09:47:49 +0000 (09:47 +0000)]
Merge "Prevent Closure of Underlying Socket FDs"
am: 3cff120fcb

Change-Id: I2f8e445f9a12e95cf8d81d63e02fad7ecc17ad36

6 years agoMerge changes from topic "ipsec-oneway-transform"
nharold [Wed, 17 Jan 2018 09:42:03 +0000 (09:42 +0000)]
Merge changes from topic "ipsec-oneway-transform"
am: 809bcfc45e

Change-Id: If98285e2bd41e2eedaf81f1ff0e5f2b2d3827f91

6 years agoMake Transforms Unidirectional
Nathan Harold [Wed, 17 Jan 2018 09:37:57 +0000 (09:37 +0000)]
Make Transforms Unidirectional
am: a25233123b

Change-Id: I7e80c75b3b227fdd16479120d8b7203cc5f28d1c

6 years agoMerge "Disable UpdateService temporarily."
TreeHugger Robot [Wed, 17 Jan 2018 09:29:50 +0000 (09:29 +0000)]
Merge "Disable UpdateService temporarily."

6 years agoIpSec - API Tweak for removeTransportModeTransform
Nathan Harold [Wed, 17 Jan 2018 09:00:20 +0000 (01:00 -0800)]
IpSec - API Tweak for removeTransportModeTransform

Because IpSecTransforms are now unidirectional,
and because the only mechanism for removing Transforms
removes it from both directions, the API can no longer
use the Transform parameter to meaningfully validate
that the caller had applied a transform. Since that
functionality was as-yet unimplemented and is now
infeasible, the transform parameter is removed.

Bug: 72079356
Test: cts - IpSecManagerTest; runtest frameworks-net
Change-Id: If19b0d34bdc6daf31a40d6d62bff326dcbca08c0

6 years agoMerge "Send library context to ApiFactory"
TreeHugger Robot [Wed, 17 Jan 2018 09:08:30 +0000 (09:08 +0000)]
Merge "Send library context to ApiFactory"

6 years agoMerge "Prevent Closure of Underlying Socket FDs"
nharold [Wed, 17 Jan 2018 08:45:29 +0000 (08:45 +0000)]
Merge "Prevent Closure of Underlying Socket FDs"

6 years agoAdd smart reply container to all notification templates
Petr Cermak [Mon, 18 Dec 2017 14:13:33 +0000 (14:13 +0000)]
Add smart reply container to all notification templates

This is the first step towards adding smart replies to Android
notifications:

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

This patch adds a smart_reply_container LinearLayout to all notification
templates. The container is gone by default, so all notifications should
still look the same.

Bug: 67765414
Test: View several notifications and confirm that they look the same
Change-Id: I28d3d078e3b88f6340713e7457744d8f367a567e

6 years agoMerge changes from topic "ipsec-oneway-transform"
nharold [Wed, 17 Jan 2018 08:40:37 +0000 (08:40 +0000)]
Merge changes from topic "ipsec-oneway-transform"

* changes:
  Update IpSecService UnitTests
  Make Transforms Unidirectional

6 years agoMerge "Update threshold state used for deciding if the app is in foreground."
Sudheer Shanka [Wed, 17 Jan 2018 08:04:21 +0000 (08:04 +0000)]
Merge "Update threshold state used for deciding if the app is in foreground."

6 years agoSend library context to ApiFactory
Sungsoo Lim [Wed, 17 Jan 2018 07:26:32 +0000 (16:26 +0900)]
Send library context to ApiFactory

Test: build
Change-Id: I2bfc5ca5cace1a82c5502391b777dd544acdcf69

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a am: 03dafac495
nharold [Wed, 17 Jan 2018 07:07:54 +0000 (07:07 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a am: 03dafac495
am: 48306e0a06

Change-Id: I6c73af383295d0c53e2b3451d61cfccb1ba2a441

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a
nharold [Wed, 17 Jan 2018 06:59:39 +0000 (06:59 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a
am: 03dafac495

Change-Id: I3c0e13153a347e6ef79cfee9f00a6ee6694425d9

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING"
nharold [Wed, 17 Jan 2018 06:51:38 +0000 (06:51 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING"
am: fa6187510a

Change-Id: I50fe5f4ea30b6923e7ca5c0fe3eb62fa9db3dabf

6 years agoMerge "Additional behavior for a11y panes"
Phil Weaver [Wed, 17 Jan 2018 05:44:16 +0000 (05:44 +0000)]
Merge "Additional behavior for a11y panes"

6 years agoMerge "Clear the right uid's alarms, please"
TreeHugger Robot [Wed, 17 Jan 2018 05:34:39 +0000 (05:34 +0000)]
Merge "Clear the right uid's alarms, please"

6 years agoPrevent Closure of Underlying Socket FDs
Nathan Harold [Tue, 16 Jan 2018 20:08:43 +0000 (12:08 -0800)]
Prevent Closure of Underlying Socket FDs

The version of applyTransportModeTransform() and
removeTransportModeTransform() that accepted
Socket and DatagramSocket were closing the underlying
FDs upon return. It's unclear whether this is due to
a behavior change elsewhere in ParcelFileDescriptor,
but either way, converting to using getFileDescriptor$
and then calling dup() explicitly rather than relying
on ParcelFileDescriptor seems like a better idea anyway.

Bug: 72047396
Test: CTS - IpSecManagerTest.testCreateTransform()
Change-Id: Ia2f02564e1289f25bf113dbb861fcfd2240537a7

6 years agoMerge "Adds old API to StatsManager (temporary need)."
TreeHugger Robot [Wed, 17 Jan 2018 04:15:26 +0000 (04:15 +0000)]
Merge "Adds old API to StatsManager (temporary need)."

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING"
nharold [Wed, 17 Jan 2018 03:39:44 +0000 (03:39 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING"

6 years agoUpdate IpSecService UnitTests
Nathan Harold [Wed, 17 Jan 2018 03:34:01 +0000 (19:34 -0800)]
Update IpSecService UnitTests

The IpSecService Unit tests relied on the
directionality of the IpSecConfig and previously
did not specify a source address. Unit tests
updated without functional change other than to
address these two requirements.

Bug: 71717213
Test: runtest frameworks-net
Change-Id: Iedbed735bc50fd4fdfe985f9e173956062a7b0d1

6 years agoMerge "Add battery to AOD"
Lucas Dupin [Wed, 17 Jan 2018 03:36:26 +0000 (03:36 +0000)]
Merge "Add battery to AOD"

6 years agoAdds old API to StatsManager (temporary need).
David Chen [Wed, 17 Jan 2018 00:38:42 +0000 (16:38 -0800)]
Adds old API to StatsManager (temporary need).

We changed the API to use long-based config keys instead of strings,
but we have some code that depends on the old API. Let's add them
back temporarily. The old API (that does nothing now) will be
deleted next month.

Test: N/A. Just to prevent build failures.
Bug: 69522276
Change-Id: Ibc51622371d4f3ced3e9b2f66a862dea1ac1c63c

6 years agoMerge "Fix NPE occured when null ClipData is passed to startDrag."
TreeHugger Robot [Wed, 17 Jan 2018 02:26:23 +0000 (02:26 +0000)]
Merge "Fix NPE occured when null ClipData is passed to startDrag."

6 years agoMerge "Make autorotate off by default for new installs and upgrades"
Mike Digman [Wed, 17 Jan 2018 02:20:13 +0000 (02:20 +0000)]
Merge "Make autorotate off by default for new installs and upgrades"

6 years agoMerge "Make rotate locked suggestions on by default"
Mike Digman [Wed, 17 Jan 2018 02:19:51 +0000 (02:19 +0000)]
Merge "Make rotate locked suggestions on by default"

6 years agoDisable UpdateService temporarily.
Dongwon Kang [Wed, 17 Jan 2018 02:14:37 +0000 (18:14 -0800)]
Disable UpdateService temporarily.

Test: build & boots without untracked SELinux denials
Bug: 72066295
Change-Id: Id4564e849e74b2cdd6b935bec2b4db29f8ccd778

6 years agoMerge "Merge "Handle onBindingDied in notification manager" am: a13201a99b am: d69921...
Android Build Merger (Role) [Wed, 17 Jan 2018 02:09:41 +0000 (02:09 +0000)]
Merge "Merge "Handle onBindingDied in notification manager" am: a13201a99b am: d69921cc9a am: a92bcc33b2"

6 years agoMerge "Handle onBindingDied in notification manager" am: a13201a99b am: d69921cc9a
Ryan Lothian [Wed, 17 Jan 2018 02:09:09 +0000 (02:09 +0000)]
Merge "Handle onBindingDied in notification manager" am: a13201a99b am: d69921cc9a
am: a92bcc33b2

Change-Id: Id42d66b241ad932c3784b5e7e53a46eb60c7573c

6 years agoMerge "Skeleton for updatable VideoView2"
TreeHugger Robot [Wed, 17 Jan 2018 02:08:29 +0000 (02:08 +0000)]
Merge "Skeleton for updatable VideoView2"

6 years agoMerge "Use LocalService to access UserManagerServcie from DragState."
TreeHugger Robot [Wed, 17 Jan 2018 02:05:20 +0000 (02:05 +0000)]
Merge "Use LocalService to access UserManagerServcie from DragState."

6 years agoMerge "Handle onBindingDied in notification manager" am: a13201a99b
Ryan Lothian [Wed, 17 Jan 2018 01:59:09 +0000 (01:59 +0000)]
Merge "Handle onBindingDied in notification manager" am: a13201a99b
am: d69921cc9a

Change-Id: I91f5642cb8f2d740e8acbbb739fc42f6a2f1bc63

6 years agoMerge "Orientation Listener looks for the "right" Device Orientation Sensor."
Ashutosh Joshi [Wed, 17 Jan 2018 01:55:53 +0000 (01:55 +0000)]
Merge "Orientation Listener looks for the "right" Device Orientation Sensor."