OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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."

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

Change-Id: I01d3d65fcc6032d5de17f84cdc8eb5119aaeeadf

6 years agoClear the right uid's alarms, please
Christopher Tate [Wed, 17 Jan 2018 01:45:44 +0000 (17:45 -0800)]
Clear the right uid's alarms, please

When we clear data for an app, we need to cancel the alarms for
that app's uid -- not the *calling* uid, which could be something
like the Settings app's, i.e. the system uid.  That's bad.

Bug: 72059961
Bug: 70670726
Test: manual
Change-Id: Ib6833ce2672bc6dfab6a4be6014a0301611576e2

6 years agoMerge "Fix flaky tests caused by WeakReference"
TreeHugger Robot [Wed, 17 Jan 2018 01:33:39 +0000 (01:33 +0000)]
Merge "Fix flaky tests caused by WeakReference"

6 years agoMerge "Add a statsd proto static lib for cts and others."
TreeHugger Robot [Wed, 17 Jan 2018 01:31:29 +0000 (01:31 +0000)]
Merge "Add a statsd proto static lib for cts and others."

6 years agoAdd battery to AOD
Lucas Dupin [Sun, 14 Jan 2018 06:00:35 +0000 (22:00 -0800)]
Add battery to AOD

Showing battery percentage in AOD in the keyguard
indication area when also randomizing the text field
position to avoid burn-in.

Removed charging indication from KeyguardStatusView
since now it's always visible in the indication area.

Bug: 64155983
Test: flash taimen, look at AOD
Test: flash walleye, look at AOD
Test: unplug device, look at message
Test: wait for change in battery level in AOD
Change-Id: I6110d47d155e95e838cb901ab0928f0512454ab5

6 years agoTurn off airplane mode when DISALLOW_AIRPLANE_MODE is set.
yuemingw [Thu, 11 Jan 2018 18:31:14 +0000 (18:31 +0000)]
Turn off airplane mode when DISALLOW_AIRPLANE_MODE is set.

Test: run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testAirplaneModeRestriction
Bug: 67675441

Change-Id: I94b6c985fe76cc9601ac6a481beca17966102109

6 years agoMerge "Add debug logs"
TreeHugger Robot [Wed, 17 Jan 2018 01:06:29 +0000 (01:06 +0000)]
Merge "Add debug logs"

6 years agoUpdate threshold state used for deciding if the app is in foreground.
Sudheer Shanka [Thu, 11 Jan 2018 20:05:08 +0000 (12:05 -0800)]
Update threshold state used for deciding if the app is in foreground.

This is needed because fg service and bound fg service states are
swapped.

Bug: 70808931
Bug: 71758358
Bug: 71864947
Test: atest com.android.server.am.ActivityManagerServiceTest
Test: cts-tradefed run singleCommand cts-dev -m CtsHostsideNetworkTests -t \
      com.android.cts.net.HostsideRestrictBackgroundNetworkTests

Change-Id: I961b6c048d6d40580ca77603d05197d7294eca9d

6 years agoMerge "Add DISALLOW_CONFIG_SCREEN_TIMEOUT."
TreeHugger Robot [Wed, 17 Jan 2018 00:22:08 +0000 (00:22 +0000)]
Merge "Add DISALLOW_CONFIG_SCREEN_TIMEOUT."

