OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Allow open password dialog for wrong-password wifi access points" into oc...
Antony Sargent [Wed, 26 Jul 2017 16:18:50 +0000 (16:18 +0000)]
Merge "Allow open password dialog for wrong-password wifi access points" into oc-dr1-dev
am: 9fb7a3b8b4

Change-Id: Ic44e0cf3972085439a603e25374d46447ebe7a8f

6 years agoMerge "Allow open password dialog for wrong-password wifi access points" into oc...
TreeHugger Robot [Wed, 26 Jul 2017 10:53:30 +0000 (10:53 +0000)]
Merge "Allow open password dialog for wrong-password wifi access points" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE am: 8a25fb603a -s ours
Bill Yi [Wed, 26 Jul 2017 08:03:07 +0000 (08:03 +0000)]
Import translations. DO NOT MERGE am: 8a25fb603a  -s ours
am: 9d7971905c  -s ours

Change-Id: I689d34a1c300988ae315959a6d4fbb48158cffbf

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Jul 2017 07:59:05 +0000 (07:59 +0000)]
Import translations. DO NOT MERGE
am: 8a25fb603a  -s ours

Change-Id: If4a3775dac048d13e739174b79415cf025bd4454

6 years agoAllow open password dialog for wrong-password wifi access points
Antony Sargent [Tue, 18 Jul 2017 22:33:18 +0000 (15:33 -0700)]
Allow open password dialog for wrong-password wifi access points

When we're failing to connect to a wifi access point due to an incorrect
password, we want to allow an intent from a notification to open up the
wifi settings page and bring up the dialog for entering a different
password. We already have code in settings to do this for not-yet-saved
access points, so this CL just changes it slightly to also allow it for
saved access points.

Unfortunately WifiSettings can't be tested with Robolectric due to it
not supporting PreferenceScreen, so this adds a test to
WifiSettingsUiTest. There were some existing test failures in that file
which I've fixed while I was in there:

-The TestAccessPointBuilder class wasn't being found at runtime because
 it was getting stripped out at build time due to not being used in
 settings.

-The changingSecurityStateOnApShouldNotCauseMultipleListItems test was
 asserting that we don't end up with multiple entries for the same SSID
 in the access point list when changing the security state for the AP,
 but it was accidentally passing multiple AP's with the same name the
 first time.

Bug: 33245941
Test: runtest --path WifiSettingsUiTest.java
Change-Id: I16c9c8b0d8380a0e26f9b23df6a8d012af6a2476
Merged-In: I929ca6892242059df157c01d6e9ea30e8d1c5e78

6 years agoMerge "Bluetooth: reset mConnectionState when adapter is OFF" into oc-dr1-dev
Jack He [Wed, 26 Jul 2017 06:34:30 +0000 (06:34 +0000)]
Merge "Bluetooth: reset mConnectionState when adapter is OFF" into oc-dr1-dev
am: 0c6f001c09

Change-Id: I2a161d403cf0c8e34a16b1ac9328135c40f7e50a

6 years agoMerge "Bluetooth: reset mConnectionState when adapter is OFF" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 06:28:44 +0000 (06:28 +0000)]
Merge "Bluetooth: reset mConnectionState when adapter is OFF" into oc-dr1-dev

6 years agoMerge "Disable Wallpaper setting when Wallpaper is disabled." into oc-dr1-dev
Doris Ling [Wed, 26 Jul 2017 06:23:03 +0000 (06:23 +0000)]
Merge "Disable Wallpaper setting when Wallpaper is disabled." into oc-dr1-dev
am: 4906a2a38a  -s ours

Change-Id: I6f51c2464ab39e78c89625a0e27296c888080333

6 years agoMerge "Disable Wallpaper setting when Wallpaper is disabled." into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 06:11:07 +0000 (06:11 +0000)]
Merge "Disable Wallpaper setting when Wallpaper is disabled." into oc-dr1-dev

6 years agoMerge "Extract method to build preference count logging's name." into oc-dr1-dev
Fan Zhang [Wed, 26 Jul 2017 06:07:37 +0000 (06:07 +0000)]
Merge "Extract method to build preference count logging's name." into oc-dr1-dev
am: 5fb56c5b37

Change-Id: I7974307f83886ab9e075eee4ef347ef95562acef

6 years agoMerge "Extract method to build preference count logging's name." into oc-dr1-dev
Fan Zhang [Wed, 26 Jul 2017 05:59:57 +0000 (05:59 +0000)]
Merge "Extract method to build preference count logging's name." into oc-dr1-dev

6 years agoMerge "Update misc strings" into oc-mr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 04:59:29 +0000 (04:59 +0000)]
Merge "Update misc strings" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Jul 2017 04:25:48 +0000 (21:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id4aa99e287f17df735e0998f3989b38bb9170cbf
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Disable Wallpaper setting when Wallpaper is disabled." into oc-mr1-dev
Doris Ling [Wed, 26 Jul 2017 04:14:07 +0000 (04:14 +0000)]
Merge "Disable Wallpaper setting when Wallpaper is disabled." into oc-mr1-dev

6 years agoMerge "Restrict changing wi-fi networks" into oc-dr1-dev
Christine Franks [Wed, 26 Jul 2017 02:52:52 +0000 (02:52 +0000)]
Merge "Restrict changing wi-fi networks" into oc-dr1-dev
am: a7e10e0316

Change-Id: Ifcb15f741c4bcb72c32789870bc50027d2fc4cbb

6 years agoMerge "Restrict changing wi-fi networks" into oc-dr1-dev
Christine Franks [Wed, 26 Jul 2017 02:38:08 +0000 (02:38 +0000)]
Merge "Restrict changing wi-fi networks" into oc-dr1-dev

6 years agoMerge "Add divider line below "see all apps" preference" into oc-dr1-dev
Doris Ling [Wed, 26 Jul 2017 02:08:45 +0000 (02:08 +0000)]
Merge "Add divider line below "see all apps" preference" into oc-dr1-dev
am: 0e9711ab92

Change-Id: I7fc59ace61bb89b40ab3eabe774a89128895515f

6 years agoMerge "Add divider line below "see all apps" preference" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 02:02:32 +0000 (02:02 +0000)]
Merge "Add divider line below "see all apps" preference" into oc-dr1-dev

6 years agoMerge "Add default value to inline payloads" into oc-dr1-dev
Matthew Fritze [Wed, 26 Jul 2017 01:57:13 +0000 (01:57 +0000)]
Merge "Add default value to inline payloads" into oc-dr1-dev
am: 5aca5f3aec

Change-Id: I5e15e7d80ac30f07390be702662939acbbc30675

6 years agoMerge "Add default value to inline payloads" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 01:52:38 +0000 (01:52 +0000)]
Merge "Add default value to inline payloads" into oc-dr1-dev

6 years agoBluetooth: reset mConnectionState when adapter is OFF
Jack He [Tue, 25 Jul 2017 21:50:11 +0000 (14:50 -0700)]
Bluetooth: reset mConnectionState when adapter is OFF

* No device is connected when Bluetooth adapter is OFF
* BluetoothSummaryUpdater should reset its connection state tracker in
  order to display the correct summary message on ConnectedDevice
  preference
* Otherwise, "Connected to null" will be shown because no device is
  connected while BluetoothSummaryUpdater is still in CONNECTED state
* Removed unused imports from BluetoothSummaryUpdater
* Write additional unit test to verify the above behaviour
* Add additional logging when deviceName is null in CONNECTED state

Bug: 62492716
Test: Pair and connect to Bluetooth device, turning Bluetooth ON/OFF,
      unit tests
Change-Id: I30726636f5678d61d6052f5b8d211aa20f26f409

6 years agoMerge "Fix robotests." into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 23:50:57 +0000 (23:50 +0000)]
Merge "Fix robotests." into oc-dr1-dev
am: b5696a9162  -s ours

Change-Id: Ibce6e5a08dffeab7779718d99d2cc7ad60c5586b

6 years agoExtract method to build preference count logging's name.
Fan Zhang [Mon, 24 Jul 2017 23:03:49 +0000 (16:03 -0700)]
Extract method to build preference count logging's name.

Bug: 35066566
Test: robotests still pass
Change-Id: I665b7ecea9866227ef3cb06bf4aebacbfa2c65a9

6 years agoDisable Wallpaper setting when Wallpaper is disabled.
Doris Ling [Mon, 24 Jul 2017 20:13:00 +0000 (13:13 -0700)]
Disable Wallpaper setting when Wallpaper is disabled.

Check whether the wallpaper picker is enabled in
WallpaperPreferenceController.isAvailable() instead of always returning
true.

Change-Id: I85fb90ad783e5be008c9343a0804893604814bd1
Merged-In: Ie3a4a68b728ccab1a7aa50c0018a5153907c49b4
Merged-In: I1afba6639a2b94f9d57f546c220f417092f92387
Fix: 63939450
Test: make RunSettingsRoboTests

6 years agoMerge "Fix robotests." into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 23:37:37 +0000 (23:37 +0000)]
Merge "Fix robotests." into oc-dr1-dev

6 years agoMerge "Make AirplaneModePrefController.isAvailable static." into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 23:34:03 +0000 (23:34 +0000)]
Merge "Make AirplaneModePrefController.isAvailable static." into oc-dr1-dev
am: 5b67e453bf

Change-Id: I7454c59679ad05711f8923b35138fd27b6d36061

6 years agoMerge "Make AirplaneModePrefController.isAvailable static." into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 23:21:48 +0000 (23:21 +0000)]
Merge "Make AirplaneModePrefController.isAvailable static." into oc-dr1-dev

6 years agoMerge "Fix robotests." into oc-mr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 23:21:44 +0000 (23:21 +0000)]
Merge "Fix robotests." into oc-mr1-dev

6 years agoMerge "Fix a monkey crash in Developer settings." into oc-mr1-dev
Fan Zhang [Tue, 25 Jul 2017 23:06:11 +0000 (23:06 +0000)]
Merge "Fix a monkey crash in Developer settings." into oc-mr1-dev

6 years agoAdd default value to inline payloads
Matthew Fritze [Mon, 24 Jul 2017 21:58:36 +0000 (14:58 -0700)]
Add default value to inline payloads

If we try to set an inline result when it has not yet been
accessed in settings, nothing is read from Settings.
Thus, include a default value for a fallback.

Change-Id: I8a593d9ff3308b2d0cd5bc65658d160abf55b07e
Fixes: 63955012
Test: robotests

6 years agoMerge "Fix search indexing for encryption_and_credential page" into oc-dr1-dev
Fan Zhang [Tue, 25 Jul 2017 21:30:57 +0000 (21:30 +0000)]
Merge "Fix search indexing for encryption_and_credential page" into oc-dr1-dev
am: 6ef56e43ee

Change-Id: I162d479851065017806cb82a16eb8fba7ad5aca7

6 years agoMerge "Fix search indexing for encryption_and_credential page" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 21:23:19 +0000 (21:23 +0000)]
Merge "Fix search indexing for encryption_and_credential page" into oc-dr1-dev

6 years agoMerge "Add default value to inline payloads" into oc-mr1-dev
Matthew Fritze [Tue, 25 Jul 2017 21:10:55 +0000 (21:10 +0000)]
Merge "Add default value to inline payloads" into oc-mr1-dev

6 years agoFix robotests.
Andrew Sapperstein [Tue, 25 Jul 2017 18:01:23 +0000 (11:01 -0700)]
Fix robotests.

Couldn't find config_headlineFontFamily. Added some
SettingsShadowResources.overrideResource calls.

Change-Id: I13f5b5dd6b97057e7f77cc4d15abdb6451314b50
Fixes: 64024743
Test: robotests

6 years agoMerge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-dr1-dev
Roshan Pius [Tue, 25 Jul 2017 20:56:33 +0000 (20:56 +0000)]
Merge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-dr1-dev
am: 2b689e63ca  -s ours

Change-Id: Ifb8441b5cb1554ac94dde28ae247596cdf810e6c

6 years agoMerge "Add anomaly detection method to AnomalyUtils" into oc-dr1-dev
Lei Yu [Tue, 25 Jul 2017 20:55:16 +0000 (20:55 +0000)]
Merge "Add anomaly detection method to AnomalyUtils" into oc-dr1-dev
am: 5963ffd4e3

Change-Id: If4946179167529463ddbe23c83b3e37a21fec222

6 years agoMerge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-dr1-dev
Roshan Pius [Tue, 25 Jul 2017 20:52:29 +0000 (20:52 +0000)]
Merge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-dr1-dev

6 years agoFix robotests.
Andrew Sapperstein [Tue, 25 Jul 2017 18:01:23 +0000 (11:01 -0700)]
Fix robotests.

Couldn't find config_headlineFontFamily. Added some
SettingsShadowResources.overrideResource calls.

Change-Id: I7179475df649b7a053deb0fa20e4c6c33f6a8acd
Merged-In: I13f5b5dd6b97057e7f77cc4d15abdb6451314b50
Fixes: 64024743
Test: robotests

6 years agoMerge "Add anomaly detection method to AnomalyUtils" into oc-dr1-dev
Lei Yu [Tue, 25 Jul 2017 20:48:02 +0000 (20:48 +0000)]
Merge "Add anomaly detection method to AnomalyUtils" into oc-dr1-dev

6 years agoUpdate misc strings
Fan Zhang [Tue, 25 Jul 2017 20:25:39 +0000 (13:25 -0700)]
Update misc strings

Change-Id: I566e2d08488e8468b9b943418d05fb2d6f669638
Fix: 62069132
Fix: 62265094
Test: visual

6 years agoRestrict changing wi-fi networks
Christine Franks [Wed, 12 Jul 2017 00:32:57 +0000 (17:32 -0700)]
Restrict changing wi-fi networks

Bug: 31852835
Test: manual - verify unrestricted as regular user, but that a password
is required in demo mode.
Change-Id: I60f95ccbb10ba728b384b9c8c2ae723934fb2928

6 years agoFix a monkey crash in Developer settings.
Fan Zhang [Tue, 25 Jul 2017 17:30:24 +0000 (10:30 -0700)]
Fix a monkey crash in Developer settings.

- DevSetting shouldn't add switchbar listener if it's a Monkey test run
- DevSetting shouldn't remove switchbar listener if it's not registered
- Refactor some switchbar logic in order to create test

Change-Id: Ie65ff9b04778075789010169039393bd0551acfb
Fix: 64021498
Test: robotests

6 years agoDisable Wallpaper setting when Wallpaper is disabled.
Doris Ling [Tue, 25 Jul 2017 18:33:40 +0000 (11:33 -0700)]
Disable Wallpaper setting when Wallpaper is disabled.

Check whether the wallpaper picker is enabled in
WallpaperPreferenceController.isAvailable() instead of always returning
true.

Change-Id: I1afba6639a2b94f9d57f546c220f417092f92387
Merged-In: Ie3a4a68b728ccab1a7aa50c0018a5153907c49b4
Bug: 63939450
Test: make RunSettingsRoboTests

6 years agoAdd default value to inline payloads
Matthew Fritze [Mon, 24 Jul 2017 21:58:36 +0000 (14:58 -0700)]
Add default value to inline payloads

If we try to set an inline result when it has not yet been
accessed in settings, nothing is read from Settings.
Thus, include a default value for a fallback.

Manual merge for: ag/2588219/

Change-Id: I3b8eea4f82764852cea642db4455ba57f10a7d37
Fixes: 63955012
Test: robotests

6 years agoAdd anomaly detection method to AnomalyUtils
jackqdyulei [Fri, 21 Jul 2017 19:18:33 +0000 (12:18 -0700)]
Add anomaly detection method to AnomalyUtils

So we could reuse it in different loaders.

Bug: 63900914
Test: robotests still pass
Change-Id: I038085f53b9d0a05b8c4849c7544567434885821

6 years agosettings(manifest): Add NETWORK_SETTINGS permission
Roshan Pius [Mon, 24 Jul 2017 22:05:36 +0000 (15:05 -0700)]
settings(manifest): Add NETWORK_SETTINGS permission

This is needed for invoking some wifi/connectivity API's. For example,
we switched over using this permission to determine if an app is allowed
to modify any saved wifi network configuration on the device.

Bug: 64001841
Test: Able to forget networks created by SetupWizard.
Change-Id: I932226a74b12bf726a2445188953b1ec34523cf9
Merged-In: I932226a74b12bf726a2445188953b1ec34523cf9

6 years agoMerge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-mr1-dev
Roshan Pius [Tue, 25 Jul 2017 17:09:52 +0000 (17:09 +0000)]
Merge "settings(manifest): Add NETWORK_SETTINGS permission" into oc-mr1-dev

6 years agosettings(manifest): Add NETWORK_SETTINGS permission
Roshan Pius [Mon, 24 Jul 2017 22:05:36 +0000 (15:05 -0700)]
settings(manifest): Add NETWORK_SETTINGS permission

This is needed for invoking some wifi/connectivity API's. For example,
we switched over using this permission to determine if an app is allowed
to modify any saved wifi network configuration on the device.

Bug: 64001841
Test: Able to forget networks created by SetupWizard.
Change-Id: I932226a74b12bf726a2445188953b1ec34523cf9
(cherry-picked from b0a09304e380645a84651c0de668a78a7beaac3b)

6 years agoMerge "Fix "max failed login attempts" disclosure" into oc-dr1-dev
Bartosz Fabianowski [Tue, 25 Jul 2017 10:18:41 +0000 (10:18 +0000)]
Merge "Fix "max failed login attempts" disclosure" into oc-dr1-dev
am: 262aacd353

Change-Id: I66fbaf0f98dd22679068f1fdefce0e7dbfc81939

6 years agoMerge "Fix "max failed login attempts" disclosure" into oc-dr1-dev
Bartosz Fabianowski [Tue, 25 Jul 2017 10:14:50 +0000 (10:14 +0000)]
Merge "Fix "max failed login attempts" disclosure" into oc-dr1-dev

6 years agoMerge "Fingerprint swipe settings and suggestions should not show if hardware unavail...
Kevin Chyn [Tue, 25 Jul 2017 05:36:26 +0000 (05:36 +0000)]
Merge "Fingerprint swipe settings and suggestions should not show if hardware unavailable" into oc-dr1-dev
am: 5e707ccb3d  -s ours

Change-Id: Ia0a0f8fff5bec512656229aaf2d81e0952760c4e

6 years agoMerge "Fingerprint swipe settings and suggestions should not show if hardware unavail...
Kevin Chyn [Tue, 25 Jul 2017 05:31:53 +0000 (05:31 +0000)]
Merge "Fingerprint swipe settings and suggestions should not show if hardware unavailable" into oc-dr1-dev

6 years agoFingerprint swipe settings and suggestions should not show if hardware unavailable
Kevin Chyn [Thu, 20 Jul 2017 07:15:44 +0000 (00:15 -0700)]
Fingerprint swipe settings and suggestions should not show if hardware unavailable

Fixes: 63589121

Test: remove FP driver, make sure swipe setting and suggestions
don't show anymore && make -j RunSettingsRoboTests

Merged-In: I2539128daff8df52d040606141f772fc9edffa57
Change-Id: I2539128daff8df52d040606141f772fc9edffa57

6 years agoMerge "Fingerprint swipe settings and suggestions should not show if hardware unavail...
TreeHugger Robot [Tue, 25 Jul 2017 02:32:31 +0000 (02:32 +0000)]
Merge "Fingerprint swipe settings and suggestions should not show if hardware unavailable" into oc-mr1-dev

6 years agoDefault-off FP Swipe
Kevin Chyn [Tue, 25 Jul 2017 01:07:31 +0000 (01:07 +0000)]
Default-off FP Swipe
am: 8f5de15ba1

Change-Id: Iac3a85ac3e0d6f30d32b2823f168f3123d375f08

6 years agoMerge "Update string for bluetooth device visibility" into oc-mr1-dev
TreeHugger Robot [Mon, 24 Jul 2017 21:29:22 +0000 (21:29 +0000)]
Merge "Update string for bluetooth device visibility" into oc-mr1-dev

6 years agoDefault-off FP Swipe
Kevin Chyn [Mon, 24 Jul 2017 21:00:18 +0000 (14:00 -0700)]
Default-off FP Swipe

Fixes: 63992836

Test: adb shell settings delete secure system_navigation_keys_enabled
&& make -j RunSettingsRoboTests

Change-Id: I3245c7b8844df5edaea311c1871b1dd05b8b7784

6 years agoMake AirplaneModePrefController.isAvailable static.
Andrew Sapperstein [Mon, 24 Jul 2017 20:42:19 +0000 (13:42 -0700)]
Make AirplaneModePrefController.isAvailable static.

Allows calling without instantiating the pref controller.
Also some minor cleanup of MobileNetworkPrefController.

Bug: 62022517
Test: robotests
Change-Id: I34ff5d3729d06158bff3cc125de4c114bf4861d5

6 years agoFingerprint swipe settings and suggestions should not show if hardware unavailable
Kevin Chyn [Thu, 20 Jul 2017 07:15:44 +0000 (00:15 -0700)]
Fingerprint swipe settings and suggestions should not show if hardware unavailable

Fixes: 63589121

Test: remove FP driver, make sure swipe setting and suggestions
don't show anymore && make -j RunSettingsRoboTests

Change-Id: I2539128daff8df52d040606141f772fc9edffa57

6 years agoFix search indexing for encryption_and_credential page
Fan Zhang [Sat, 22 Jul 2017 00:51:47 +0000 (17:51 -0700)]
Fix search indexing for encryption_and_credential page

- Rewrite search index provider to include all possible keys through
  getXmlResourcesToIndex()
- Add isPageSearchEnabled() to disable all keys if user is not admin
- Add getNonIndexableKeys to suppress unrelated keys based on current
  device state

Change-Id: I2c6943483789bf4c9f3931d344cf279fec0edaee
Fix: 37650170
Test: robotests

6 years agoMerge "Add Foreground Service time to battery usage" into oc-mr1-dev
Michael Wachenschwanz [Mon, 24 Jul 2017 19:02:12 +0000 (19:02 +0000)]
Merge "Add Foreground Service time to battery usage" into oc-mr1-dev

6 years agoUpdate string for bluetooth device visibility
Fan Zhang [Mon, 24 Jul 2017 17:52:23 +0000 (10:52 -0700)]
Update string for bluetooth device visibility

Change-Id: I33baa5e72596e10f10f13d2324144ca9036c3fc9
Fix: 62891178
Test: visual
Test: robotests

6 years agoMerge "Add log for anomaly." into oc-dr1-dev
Lei Yu [Mon, 24 Jul 2017 18:07:12 +0000 (18:07 +0000)]
Merge "Add log for anomaly." into oc-dr1-dev
am: 6666bf5605

Change-Id: I4903e3617b2fab64831b6e0ad8b5214ea5dd5317

6 years agoMerge "Add log for anomaly." into oc-dr1-dev
Lei Yu [Mon, 24 Jul 2017 17:56:35 +0000 (17:56 +0000)]
Merge "Add log for anomaly." into oc-dr1-dev

6 years agoAdd ResultPayload for always-on ambient display.
Andrew Sapperstein [Mon, 24 Jul 2017 17:34:06 +0000 (17:34 +0000)]
Add ResultPayload for always-on ambient display.
am: eb1a45b95b  -s ours

Change-Id: I67522a734dff97d37f09751817f99e5f8a6bf602

6 years agoAdd ResultPayload for always-on ambient display.
Andrew Sapperstein [Sat, 22 Jul 2017 23:22:49 +0000 (16:22 -0700)]
Add ResultPayload for always-on ambient display.

Bug: 62022517
Test: robotest
Change-Id: Ib4ee4d8d999e5a1f9edf34ea6068644b41fc4838

6 years agoAdd ResultPayload for always-on ambient display.
Andrew Sapperstein [Sat, 22 Jul 2017 23:22:49 +0000 (16:22 -0700)]
Add ResultPayload for always-on ambient display.

Bug: 62022517
Test: robotest
Change-Id: Ib6382030ffa0c159ab6ca4b45dd966ee9287181f
Merged-In: Ib4ee4d8d999e5a1f9edf34ea6068644b41fc4838

6 years agoMerge "Reindex db when package w/ searchIndexProvider changes" into oc-dr1-dev
Fan Zhang [Sat, 22 Jul 2017 17:59:36 +0000 (17:59 +0000)]
Merge "Reindex db when package w/ searchIndexProvider changes" into oc-dr1-dev
am: 6fcc38975c  -s ours

Change-Id: I8ab95d4753c9369a4d47c83ade83380d26733b46

6 years agoMerge "Reindex db when package w/ searchIndexProvider changes" into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 17:54:31 +0000 (17:54 +0000)]
Merge "Reindex db when package w/ searchIndexProvider changes" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Sat, 22 Jul 2017 16:32:30 +0000 (16:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 4d7111b0e9  -s ours

Change-Id: Ida2173d9ce4c4f4aa3efbb24fe0b68d9fa940a29

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 16:25:35 +0000 (16:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Jul 2017 10:57:25 +0000 (03:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0dbb4c3f5c88953469428df5ac70973d18e253ba
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoAdd Foreground Service time to battery usage
Michael Wachenschwanz [Tue, 11 Jul 2017 18:11:16 +0000 (11:11 -0700)]
Add Foreground Service time to battery usage

Add foreground service time to foreground usage time of apps. This will
account for app usage that user is aware of but is not being displayed
on screen, such as playing music while screen is locked.

Change-Id: Ica9fe0819e46b50299eb2eab7f0483ea01441fb0
Fixes: 38313557
Test: RunSettingsRoboTests

6 years agoMerge "Add help uri for process stats summary and apps." into oc-dr1-dev
Andrew Sapperstein [Sat, 22 Jul 2017 00:33:13 +0000 (00:33 +0000)]
Merge "Add help uri for process stats summary and apps." into oc-dr1-dev
am: 59a66d9b77

Change-Id: I2b279d3a1562e693caeaf64f2f91ab629b4e294f

6 years agoMerge "Tweak bluetooth name preference" into oc-dr1-dev
Fan Zhang [Sat, 22 Jul 2017 00:32:42 +0000 (00:32 +0000)]
Merge "Tweak bluetooth name preference" into oc-dr1-dev
am: 03c595ce24

Change-Id: I1d2f8d65fb7ba48bac656222c4501306103b385c

6 years agoMerge "Make anomaly item refresh in battery" into oc-dr1-dev
Lei Yu [Sat, 22 Jul 2017 00:32:21 +0000 (00:32 +0000)]
Merge "Make anomaly item refresh in battery" into oc-dr1-dev
am: 0ec3e4e626

Change-Id: Ie3e4b7ead145b22c44383443229043722b9e86d9

6 years agoMerge "Switch to using gray icon for Bluetooth imaging devices" into oc-dr1-dev
Antony Sargent [Sat, 22 Jul 2017 00:32:00 +0000 (00:32 +0000)]
Merge "Switch to using gray icon for Bluetooth imaging devices" into oc-dr1-dev
am: a6ac4890ed

Change-Id: Ib4cbffa94b0372419f60f16972836df27ad1fecf

6 years agoMerge "Move logic for FR in demo mode out of Settings" into oc-dr1-dev
Christine Franks [Sat, 22 Jul 2017 00:31:39 +0000 (00:31 +0000)]
Merge "Move logic for FR in demo mode out of Settings" into oc-dr1-dev
am: cb9a7075f8  -s ours

Change-Id: Id75c03768308873b6b2666eaae6d1c86f23d1663

6 years agoMerge "Add help uri for process stats summary and apps." into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 00:28:31 +0000 (00:28 +0000)]
Merge "Add help uri for process stats summary and apps." into oc-dr1-dev

6 years agoMerge "Move logic for FR in demo mode out of Settings" into oc-mr1-dev
Christine Franks [Fri, 21 Jul 2017 23:59:23 +0000 (23:59 +0000)]
Merge "Move logic for FR in demo mode out of Settings" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 22:16:56 +0000 (22:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Reindex db when package w/ searchIndexProvider changes" into oc-mr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 22:09:15 +0000 (22:09 +0000)]
Merge "Reindex db when package w/ searchIndexProvider changes" into oc-mr1-dev

6 years agoAdd help uri for process stats summary and apps.
Andrew Sapperstein [Fri, 21 Jul 2017 22:01:55 +0000 (15:01 -0700)]
Add help uri for process stats summary and apps.

Bug: 62903521
Test: manual
Change-Id: I55cdb061d79232676d4064677bd7f5936700e8b7

6 years agoMerge "Tweak bluetooth name preference" into oc-dr1-dev
Fan Zhang [Fri, 21 Jul 2017 21:41:29 +0000 (21:41 +0000)]
Merge "Tweak bluetooth name preference" into oc-dr1-dev

6 years agoMerge "Make anomaly item refresh in battery" into oc-dr1-dev
Lei Yu [Fri, 21 Jul 2017 20:28:01 +0000 (20:28 +0000)]
Merge "Make anomaly item refresh in battery" into oc-dr1-dev

6 years agoReindex db when package w/ searchIndexProvider changes
Fan Zhang [Fri, 21 Jul 2017 00:05:01 +0000 (17:05 -0700)]
Reindex db when package w/ searchIndexProvider changes

We do this by tracking a list of package/version that provides search
indexing data. When they change, we do a full reindex.

Change-Id: I85d4c4a994c7ff808662371c857cac1929a8b1cd
Merged-In: I906a1524f5b1292932f63727d605283ddb7d6ee2
Bug: 63903835
Test: robotests

6 years agoMerge "Switch to using gray icon for Bluetooth imaging devices" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 20:03:41 +0000 (20:03 +0000)]
Merge "Switch to using gray icon for Bluetooth imaging devices" into oc-dr1-dev

6 years agoAdd log for anomaly.
jackqdyulei [Tue, 18 Jul 2017 18:02:53 +0000 (11:02 -0700)]
Add log for anomaly.

This cl adds all the info that need to be logged to Anomaly and add a
dump method for log.

Bug: 63776178
Test: RunSettingsRoboTests
Change-Id: If762bfca725fee07944ffa23998332c81335a37f

6 years agoReindex db when package w/ searchIndexProvider changes
Fan Zhang [Fri, 21 Jul 2017 00:05:01 +0000 (17:05 -0700)]
Reindex db when package w/ searchIndexProvider changes

We do this by tracking a list of package/version that provides search
indexing data. When they change, we do a full reindex.

Change-Id: I906a1524f5b1292932f63727d605283ddb7d6ee2
Bug: 63903835
Test: robotests

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Jul 2017 19:22:06 +0000 (12:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifb876a3208315c84fad355fac5204336eb8681e1
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMove logic for FR in demo mode out of Settings
Christine Franks [Fri, 23 Jun 2017 21:28:21 +0000 (14:28 -0700)]
Move logic for FR in demo mode out of Settings

Bug: 62712426
Test: make \
ROBOTEST_FILTER="(MasterClearTest|FactoryResetPreferenceControllerTest
|UtilsTest)" \
RunSettingsRoboTests -j100
Change-Id: I5e287c3d4a6a7050bda78187c52aec19e90b50bc

6 years agoMerge "Move logic for FR in demo mode out of Settings" into oc-dr1-dev
Christine Franks [Fri, 21 Jul 2017 18:52:56 +0000 (18:52 +0000)]
Merge "Move logic for FR in demo mode out of Settings" into oc-dr1-dev

6 years agoMerge "Add shadow to searchbar when user scrolls vertically" into oc-dr1-dev
Fan Zhang [Fri, 21 Jul 2017 18:42:40 +0000 (18:42 +0000)]
Merge "Add shadow to searchbar when user scrolls vertically" into oc-dr1-dev
am: e09338a208  -s ours

Change-Id: Iabafe1e7ffdd70fa9694cf4e293d83b4aef6bba8

6 years agoTweak bluetooth name preference
Fan Zhang [Fri, 21 Jul 2017 18:34:39 +0000 (11:34 -0700)]
Tweak bluetooth name preference

- remove accent color from device name
- remove useless ripple when tap

Change-Id: I7800523eb27bafa24f3a4549b1acf02c869ac8c8
Fix: 62891178
Test: robotests

6 years agoMerge "Add shadow to searchbar when user scrolls vertically" into oc-dr1-dev
Fan Zhang [Fri, 21 Jul 2017 18:18:44 +0000 (18:18 +0000)]
Merge "Add shadow to searchbar when user scrolls vertically" into oc-dr1-dev

6 years agoMake anomaly item refresh in battery
jackqdyulei [Fri, 21 Jul 2017 01:00:20 +0000 (18:00 -0700)]
Make anomaly item refresh in battery

Bug: 63908155
Test: RunSettingsRoboTest
Change-Id: I3e220001ca989020447403641360fade4d09e969

6 years agoMerge "Fix gesture preview image visibility not set correctly." into oc-mr1-dev
Doris Ling [Fri, 21 Jul 2017 17:19:12 +0000 (17:19 +0000)]
Merge "Fix gesture preview image visibility not set correctly." into oc-mr1-dev

6 years agoZen settings screen update
Julia Reynolds [Fri, 21 Jul 2017 16:21:25 +0000 (16:21 +0000)]
Zen settings screen update
am: 56b748d686

Change-Id: Iaac694915e20e5dc0f5edd0d1be17321621caa6e

6 years agoZen settings screen update
Julia Reynolds [Fri, 21 Jul 2017 13:07:23 +0000 (09:07 -0400)]
Zen settings screen update

- Remove app attribution
- Change visual disturbances label

Change-Id: Id2f7a16817a3b044db4374bf45a54706b8c42eff
Fixes: 63905920
Fixes: 63906381
Test: manual

6 years agoMerge "Make the support loader activity display UI." into oc-dr1-dev
Daniel Nishi [Fri, 21 Jul 2017 01:47:17 +0000 (01:47 +0000)]
Merge "Make the support loader activity display UI." into oc-dr1-dev
am: 4ab6f77f98

Change-Id: I06dea000a9bc74314905f49843262e79a6c240dd