OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Enable Autofill Field Classification by default." into pi-dev
Felipe Leme [Thu, 22 Mar 2018 21:20:34 +0000 (21:20 +0000)]
Merge "Enable Autofill Field Classification by default." into pi-dev

6 years agoMerge "Remove old workaround for display issues" into pi-dev
Jorim Jaggi [Thu, 22 Mar 2018 21:18:49 +0000 (21:18 +0000)]
Merge "Remove old workaround for display issues" into pi-dev

6 years agoMerge "Replace pm.dexopt.priv-apps with existing constant" into pi-dev
Victor Hsieh [Thu, 22 Mar 2018 21:17:56 +0000 (21:17 +0000)]
Merge "Replace pm.dexopt.priv-apps with existing constant" into pi-dev

6 years agoMerge "Add AppOp for IpSec Tunnels" into pi-dev
Nathan Harold [Thu, 22 Mar 2018 21:14:36 +0000 (21:14 +0000)]
Merge "Add AppOp for IpSec Tunnels" into pi-dev

6 years agoMerge "Add more comments for the isConfigForIdentifiedCarrier()" into pi-dev
Ying Xu [Thu, 22 Mar 2018 21:14:32 +0000 (21:14 +0000)]
Merge "Add more comments for the isConfigForIdentifiedCarrier()" into pi-dev

6 years agoMerge "Update RECOVER_KEYSTORE permission documentation." into pi-dev
Dmitry Dementyev [Thu, 22 Mar 2018 20:33:34 +0000 (20:33 +0000)]
Merge "Update RECOVER_KEYSTORE permission documentation." into pi-dev

6 years agoMerge "Remove unsigned-integer-overflow signed-integer-overflow from sanitizer."...
Yao Chen [Thu, 22 Mar 2018 20:24:41 +0000 (20:24 +0000)]
Merge "Remove unsigned-integer-overflow signed-integer-overflow from sanitizer." into pi-dev

6 years agoMerge "Rename handover failure constant per API review comments." into pi-dev
Tyler Gunn [Thu, 22 Mar 2018 20:22:20 +0000 (20:22 +0000)]
Merge "Rename handover failure constant per API review comments." into pi-dev

6 years agoMerge "Revert "Enable hidden API blacklist"" into pi-dev
Mathieu Chartier [Thu, 22 Mar 2018 20:11:07 +0000 (20:11 +0000)]
Merge "Revert "Enable hidden API blacklist"" into pi-dev

6 years agoRevert "Enable hidden API blacklist"
David Brazdil [Thu, 22 Mar 2018 18:42:41 +0000 (18:42 +0000)]
Revert "Enable hidden API blacklist"

This reverts commit 16bfa11b73a34be1f1c72d2ffe86702f85378e92.

Reason for revert: Revert until b/76138670 is fixed

Bug: 64382372
Bug: 76138670
Bug: 76157445
Change-Id: Iaf6c76b773fbea4d4710b38808dee2e7e06f5e78

6 years agoMerge "Update duration text" into pi-dev
Julia Reynolds [Thu, 22 Mar 2018 20:04:40 +0000 (20:04 +0000)]
Merge "Update duration text" into pi-dev

6 years agoMerge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev
Andrew Sapperstein [Thu, 22 Mar 2018 19:31:23 +0000 (19:31 +0000)]
Merge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev

6 years agoAdd more comments for the isConfigForIdentifiedCarrier()
yinxu [Fri, 16 Mar 2018 17:16:53 +0000 (10:16 -0700)]
Add more comments for the isConfigForIdentifiedCarrier()

This is a clean cherry-pick from:
https://android-review.git.corp.google.com/c/platform/frameworks/base/+/642231

Bug:74945742
Test: Compile
Change-Id: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
Merged-in: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
(cherry picked from commit cea0d8d4883c94482d936abd4d097617921c6fa7)

6 years agoMerge "Add NonNull Annotations To IpSec API Surface" into pi-dev
Nathan Harold [Thu, 22 Mar 2018 18:31:03 +0000 (18:31 +0000)]
Merge "Add NonNull Annotations To IpSec API Surface" into pi-dev

6 years agoMerge "Move provider access stats to frameworks/base" into pi-dev
Makoto Onuki [Thu, 22 Mar 2018 17:42:13 +0000 (17:42 +0000)]
Merge "Move provider access stats to frameworks/base" into pi-dev

6 years agoMerge "heif: fix Exif extraction in mtp database" into pi-dev
Chong Zhang [Thu, 22 Mar 2018 17:39:52 +0000 (17:39 +0000)]
Merge "heif: fix Exif extraction in mtp database" into pi-dev

6 years agoMerge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev
Felipe Leme [Thu, 22 Mar 2018 17:36:18 +0000 (17:36 +0000)]
Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev

6 years agoMerge "Fixed autofill service metadata name on javadoc sample." into pi-dev
Felipe Leme [Thu, 22 Mar 2018 17:33:36 +0000 (17:33 +0000)]
Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev

6 years agoMerge "Remove the hard-coded counterId in VaultParams" into pi-dev
Bo Zhu [Thu, 22 Mar 2018 17:32:10 +0000 (17:32 +0000)]
Merge "Remove the hard-coded counterId in VaultParams" into pi-dev

6 years agoMerge "Unhide RecoveryController#getRootCertificates()" into pi-dev
Robert Berry [Thu, 22 Mar 2018 17:23:05 +0000 (17:23 +0000)]
Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev

6 years agoMerge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev
Robert Berry [Thu, 22 Mar 2018 17:19:33 +0000 (17:19 +0000)]
Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev

6 years agoMerge "Make QSTileImpl#mListeners thread safe." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 17:07:01 +0000 (17:07 +0000)]
Merge "Make QSTileImpl#mListeners thread safe." into pi-dev

6 years agoUpdate RECOVER_KEYSTORE permission documentation.
Dmitry Dementyev [Thu, 22 Mar 2018 16:32:13 +0000 (09:32 -0700)]
Update RECOVER_KEYSTORE permission documentation.

Previous comment used outdated name for class managing recoverable
keystore.
Bug: 74976894
Test: none

Change-Id: I44460014d0ac5817d48e16bf281d2bb4ffe06823

6 years agoReplace pm.dexopt.priv-apps with existing constant
Victor Hsieh [Wed, 21 Mar 2018 23:49:53 +0000 (16:49 -0700)]
Replace pm.dexopt.priv-apps with existing constant

It was missed before during the rename.

Test: build
Bug: 63920015
Change-Id: Icb20a328b3d8acedca06cf6a781443d5611bb43d

6 years agoMerge "Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES." into pi-dev
Felipe Leme [Thu, 22 Mar 2018 16:24:53 +0000 (16:24 +0000)]
Merge "Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES." into pi-dev

6 years agoMerge "Add OWNERS for GlobalSettingsToPropertiesMapper" into pi-dev
Fyodor Kupolov [Thu, 22 Mar 2018 16:21:24 +0000 (16:21 +0000)]
Merge "Add OWNERS for GlobalSettingsToPropertiesMapper" into pi-dev

6 years agoMerge "Audio presentation: Docs & Testability fixes" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 16:14:19 +0000 (16:14 +0000)]
Merge "Audio presentation: Docs & Testability fixes" into pi-dev

6 years agoMerge "GNSS Model Name constant string and comment updates" into pi-dev
Wyatt Riley [Thu, 22 Mar 2018 16:10:08 +0000 (16:10 +0000)]
Merge "GNSS Model Name constant string and comment updates" into pi-dev

6 years agoEnable Autofill Field Classification by default.
Felipe Leme [Thu, 22 Mar 2018 16:08:31 +0000 (09:08 -0700)]
Enable Autofill Field Classification by default.

Bug: 76028992
Test: locally changed FieldsClassificationTest to not set it

Change-Id: I842124852f76f599a8ac1cb06271ebc3324c36c9

6 years agoRevert "Update material_deep_teal_500 to #008577."
Andrew Sapperstein [Thu, 22 Mar 2018 15:54:23 +0000 (15:54 +0000)]
Revert "Update material_deep_teal_500 to #008577."

This reverts commit 5c228d5eb975de5e15970ae11ebddf95010875fe.

Reason for revert: Breaks presubmit. b/76126268

Change-Id: Iffd8bbb62d05cae1c2a5dabfab2824899c5ff3cf
Bug: 74118164
Bug: 76126268
Test: presubmit

6 years agoFixed autofill service metadata name on javadoc sample.
Felipe Leme [Thu, 22 Mar 2018 15:39:09 +0000 (08:39 -0700)]
Fixed autofill service metadata name on javadoc sample.

Bug: 72811034
Test: nope

Change-Id: I0367fa6ad1fa21c51dadb9706830bc50c3139cab

6 years agoRename handover failure constant per API review comments.
Tyler Gunn [Mon, 19 Mar 2018 20:14:10 +0000 (20:14 +0000)]
Rename handover failure constant per API review comments.

Expanding EMERG to EMERGENCY.

Test: Build code
Bug: 74831393
Merged-In: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e
Change-Id: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e
(cherry picked from commit a4ef504bdc3044920d4996b93c30751a2fbce217)

6 years agoMerge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev
Michael Plass [Thu, 22 Mar 2018 15:03:51 +0000 (15:03 +0000)]
Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev

6 years agoMove provider access stats to frameworks/base
Makoto Onuki [Wed, 21 Mar 2018 04:22:37 +0000 (21:22 -0700)]
Move provider access stats to frameworks/base

Bug: 76037330
Test: boot and dumpsys activity provider ContactsProvider2
Change-Id: I69cfe0edc98da00d1212f57871646488f87eb8dd

6 years agoMerge "DO NOT MERGE Revert "DO NOT MERGE Update references to backup/restore agent...
TreeHugger Robot [Thu, 22 Mar 2018 14:04:20 +0000 (14:04 +0000)]
Merge "DO NOT MERGE Revert "DO NOT MERGE Update references to backup/restore agent timeouts"" into pi-dev

6 years agoMerge "Small fix for the key grant alias used in importKey" into pi-dev
Robert Berry [Thu, 22 Mar 2018 13:55:31 +0000 (13:55 +0000)]
Merge "Small fix for the key grant alias used in importKey" into pi-dev

6 years agoUnhide RecoverySession#recoverKeyChainSnapshot() method
Robert Berry [Wed, 21 Mar 2018 16:31:52 +0000 (16:31 +0000)]
Unhide RecoverySession#recoverKeyChainSnapshot() method

The other methods expose raw key materials, which is a security flaw. This
new API is already being used by GMSCore, via reflection (although falling
back to the old methods if it is not available). Would be good to switch it
on ASAP.

Bug: 74345822
Test: Tested with GMSCore
Change-Id: I30d53c9e825888d1122c72d23b7c1c10c6edb1e9

6 years agoUnhide RecoveryController#getRootCertificates()
Robert Berry [Wed, 21 Mar 2018 21:57:07 +0000 (21:57 +0000)]
Unhide RecoveryController#getRootCertificates()

This is so we can add a GTS test to affirm that GMS devices include the
Google Cloud Key Vault root certificate.

Test: runtest frameworks-core -p android.security.keystore.recovery
Bug: 74621045
Change-Id: Ib6431f5739f3dff066832e6aa300dd9da5bc0727

6 years agoMerge "Unhide the new RecoverySession#start with the alias for root cert" into pi-dev
Robert Berry [Thu, 22 Mar 2018 13:48:31 +0000 (13:48 +0000)]
Merge "Unhide the new RecoverySession#start with the alias for root cert" into pi-dev

6 years agoDO NOT MERGE Revert "DO NOT MERGE Update references to backup/restore agent timeouts"
Artem Iglikov [Thu, 22 Mar 2018 12:18:07 +0000 (12:18 +0000)]
DO NOT MERGE Revert "DO NOT MERGE Update references to backup/restore agent timeouts"

This reverts commit f77cae61250c727630616b5672df2781e84a7e80.

Reason for revert: crashes SUW

Bug: 76128378
Change-Id: Ia77af64892aa5a03109cc4ef4c2c04b256000ba9

6 years agoMerge "Remove unnecessary Context from ApiLoader" into pi-dev
Christofer Åkersten [Thu, 22 Mar 2018 11:49:41 +0000 (11:49 +0000)]
Merge "Remove unnecessary Context from ApiLoader" into pi-dev

6 years agoMerge "Fix index error" into pi-dev
Julia Reynolds [Thu, 22 Mar 2018 11:39:28 +0000 (11:39 +0000)]
Merge "Fix index error" into pi-dev

6 years agoMerge "Adds support for a fall-back model when the language-specific model is not...
TreeHugger Robot [Thu, 22 Mar 2018 10:50:47 +0000 (10:50 +0000)]
Merge "Adds support for a fall-back model when the language-specific model is not found." into pi-dev

6 years agoMerge "Finalise STK call control strings" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 08:49:38 +0000 (08:49 +0000)]
Merge "Finalise STK call control strings" into pi-dev

6 years agoMerge "Letterbox: make letterbox work with drag resizing" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 06:16:00 +0000 (06:16 +0000)]
Merge "Letterbox: make letterbox work with drag resizing" into pi-dev

6 years agoRemove unnecessary Context from ApiLoader
Christofer Åkersten [Thu, 22 Mar 2018 05:53:53 +0000 (14:53 +0900)]
Remove unnecessary Context from ApiLoader

Bug: 76001644
Test: compile
Change-Id: I6ac81dac16374d90facfe33c68607c5c286b335f

6 years agoRemove the hard-coded counterId in VaultParams
Bo Zhu [Thu, 22 Mar 2018 05:46:55 +0000 (22:46 -0700)]
Remove the hard-coded counterId in VaultParams

Bug: 72221676
Test: Manual test and runtest frameworks-services -p
com.android.server.locksettings.recoverablekeystore

Change-Id: I51cfac6478d59f41c1107106a14af008463f7de7

6 years agoFinalise STK call control strings
Jordan Liu [Thu, 22 Mar 2018 00:39:12 +0000 (17:39 -0700)]
Finalise STK call control strings

Bug: 64685331
Bug: 70352301
Test: manual
Change-Id: I53e9ec5e520f960b7adb3a29770e1f57065eb4c8
Merged-In: I53e9ec5e520f960b7adb3a29770e1f57065eb4c8

6 years agoMerge "Remove java-symbol for deleted string." into pi-dev
Andrew Sapperstein [Thu, 22 Mar 2018 05:27:35 +0000 (05:27 +0000)]
Merge "Remove java-symbol for deleted string." into pi-dev

6 years agoMerge "Enable new data usage settings features." into pi-dev
Andreas Terzis [Thu, 22 Mar 2018 05:02:10 +0000 (05:02 +0000)]
Merge "Enable new data usage settings features." into pi-dev

6 years agoMerge "Set FIELD_AUTOFILL_NUM_DATASETS to -1 when service return no response." into...
Felipe Leme [Thu, 22 Mar 2018 04:50:04 +0000 (04:50 +0000)]
Merge "Set FIELD_AUTOFILL_NUM_DATASETS to -1 when service return no response." into pi-dev

6 years agoMerge "Make sure at least one non-aux IME is enabled" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 03:08:38 +0000 (03:08 +0000)]
Merge "Make sure at least one non-aux IME is enabled" into pi-dev

6 years agoUnhide the new RecoverySession#start with the alias for root cert
Bo Zhu [Thu, 22 Mar 2018 02:50:50 +0000 (19:50 -0700)]
Unhide the new RecoverySession#start with the alias for root cert

Bug: 76033708
Test: none, it's just unhiding APIs
Change-Id: Iec1e44d24bb1704da082404566233ada83b8eb81

6 years agoMerge "ScheduledJobStateChanged: add stop reason" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 01:30:52 +0000 (01:30 +0000)]
Merge "ScheduledJobStateChanged: add stop reason" into pi-dev

6 years agoMerge "Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum...
Makoto Onuki [Thu, 22 Mar 2018 00:51:03 +0000 (00:51 +0000)]
Merge "Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync." into pi-dev

6 years agodocs: fixing typo in reference document
kopriva [Thu, 22 Mar 2018 00:39:02 +0000 (00:39 +0000)]
docs: fixing typo in reference document
am: 60b06bd217

Change-Id: Ie0a6380e8287d49b4d80f8742e51345372e5b8a9

6 years agoMerge changes I7f413e38,I20aba7e9 into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 00:29:38 +0000 (00:29 +0000)]
Merge changes I7f413e38,I20aba7e9 into pi-dev

* changes:
  Remove FlpHardwareProvider
  Create the stubs lib for com.android.location.provider

6 years agoSmall fix for the key grant alias used in importKey
Bo Zhu [Wed, 21 Mar 2018 21:33:15 +0000 (14:33 -0700)]
Small fix for the key grant alias used in importKey

Bug: 74345822
Test: atest RecoveryControllerHostTest#testImportKey_ValidKey
Change-Id: I54812b3d7465ee508fe48886f5897470fe7455a0

6 years agoRemove unsigned-integer-overflow signed-integer-overflow from sanitizer.
Yao Chen [Wed, 21 Mar 2018 23:38:26 +0000 (16:38 -0700)]
Remove unsigned-integer-overflow signed-integer-overflow from sanitizer.

Sanitizer is picking on the protobuf generated code. Need to figure out why
Disable them to unblock development first.

Bug: 76117312
Test: manual
Change-Id: I3f3a39dfe933f4c1b1cf4063d621392b66f0adea

6 years agoRenamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES.
Felipe Leme [Wed, 21 Mar 2018 00:12:17 +0000 (17:12 -0700)]
Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES.

The syntax of that setting changed from P Developer Preview1 to the final P, so
it's safer to use a new name than risk breaking devices during the update.

Bug: 74458004
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest\
FrameworksCoreTests:SettingsBackupTest

Change-Id: I1c507e8eae20f598dfe259178667ae6c2bc892ff

6 years agoMerge "Revert "By default, turn on signal strength update in power save mode."" into...
Xiangyu/Malcolm Chen [Wed, 21 Mar 2018 23:18:25 +0000 (23:18 +0000)]
Merge "Revert "By default, turn on signal strength update in power save mode."" into pi-dev

6 years agoRevert "By default, turn on signal strength update in power save mode."
Xiangyu/Malcolm Chen [Wed, 21 Mar 2018 22:28:32 +0000 (22:28 +0000)]
Revert "By default, turn on signal strength update in power save mode."

This reverts commit cbd29712a934ba1d29b5c5de6a48b22c976e4b8a.

Reason for revert:
No need for a config. We don't ever want to disable signal strength update in power save mode.

Bug: 69644626
Change-Id: I0a7bf991c36076b0eceb816eed1b1bf7434c1d3d

6 years agoMerge "[QS] Update long-press tooltip text" into pi-dev
Rohan Shah [Wed, 21 Mar 2018 23:11:32 +0000 (23:11 +0000)]
Merge "[QS] Update long-press tooltip text" into pi-dev

6 years agoMerge "Added BinderCallsStatsService" into pi-dev
Fyodor Kupolov [Wed, 21 Mar 2018 23:02:58 +0000 (23:02 +0000)]
Merge "Added BinderCallsStatsService" into pi-dev

6 years agoRemove java-symbol for deleted string.
Andrew Sapperstein [Wed, 21 Mar 2018 22:46:50 +0000 (15:46 -0700)]
Remove java-symbol for deleted string.

Change-Id: Id686cc07aef4641327854dda20bace7b46cffe99
Fixes: 76110242
Bug: 72941316
Test: builds

6 years agoMerge "Unregister lux sensor when not in adaptive mode." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 22:38:41 +0000 (22:38 +0000)]
Merge "Unregister lux sensor when not in adaptive mode." into pi-dev

6 years agoMerge "Implement new BS warning / notification flow (1/2)" into pi-dev
Makoto Onuki [Wed, 21 Mar 2018 22:32:33 +0000 (22:32 +0000)]
Merge "Implement new BS warning / notification flow (1/2)" into pi-dev

6 years agoAdd AppOp for IpSec Tunnels
Nathan Harold [Thu, 15 Mar 2018 00:08:53 +0000 (17:08 -0700)]
Add AppOp for IpSec Tunnels

Add a new AppOp to allow bound system services
such as TelephonyDataServices and potentially
VPN providers to access the IPsec tunnel
management APIs. Since this is not directly
user-facing, and not all System apps should have
this privilege, the access is only granted via
an AppOp or to the system itself.

Bug: 66955045
Test: compilation (still WIP)
Change-Id: I0b0528c75c622d8538baeec019c3672cbed5d899

6 years agoEnable new data usage settings features.
Jan Nordqvist [Wed, 21 Mar 2018 22:09:04 +0000 (15:09 -0700)]
Enable new data usage settings features.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I0d2942bf8b8e13ebefd7df899a6ecfc6595d1780

6 years agoMerge "Fix location settings bug on non-GPS devices" into pi-dev
Maggie Wang [Wed, 21 Mar 2018 22:02:03 +0000 (22:02 +0000)]
Merge "Fix location settings bug on non-GPS devices" into pi-dev

6 years agoRemove old workaround for display issues
John Reck [Wed, 21 Mar 2018 21:43:40 +0000 (14:43 -0700)]
Remove old workaround for display issues

Bug: 76086140
Test: A bunch of systraces, things looked OK
Change-Id: I447e976a937160c0bb3b52afd57661e7ffa0c9ec

6 years agoMerge "Fix wrong SafeUnref type" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 21:34:10 +0000 (21:34 +0000)]
Merge "Fix wrong SafeUnref type" into pi-dev

6 years agoUpdated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interva...
Liefu Liu [Wed, 21 Mar 2018 17:25:49 +0000 (10:25 -0700)]
Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync.

Bug: 76033438
Change-Id: I1ccb7ae174f8f13dae24296a3fb7e9dfcd77c7fa
Fixes: 76033438
Test: javadoc only. presubmit only.

6 years agoMerge "Remove am/wm.proto which is redundant. The naming convention is defined in...
TreeHugger Robot [Wed, 21 Mar 2018 21:24:19 +0000 (21:24 +0000)]
Merge "Remove am/wm.proto which is redundant. The naming convention is defined in core/proto/README.md" into pi-dev

6 years agoDon't allow null ids on FillResponse.Builder.setAuthentication()
Felipe Leme [Wed, 21 Mar 2018 19:56:05 +0000 (12:56 -0700)]
Don't allow null ids on FillResponse.Builder.setAuthentication()

It would crash the system when save is invoked.

The issue was reproduced by passing a null id on
AuthenticationTest#testFillResponseAuthServiceHasNoDataButCanSave , but that
change was not committed because with the fix the builder would throw an
exception.

Test: atest CtsAutoFillServiceTestCases:FillResponseTest

Fixes: 76097200

Change-Id: Ifa8105ee1451ba7107082a94a538a8f84f50df18

6 years agoMerge "By default, turn on signal strength update in power save mode." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 21:11:39 +0000 (21:11 +0000)]
Merge "By default, turn on signal strength update in power save mode." into pi-dev

6 years agoMerge changes I4c26aea7,I79911434 into pi-dev
Nathan Harold [Wed, 21 Mar 2018 20:59:02 +0000 (20:59 +0000)]
Merge changes I4c26aea7,I79911434 into pi-dev

* changes:
  Check mOwnedByTransform to avoid DELSA on SPI
  Expose add/removeAddress for IpSecInterfaces

6 years agoMerge "Define phone process as a constant" into pi-dev
Brad Ebinger [Wed, 21 Mar 2018 20:38:00 +0000 (20:38 +0000)]
Merge "Define phone process as a constant" into pi-dev

6 years agoMerge "Enable sanitizer on statsd eng build." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 20:09:10 +0000 (20:09 +0000)]
Merge "Enable sanitizer on statsd eng build." into pi-dev

6 years agoMerge "add car volume dialog" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 20:07:41 +0000 (20:07 +0000)]
Merge "add car volume dialog" into pi-dev

6 years agoFix index error
Julia Reynolds [Wed, 21 Mar 2018 19:40:53 +0000 (15:40 -0400)]
Fix index error

Change-Id: I93cf18b35060a09a3b8f4be8e0b9b4682d390b25
Fixes: 76101440
Test: runtest systemui-notification

6 years agoMerge "Screenshot: extend scrim under cutout" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:50:40 +0000 (19:50 +0000)]
Merge "Screenshot: extend scrim under cutout" into pi-dev

6 years agoMerge "Suppress all background-state services in user-forced app standby" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:45:59 +0000 (19:45 +0000)]
Merge "Suppress all background-state services in user-forced app standby" into pi-dev

6 years agoUpdate duration text
Julia Reynolds [Tue, 20 Mar 2018 13:02:17 +0000 (09:02 -0400)]
Update duration text

Change-Id: Ib390aaf1a82d28ab197628b09e80ca439c392eae
Fixes: 72651488
Bug: 74318867
Test: make -j RunSettingsLibRoboTests

6 years agoMerge "Return a boolean from the mandatory backup transport setter." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:34:52 +0000 (19:34 +0000)]
Merge "Return a boolean from the mandatory backup transport setter." into pi-dev

6 years agoMerge "Adding UserManagerHelper class to SettingsLib." into pi-dev
Jovana Knezevic [Wed, 21 Mar 2018 19:34:32 +0000 (19:34 +0000)]
Merge "Adding UserManagerHelper class to SettingsLib." into pi-dev

6 years agoImplement new BS warning / notification flow (1/2)
Makoto Onuki [Tue, 20 Mar 2018 17:40:37 +0000 (10:40 -0700)]
Implement new BS warning / notification flow (1/2)

- Show the battery saver confirmation dialog only for the first time.
- Start counting # of manual activations, which will be used in a
follow-up CL.

Bug: 74120126
Test: Manual tests with ./vendor/google_experimental/users/omakoto/android-battery-tester
Test: m -j ROBOTEST_FILTER=BatterySaverUtilsTest RunSettingsLibRoboTests
Test: cd frameworks/base/packages/SystemUI/tests && \
        atest src/com/android/systemui/power/PowerUITest.java src/com/android/systemui/power/PowerNotificationWarningsTest.java
Change-Id: If6a081a6222e6a87c4cd332364c89856e7648a36

6 years agoFix location settings bug on non-GPS devices
Maggie [Fri, 16 Mar 2018 19:22:20 +0000 (12:22 -0700)]
Fix location settings bug on non-GPS devices

The old location_mode API hardcoded gps and network location provider when it enables/disables location, without checking whether the providers exist on device.
It causes bugs when used together with the new
LocationManager.setLocationEnabled() APIs.

This fix modified LocationManager.setLocationEnabled() API when user
tries to disable location on device. Besides turning off the providers
from LocationManager.getAllProviders(), it also turns off GPS and
network provider explicitly.

To reduce times of binding to the service and chance of race condition, we also
modified SettingsProvider.updateLocationProvidersAllowedLocked() to
accept a string param with multiple location providers to be
enabled or disalbed at the same time.

Bug: 73261572
Test: Manual on chromebook
Change-Id: I2e59e0d4cf395b98cd481af5d7f3c762274d7826

6 years agoMerge "Document Job Scheduler internal "calling" vs "source" package" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:12:14 +0000 (19:12 +0000)]
Merge "Document Job Scheduler internal "calling" vs "source" package" into pi-dev

6 years agoMerge "Ignore non-existent displays in #topRunningActivityLocked." into pi-dev
Bryce Lee [Wed, 21 Mar 2018 19:01:36 +0000 (19:01 +0000)]
Merge "Ignore non-existent displays in #topRunningActivityLocked." into pi-dev

6 years agoMerge "Added Locking for MmTelFeature" into pi-dev
Brad Ebinger [Wed, 21 Mar 2018 18:56:00 +0000 (18:56 +0000)]
Merge "Added Locking for MmTelFeature" into pi-dev

6 years agoMerge "Fix issue with slippery state for quickstep button case." into pi-dev
Winson Chung [Wed, 21 Mar 2018 18:47:41 +0000 (18:47 +0000)]
Merge "Fix issue with slippery state for quickstep button case." into pi-dev

6 years agoMerge "Don't add stopping apps in relaunch based on stopped flag." into pi-dev
Chavi Weingarten [Wed, 21 Mar 2018 18:30:13 +0000 (18:30 +0000)]
Merge "Don't add stopping apps in relaunch based on stopped flag." into pi-dev

6 years agoAdd NonNull Annotations To IpSec API Surface
Nathan Harold [Sat, 17 Mar 2018 00:27:30 +0000 (17:27 -0700)]
Add NonNull Annotations To IpSec API Surface

This CL adds NonNull annotations to a large
number of method returns and parameters as
part of API council feedback.

Bug: 72473424
Test: compilation (docstring-only change)
Merged-In: I2f865dde56fe12116c461ad98e9460bf1802ce18
Change-Id: I2f865dde56fe12116c461ad98e9460bf1802ce18
(cherry picked from commit 8fd26f67fdfdedb535ddb8c7d5ededa5dcba40f8)

6 years agoMerge "Add metric ACTION_ANOMALY_TRIGGERED" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 18:05:21 +0000 (18:05 +0000)]
Merge "Add metric ACTION_ANOMALY_TRIGGERED" into pi-dev

6 years agoMerge "Renamed config_dozeAfterScreenOff" into pi-dev
Lucas Dupin [Wed, 21 Mar 2018 18:04:49 +0000 (18:04 +0000)]
Merge "Renamed config_dozeAfterScreenOff" into pi-dev

6 years agoEnable sanitizer on statsd eng build.
Yao Chen [Wed, 21 Mar 2018 18:00:53 +0000 (11:00 -0700)]
Enable sanitizer on statsd eng build.

Bug: 74946342

Test: manual
Change-Id: I287def435d077670814db50e4d8398ecee539b74

6 years agoFix wrong SafeUnref type
John Reck [Wed, 21 Mar 2018 17:50:01 +0000 (10:50 -0700)]
Fix wrong SafeUnref type

Test: builds
Change-Id: I5a03551c408736722802ba0e8692c3d85e375112
Fixes: 76029886

6 years agoMerge "Update material_deep_teal_500 to #008577." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:45:25 +0000 (17:45 +0000)]
Merge "Update material_deep_teal_500 to #008577." into pi-dev

6 years agoMerge "Category message is sufficient for message notif" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:43:40 +0000 (17:43 +0000)]
Merge "Category message is sufficient for message notif" into pi-dev