6 years agoMerge "Remove search_v2 flag"
TreeHugger Robot [Wed, 17 Jan 2018 00:04:50 +0000 (00:04 +0000)]
Merge "Remove search_v2 flag"

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Wed, 17 Jan 2018 00:00:44 +0000 (00:00 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a am: 9b90490d1d am: 17ef28c5e2
am: 419f038258  -s ours

Change-Id: Iadeea4d192012c6c683d704c310b0e573543757d

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:54:53 +0000 (23:54 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a am: 9b90490d1d
am: 17ef28c5e2

Change-Id: I7e2e495eb815655db3ea365e44d069dfb6227a5a

6 years agoMerge "Make QS rounding match notifications"
TreeHugger Robot [Tue, 16 Jan 2018 23:48:52 +0000 (23:48 +0000)]
Merge "Make QS rounding match notifications"

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:42:30 +0000 (23:42 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a am: 9b90490d1d

Change-Id: If121edaf0d2edac5688ff2aa4ed48da1d5e1c1c7

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:42:24 +0000 (23:42 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a

Change-Id: Ie180da5d659b106e1c5299b0a46b6cbf24548ae0

6 years agoRESTRICT AUTOMERGE Preventing recursive referrence in drawables
Sunny Goyal [Wed, 1 Nov 2017 18:58:13 +0000 (11:58 -0700)]
RESTRICT AUTOMERGE Preventing recursive referrence in drawables

Bug: 68706673
Bug: 66498711
Test: Added CTS tests

Change-Id: I8034f49d16f9a7bc1749714fd6d6231bba5088d0
(cherry picked from commit I8034f49d16f9a7bc1749714fd6d6231bba5088d0)
Merged-In: I8034f49d16f9a7bc1749714fd6d6231bba5088d0

6 years agoMerge "Handle onBindingDied in notification manager"
Ryan Lothian [Tue, 16 Jan 2018 23:31:41 +0000 (23:31 +0000)]
Merge "Handle onBindingDied in notification manager"

6 years agoHandle onBindingDied in notification manager
Ryan Lothian [Mon, 4 Dec 2017 16:56:58 +0000 (11:56 -0500)]
Handle onBindingDied in notification manager

On Android, if the process containing the service being bound to
crashes before the bind succeeds, the app doing the binding won't
get a success or failure callback.

When that happens in this code, this leaves notif. manager thinking
that a binding is in progress, so it never attempts to rebind until
the device is rebooted.

Bug: 69064494
Test: original CL was manually tested --
      crashed listener on proc start, verified not unbound forever
Change-Id: Id2082744208e21a709d9453365f282449a2e9407
(cherry picked from commit 4a86a51b672617b02994fc812e4f96342daf424e)

6 years agoMerge "Regenerate system api due to setSimPower api additions Bug: 72039360 Test...
Grace Chen [Tue, 16 Jan 2018 23:04:42 +0000 (23:04 +0000)]
Merge "Regenerate system api due to setSimPower api additions Bug: 72039360 Test: None - simple alphabetical reordering of file"

6 years agoMerge "Log sync stop (== onStopJob) reason in the sync log."
Makoto Onuki [Tue, 16 Jan 2018 23:04:15 +0000 (23:04 +0000)]
Merge "Log sync stop (== onStopJob) reason in the sync log."

6 years agoMerge "Fix a couple PIP related issues."
TreeHugger Robot [Tue, 16 Jan 2018 22:55:17 +0000 (22:55 +0000)]
Merge "Fix a couple PIP related issues."

6 years agoMake autorotate off by default for new installs and upgrades
Mike Digman [Tue, 16 Jan 2018 22:49:38 +0000 (14:49 -0800)]
Make autorotate off by default for new installs and upgrades

For dogfood testing to monitor usage of new rotate locked mode

Test: manual

Change-Id: I4678a31b4ee8b8ff7f282b453843cae8fb2df7dc

6 years agoMerge "Add MediaUpdateService in SystemServer"
TreeHugger Robot [Tue, 16 Jan 2018 22:46:25 +0000 (22:46 +0000)]
Merge "Add MediaUpdateService in SystemServer"

6 years agoFix flaky tests caused by WeakReference
Fan Zhang [Tue, 16 Jan 2018 22:31:51 +0000 (14:31 -0800)]
Fix flaky tests caused by WeakReference

Change-Id: I287195a37aeb0ff781420c2839ffff0391942f76
Fixes: 71867776
Test: robotest

6 years agoMerge "Revert "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)""
Makoto Onuki [Tue, 16 Jan 2018 22:25:51 +0000 (22:25 +0000)]
Merge "Revert "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)""

6 years agoMake QS rounding match notifications
Jason Monk [Mon, 15 Jan 2018 20:24:09 +0000 (15:24 -0500)]
Make QS rounding match notifications

Test: visual
Bug: 70799006
Change-Id: Iae9bba222e7d34c520df2b673e6d346a44ebcc0e

6 years agoMerge "Merge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a am...
Android Build Merger (Role) [Tue, 16 Jan 2018 22:01:15 +0000 (22:01 +0000)]
Merge "Merge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a am: b327eb682e am: f74c76e2df  -s ours"

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a am: b327eb682e
Ivan Lozano [Tue, 16 Jan 2018 22:00:55 +0000 (22:00 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a am: b327eb682e
am: f74c76e2df  -s ours

Change-Id: I3fe3873a2f05db3ab0e916c90ceb1e280bcd0409

6 years agoMerge "Beginning implementation of quickscrub (1/3)"
TreeHugger Robot [Tue, 16 Jan 2018 21:59:43 +0000 (21:59 +0000)]
Merge "Beginning implementation of quickscrub (1/3)"

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a
Ivan Lozano [Tue, 16 Jan 2018 21:49:36 +0000 (21:49 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a
am: b327eb682e

Change-Id: I109a08b8ae94cbeca28044f2c64c885a586f680a

6 years agoMerge "New management API for making backups mandatory."
TreeHugger Robot [Tue, 16 Jan 2018 21:45:18 +0000 (21:45 +0000)]
Merge "New management API for making backups mandatory."

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds."
Ivan Lozano [Tue, 16 Jan 2018 21:42:07 +0000 (21:42 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds."
am: 05284b6c6a

Change-Id: I5822b920fe1dec72f0f49af35256bfbf6d9474fa

6 years agoMerge "Workaround a bug that causes multiple activity instances are created"
TreeHugger Robot [Tue, 16 Jan 2018 21:30:21 +0000 (21:30 +0000)]
Merge "Workaround a bug that causes multiple activity instances are created"

6 years agoMerge "Bring back the QS circles"
Jason Monk [Tue, 16 Jan 2018 21:27:28 +0000 (21:27 +0000)]
Merge "Bring back the QS circles"

6 years agoNew management API for making backups mandatory.
Lenka Trochtova [Wed, 20 Dec 2017 13:45:16 +0000 (14:45 +0100)]
New management API for making backups mandatory.

Let the device owner make backups with a chosen backup
transport mandatory.

BUG: 64012357
Test: make RunFrameworksServicesRoboTests
Test: manually together with the corresponding GmsCore change.
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTest#testGetAndSetMandatoryBackupTransport
Test: cts-tradefed run cts -m CtsBackupHostTestCase --test
android.cts.backup.BackupDeviceOwnerHostSideTest#testMandatoryBackupTransport

Change-Id: I9bfae5799beae3459659e697813b75a9b508ae55

6 years agoRemove search_v2 flag
Fan Zhang [Tue, 16 Jan 2018 21:01:35 +0000 (13:01 -0800)]
Remove search_v2 flag

Change-Id: I606111f510d2d44276aac2e71fdc5e87b0e2babe
Fixes: 69851037
Test: rebuild

6 years agoMerge "Do not pause initializing activities when becoming visible."
TreeHugger Robot [Tue, 16 Jan 2018 21:15:28 +0000 (21:15 +0000)]
Merge "Do not pause initializing activities when becoming visible."

6 years agoMerge "New Face Match icon"
TreeHugger Robot [Tue, 16 Jan 2018 21:11:26 +0000 (21:11 +0000)]
Merge "New Face Match icon"

6 years agoFix issue where SmartSpace color could be wrong in AOD
Lucas Dupin [Sat, 13 Jan 2018 01:45:51 +0000 (17:45 -0800)]
Fix issue where SmartSpace color could be wrong in AOD

Test: visual
Fixes: 71599239
Change-Id: I5f4b8af78ae2034f4f8ebfbc42ffea5694c6a425

6 years agoMerge "Address IMSI privacy issues."
Pankaj Kanwar [Tue, 16 Jan 2018 20:57:07 +0000 (20:57 +0000)]
Merge "Address IMSI privacy issues."

6 years agoLog sync stop (== onStopJob) reason in the sync log.
Makoto Onuki [Fri, 12 Jan 2018 21:58:01 +0000 (13:58 -0800)]
Log sync stop (== onStopJob) reason in the sync log.

Bug: 71866667
Test: Manual test

Change-Id: I89e492362759fe6318102b61a28818b642f5bc2f

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds."
Ivan Lozano [Tue, 16 Jan 2018 20:27:36 +0000 (20:27 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds."

6 years agoRevert "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"
Makoto Onuki [Tue, 16 Jan 2018 20:22:07 +0000 (12:22 -0800)]
Revert "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"

This reverts commit 965419af5da6900141d66fbccfe96928603aed6c.

Bug: 71707409
Test: Manual test

Change-Id: I4f1c46183189b454bc981a65b992b80668f7a59a

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be...
Andreas Gampe [Tue, 16 Jan 2018 20:08:30 +0000 (20:08 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be am: 9f1f950c31
am: 9853a65386

Change-Id: I064033ab86013dd80efa3cb4eb22b89ac143e7b6

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be
Andreas Gampe [Tue, 16 Jan 2018 19:59:02 +0000 (19:59 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be
am: 9f1f950c31

Change-Id: I0df113aff5a54c5a1dbc5f968679bb9d4f8ea158

6 years agoMerge "DisplayCutout: LayoutInDisplayCutoutMode API"
TreeHugger Robot [Tue, 16 Jan 2018 19:58:17 +0000 (19:58 +0000)]
Merge "DisplayCutout: LayoutInDisplayCutoutMode API"

6 years agoMerge "Don't show album art on AOD"
TreeHugger Robot [Tue, 16 Jan 2018 19:56:42 +0000 (19:56 +0000)]
Merge "Don't show album art on AOD"

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader"
Andreas Gampe [Tue, 16 Jan 2018 19:46:36 +0000 (19:46 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader"
am: f779d7e3be

Change-Id: Id5ae3b90ca4b75046419fb1a6c02ef556d225f77

6 years agoFix a couple PIP related issues.
Winson Chung [Sat, 13 Jan 2018 22:27:50 +0000 (14:27 -0800)]
Fix a couple PIP related issues.

- Only show settings button when in the full PIP menu (71709327)
- Fix issue with PIP not moving with keyboard due to new callback order
  (71584422)
- Make home button consistent with recents button when in an activity
  over the lockscreen (64137485).  When you tap home, it will now prompt
  you to unlock before going home (and auto-entering PIP if the app
  supports it)

Bug: 71709327
Bug: 71584422
Bug: 64137485

Test: Manual, ensure that pip shifts with keyboard and verify that it
      launches into PIP from show-over-lockscreen activity

Change-Id: I9122b7e20a5bfe82b32c8b576bd4fa11b5659c31

6 years agoNew Face Match icon
Lucas Dupin [Tue, 16 Jan 2018 19:24:46 +0000 (11:24 -0800)]
New Face Match icon

Change-Id: Iac256cdd7b4a5f9f7f04365400381f892933eff4
Fixes: 72046152
Test: visual, unlock using Face Match

6 years agoMerge "[Magnifier - 14] Follow finger instead of cursor"
TreeHugger Robot [Tue, 16 Jan 2018 19:22:36 +0000 (19:22 +0000)]
Merge "[Magnifier - 14] Follow finger instead of cursor"

6 years agoMake rotate locked suggestions on by default
Mike Digman [Tue, 16 Jan 2018 19:21:23 +0000 (11:21 -0800)]
Make rotate locked suggestions on by default

Rotate power has been unblocked in ag/3455519.

Test: manual

6 years agoMerge "Created hidden constants and metrics for ScopedAccessProvider."
TreeHugger Robot [Tue, 16 Jan 2018 19:14:58 +0000 (19:14 +0000)]
Merge "Created hidden constants and metrics for ScopedAccessProvider."

6 years agoDo not pause initializing activities when becoming visible.
Bryce Lee [Tue, 16 Jan 2018 19:13:30 +0000 (11:13 -0800)]
Do not pause initializing activities when becoming visible.

makeVisibleIfNeeded was recently modified to ensure activities
becoming visible were not left in the stopped state. However, the
condition was based on simply not being in the paused state, rather
than requiring it be in the stopped/stopping state. This can lead
to lifecycle issues for moving an initializing activity into the
paused state.

This changelist ensures that only stopped/stopping activities are
considered.

Change-Id: I17fc6310db6ee111d1db8f69599090becd1e1760
Fixes: 72028454
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests

6 years agoMake Transforms Unidirectional
Nathan Harold [Sat, 6 Jan 2018 03:25:13 +0000 (19:25 -0800)]
Make Transforms Unidirectional

Convert the IpSecTransform from being a bi-directional
pair of SAs to a unidirectional single SA. This CL
also removes the concept of "direction from SAs meaning
that a IpSecTransform may now be applied to a socket
in either direction.

-Make transforms unidirectional
-Add Convert allocateSpi() to use destination rather
 than direction and remote address
-Remove directionality from builders for IpSecTransform
-Change applyTransportModeTransform() to take a
 direction in which to apply the transform object.
-Additional minor naming updates
-Restrict IpSecConfig to only print keys on eng builds
-Move DIRECTION constants to IpSecManager
-Add sourceAddress parameter to IpSecTransform to provide
 additional guarantees about the source address of data;
 (explicit failure rather than implicit failure).
-Move SPI to the build() method of IpSecTransform

Bug: 71717213
Test: runtest frameworks-net, CTS - IpSecManagerTest
Change-Id: I0824b37f443f4b8c62536d9801238c63ed8f2a1c

6 years agoMerge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c am: bfaf963337
Lorenzo Colitti [Tue, 16 Jan 2018 18:59:02 +0000 (18:59 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c am: bfaf963337
am: e735296091

Change-Id: I919f21566d5caff9fb35f57c439048b9b48f0971

6 years agoOrientation Listener looks for the "right" Device Orientation Sensor.
Ashutosh Joshi [Fri, 12 Jan 2018 23:28:28 +0000 (15:28 -0800)]
Orientation Listener looks for the "right" Device Orientation Sensor.

Some variants of devices expose the Orientation listener as a wake up
listener. On such devices, the WOL switches to using the accelerometer
as the provider of orienation. This is not desirable.

Test: dumpsys sensorservice. Ensure that WOL is subscribed to the device
orientation listener and not the accelerometer.

Change-Id: I6a41769843eaa25d50109add3c8587fa67dfbaa7

6 years agoMerge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c
Lorenzo Colitti [Tue, 16 Jan 2018 18:41:46 +0000 (18:41 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c
am: bfaf963337

Change-Id: Ie943428132fbcfcc565d54b46830ed297227ef35

6 years agoMerge "Binding on-demand #10: Remove permanent binding and add registration"
TreeHugger Robot [Tue, 16 Jan 2018 18:39:27 +0000 (18:39 +0000)]
Merge "Binding on-demand #10: Remove permanent binding and add registration"

6 years agoAdditional behavior for a11y panes
Phil Weaver [Tue, 16 Jan 2018 00:40:37 +0000 (16:40 -0800)]
Additional behavior for a11y panes

Content changes to panes are reported as window
state changes.

Changes to aggregated visibility are also reported
as window state changes.

Window state changes can now have content change
types.

Bug: 37479815
Test: Adding CTS tests in linked CL.
Change-Id: I35ef946398cac869b0f736708cb39ae96ab3ddb7

6 years agoMerge changes I0d0c0fac,Ifb9b00b6
Lorenzo Colitti [Tue, 16 Jan 2018 18:32:39 +0000 (18:32 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6
am: c3a209382c

Change-Id: If8f81cc1906668c82c2393e37600a7697cba2a05

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader"
Treehugger Robot [Tue, 16 Jan 2018 18:25:32 +0000 (18:25 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader"