OSDN Git Service

android-x86/packages-apps-Settings.git
6 years ago[automerger skipped] Change UI for wireless AP tether band selection am: acff57fa68
Salvador Martinez [Wed, 13 Jun 2018 01:00:12 +0000 (18:00 -0700)]
[automerger skipped] Change UI for wireless AP tether band selection am: acff57fa68
am: 31a33ba6b6  -s ours

Change-Id: Ied6d51a306ac9b7442ee482d16d1ed31f0007b3d

6 years agoChange UI for wireless AP tether band selection
Salvador Martinez [Wed, 13 Jun 2018 00:15:51 +0000 (17:15 -0700)]
Change UI for wireless AP tether band selection
am: acff57fa68

Change-Id: I47124f2fa50015eca97cee589b4a1f94f43123fd

6 years agoMerge "Add padding between battery text and icon"
TreeHugger Robot [Tue, 12 Jun 2018 23:32:26 +0000 (23:32 +0000)]
Merge "Add padding between battery text and icon"

6 years agoChange UI for wireless AP tether band selection
Salvador Martinez [Wed, 30 May 2018 00:53:02 +0000 (17:53 -0700)]
Change UI for wireless AP tether band selection

We decided to use the list preference after all due to
some devices not supporting various combinations of AP
configurations. This change makes it so that there are
three different UIs depending on the configurations
which are supported.
- 5.0 GHz unsupported: disable the preference and just
set the value to 2.4 GHz
- all supported, no dual mode: allow the user to choose
EITHER 2.4 GHz or 5.0 GHz
- all supported, dual mode: allow the user to choose
2.4 GHz or BOTH 2.4 GHz & 5.0 GHz with 5.0 being
preferred

Test: atest SettingsRoboTests
Bug: 80315296
Change-Id: I888d35811a98b8cf0155a3cb96c42ff762763378
Merged-In: I888d35811a98b8cf0155a3cb96c42ff762763378

6 years agoRemove internal ApnSetting.
yuemingw [Tue, 12 Jun 2018 22:55:42 +0000 (15:55 -0700)]
Remove internal ApnSetting.
am: ff73564ea0

Change-Id: I8faf14404a5e59f598cc531a776b53471cb17fce

6 years agoMerge "Consolidate the 2 app button prefernece controllers."
TreeHugger Robot [Tue, 12 Jun 2018 22:44:54 +0000 (22:44 +0000)]
Merge "Consolidate the 2 app button prefernece controllers."

6 years agoMerge "Hide quicksetting tile for dev options when it's turned off"
TreeHugger Robot [Tue, 12 Jun 2018 21:58:33 +0000 (21:58 +0000)]
Merge "Hide quicksetting tile for dev options when it's turned off"

6 years agoConsolidate the 2 app button prefernece controllers.
Doris Ling [Mon, 11 Jun 2018 22:11:44 +0000 (15:11 -0700)]
Consolidate the 2 app button prefernece controllers.

- move the fuelgauge app button controller and the button dialog
fragment into app info package and change app detail fragment to use
that controller instead.
- remove the original appinfo/AppActionButtonPreferenceController

Change-Id: I94ca072a8dfe6051853eb23efa1f96ac3e13d79d
Fixes: 80312809
Test: make RunSettingsRoboTests

6 years agoHide quicksetting tile for dev options when it's turned off
Fan Zhang [Tue, 12 Jun 2018 19:06:17 +0000 (12:06 -0700)]
Hide quicksetting tile for dev options when it's turned off

Change-Id: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Fixes: 78652607
Test: robotests

6 years agoMerge "To show hearing aids device in the available devices group"
TreeHugger Robot [Tue, 12 Jun 2018 17:03:12 +0000 (17:03 +0000)]
Merge "To show hearing aids device in the available devices group"

6 years agoClean up KeyStore exception warning caused by adding a new VPN.
Irina Dumitrescu [Fri, 8 Jun 2018 18:26:25 +0000 (19:26 +0100)]
Clean up KeyStore exception warning caused by adding a new VPN.

Bug:109791294
Test: manually navigate to settings and click the + button in VPN.
Change-Id: Ib94778ef3fdab0fc8147477b91f644c54dc04c24

6 years agoRemove internal ApnSetting.
yuemingw [Mon, 9 Apr 2018 16:00:38 +0000 (17:00 +0100)]
Remove internal ApnSetting.

Remove com.android.internal.telephony.dataconnection.ApnSetting and
use android.telephony.data.ApnSetting instead.

Bug: 77511388
Test: existing test
Change-Id: I8ca1fb399026a8ef4ba9afa18678d986daa50606

6 years ago[automerger skipped] Merge "DO NOT MERGE Revert "Fix gray out previously connected...
Artem Iglikov [Tue, 12 Jun 2018 13:37:39 +0000 (06:37 -0700)]
[automerger skipped] Merge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue"" into pi-dev am: 5cb6b79400
am: 270c692e7f  -s ours

Change-Id: I7fe330c63ac16dd515782135e8d7b6f51151ee78

6 years agoMerge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue...
Artem Iglikov [Tue, 12 Jun 2018 13:35:19 +0000 (06:35 -0700)]
Merge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue"" into pi-dev
am: 5cb6b79400

Change-Id: I6c958dc1d0c4d87eeafe1855da6455f4185597da

6 years agoMerge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue...
TreeHugger Robot [Tue, 12 Jun 2018 12:47:36 +0000 (12:47 +0000)]
Merge "DO NOT MERGE Revert "Fix gray out previously connected device preference issue"" into pi-dev

6 years agoDO NOT MERGE Revert "Fix gray out previously connected device preference issue"
Artem Iglikov [Tue, 12 Jun 2018 11:40:24 +0000 (11:40 +0000)]
DO NOT MERGE Revert "Fix gray out previously connected device preference issue"

This reverts commit 95abf59af43bafe4922b8cc096b10b65440419b8.

Reason for revert: Crashes settings (b/110075201)

Bug: 110075201
Change-Id: Ie6ea94e0891754f18576bd21447b64410d2fd23a

6 years ago[automerger skipped] Merge "Fix gray out previously connected device preference issue...
Ivan Chiang [Tue, 12 Jun 2018 11:04:27 +0000 (04:04 -0700)]
[automerger skipped] Merge "Fix gray out previously connected device preference issue" into pi-dev am: 2ffa711cd1
am: d718f4bb8b  -s ours

Change-Id: Ie6c4a274fae210ca72ed746d430b863a85dca2c7

6 years agoTo show hearing aids device in the available devices group
timhypeng [Fri, 25 May 2018 06:01:02 +0000 (14:01 +0800)]
To show hearing aids device in the available devices group

Bug: 79553082
Test: make -j50 RunSettingsRoboTests
Change-Id: I8fe5eb653d332ef5ac4a566146f150774581167c

6 years agoMerge "Fix gray out previously connected device preference issue" into pi-dev
Ivan Chiang [Tue, 12 Jun 2018 08:20:56 +0000 (01:20 -0700)]
Merge "Fix gray out previously connected device preference issue" into pi-dev
am: 2ffa711cd1

Change-Id: Id889619b77d10826ad0c0eefe494b7aea3a4d779

6 years agoMerge "Fix gray out previously connected device preference issue" into pi-dev
TreeHugger Robot [Tue, 12 Jun 2018 07:34:15 +0000 (07:34 +0000)]
Merge "Fix gray out previously connected device preference issue" into pi-dev

6 years agoMerge "Misc clean up. move widgets from graph to widget package."
TreeHugger Robot [Tue, 12 Jun 2018 01:01:32 +0000 (01:01 +0000)]
Merge "Misc clean up. move widgets from graph to widget package."

6 years agoMerge "Suppress "see all" from settings search."
TreeHugger Robot [Tue, 12 Jun 2018 00:50:27 +0000 (00:50 +0000)]
Merge "Suppress "see all" from settings search."

6 years agoMerge "Add a switchbar to turn off multi-user feature entirely"
TreeHugger Robot [Mon, 11 Jun 2018 23:59:18 +0000 (23:59 +0000)]
Merge "Add a switchbar to turn off multi-user feature entirely"

6 years agoMisc clean up. move widgets from graph to widget package.
Fan Zhang [Mon, 11 Jun 2018 23:00:09 +0000 (16:00 -0700)]
Misc clean up. move widgets from graph to widget package.

Bug: n/a
Test: robotests, rebuild
Change-Id: I910f355312d52e81a0bf57b46a3f267e1eb9882a

6 years agoMerge "Remove DataSummaryUsageLegacy."
TreeHugger Robot [Mon, 11 Jun 2018 22:51:13 +0000 (22:51 +0000)]
Merge "Remove DataSummaryUsageLegacy."

6 years agoSuppress "see all" from settings search.
Fan Zhang [Mon, 11 Jun 2018 22:35:03 +0000 (15:35 -0700)]
Suppress "see all" from settings search.

Bug: 109894919
Test: reindex search
Change-Id: I009c5d2f366af402dcbfd2eb75b56bfcbb9217a6

6 years agoAdd a switchbar to turn off multi-user feature entirely
Fan Zhang [Tue, 5 Jun 2018 22:36:40 +0000 (15:36 -0700)]
Add a switchbar to turn off multi-user feature entirely

Change-Id: Ibf88bf37899af5065c68aeb2337acd4ee48bc13c
Fixes: 72319180
Test: robotest on new controller. Manual test on UserSettings fragment.

6 years agoAdd padding between battery text and icon
jackqdyulei [Mon, 11 Jun 2018 21:12:13 +0000 (14:12 -0700)]
Add padding between battery text and icon

Change-Id: I4625ae6168278f7e69e9e26ed9c12958645e920e
Fixes: 80281413
Test: Screenshot

6 years agoMerge "Handle usageevents for work profile apps"
TreeHugger Robot [Mon, 11 Jun 2018 20:53:33 +0000 (20:53 +0000)]
Merge "Handle usageevents for work profile apps"

6 years agoSkip device index job if caller is not Settings app. am: 9ecf3e0c11
Fan Zhang [Mon, 11 Jun 2018 19:26:03 +0000 (12:26 -0700)]
Skip device index job if caller is not Settings app. am: 9ecf3e0c11
am: 251c324646

Change-Id: I67ae2371016f8c143bdbbf180ac09b9968c16c7d

6 years agoSkip device index job if caller is not Settings app.
Fan Zhang [Mon, 11 Jun 2018 18:40:07 +0000 (11:40 -0700)]
Skip device index job if caller is not Settings app.
am: 9ecf3e0c11

Change-Id: I84974379ac3074367623cce60d6633fd4390ed00

6 years agoHandle usageevents for work profile apps
Julia Reynolds [Mon, 21 May 2018 18:17:26 +0000 (14:17 -0400)]
Handle usageevents for work profile apps

Test: robotests
Change-Id: Ifdc6e456d76614220b2052e6ca8a8f3676d0e2ee
Fixes: 79142791

6 years agoRemove DataSummaryUsageLegacy.
Fan Zhang [Mon, 11 Jun 2018 16:28:02 +0000 (09:28 -0700)]
Remove DataSummaryUsageLegacy.

Change-Id: I8da039530cafe547008b434b6016add5f9383e94
Fixes: 109943959
Test: robotest/atest

6 years agoMerge "Remove references to SettingsBase styles"
TreeHugger Robot [Mon, 11 Jun 2018 18:05:32 +0000 (18:05 +0000)]
Merge "Remove references to SettingsBase styles"

6 years agoSkip device index job if caller is not Settings app.
Fan Zhang [Wed, 30 May 2018 16:50:52 +0000 (09:50 -0700)]
Skip device index job if caller is not Settings app.

Change-Id: I96184f111e83477b46ddf321ec74917bab330048
Fixes: 80437512
Fixes: 109713077
Test: robotests
(cherry picked from commit 74ba1a51d74a4fb7fc2ccd62fd38087974c20020)

6 years agoAdd summary to PreventRingingParent
Beverly [Thu, 7 Jun 2018 14:43:47 +0000 (10:43 -0400)]
Add summary to PreventRingingParent

Parent preference previously didn't have a summary
Moved summary test to PreventRingingParentPreferenceControllerTest

Test: PreventRingingParentPreferenceControllerTest.java
Change-Id: I2891e1ccffc4ea8007c8bd25689f242ee34c652c

6 years agoMerge "Change the string"
TreeHugger Robot [Mon, 11 Jun 2018 03:39:19 +0000 (03:39 +0000)]
Merge "Change the string"

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 44de687b93
Xin Li [Sat, 9 Jun 2018 13:52:22 +0000 (06:52 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 44de687b93
am: 5a0817ce57

Change-Id: I872c4eb99d693c48a174cbd98231c75af199ed79

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Sat, 9 Jun 2018 10:23:12 +0000 (03:23 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 44de687b93

Change-Id: I9aca24c1ee7a0ce46d8a7845ba78735fd03410c7

6 years agoMerge "Check EnforcedAdmin to see if location is locked down by device policy."
TreeHugger Robot [Sat, 9 Jun 2018 01:23:26 +0000 (01:23 +0000)]
Merge "Check EnforcedAdmin to see if location is locked down by device policy."

6 years agoMerge "Misc search clean up"
TreeHugger Robot [Fri, 8 Jun 2018 23:01:04 +0000 (23:01 +0000)]
Merge "Misc search clean up"

6 years agoMisc search clean up
Fan Zhang [Fri, 8 Jun 2018 21:32:04 +0000 (14:32 -0700)]
Misc search clean up

- Make color mode page searchable and suppress its parent page.
- Suppress entire DataUsageSummaryLegacy page in search. This page will
  be deleted soon

Change-Id: I0f98c9073358934b98e986d034c89a9bf87e58ad
Fixes: 70720645
Test: robotests

6 years agoMerge "Check wifi password length by byte, not char."
TreeHugger Robot [Fri, 8 Jun 2018 21:37:26 +0000 (21:37 +0000)]
Merge "Check wifi password length by byte, not char."

6 years agoMerge "Fix memory leaks in Settings"
TreeHugger Robot [Fri, 8 Jun 2018 21:07:30 +0000 (21:07 +0000)]
Merge "Fix memory leaks in Settings"

6 years agoMerge "Avoids systemui color tint flicker because no system ui flags set"
TreeHugger Robot [Fri, 8 Jun 2018 20:50:00 +0000 (20:50 +0000)]
Merge "Avoids systemui color tint flicker because no system ui flags set"

6 years agoRemove references to SettingsBase styles
Antony Sargent [Tue, 5 Jun 2018 21:31:32 +0000 (14:31 -0700)]
Remove references to SettingsBase styles

We've moved the values for several preference-related styles used in
Settings from SettingsLib into the support library. This CL removes the
references to the SettingsLib versions from Settings so they can be
removed from SettingsLib.

Also delete an unused layout file that was moved to SettingsLib a long
time ago (preference_dropdown_material_settings.xml).

Bug: 64689839
Test: visual (styles for things like icon spacing, dividers, etc. should
be the same)

Change-Id: Ib7a745218086269c2e861b18df68bd835929da19

6 years agoCheck wifi password length by byte, not char.
Fan Zhang [Fri, 8 Jun 2018 20:18:07 +0000 (13:18 -0700)]
Check wifi password length by byte, not char.

Change-Id: Ie6dc441780660c52ff01a2bced79a4e95200d731
Fixes: 79209073
Test: robotest

6 years agoMerge "Don't crash if IMEI is empty"
TreeHugger Robot [Fri, 8 Jun 2018 19:07:22 +0000 (19:07 +0000)]
Merge "Don't crash if IMEI is empty"

6 years agoFix memory leaks in Settings
Fan Zhang [Thu, 7 Jun 2018 18:33:48 +0000 (11:33 -0700)]
Fix memory leaks in Settings

Bug: 80507279
Test: inspected hprof before and after fix
Change-Id: I6ea2925695deb6261263649e858484e1667ec522

6 years agoMerge "Fix typo" into pi-dev am: 29eec443e0
Beverly [Fri, 8 Jun 2018 18:47:07 +0000 (11:47 -0700)]
Merge "Fix typo" into pi-dev am: 29eec443e0
am: a045b13e0a

Change-Id: Iccf8130b9740faf66c8b05189ff0d0b13aebe5fe

6 years agoMerge "Fix typo" into pi-dev
Beverly [Fri, 8 Jun 2018 18:42:11 +0000 (11:42 -0700)]
Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I3fc887ca87b96b93989e187abf05b66201d29b95

6 years ago2nd attempt handle BT is not supported on emulator am: 59287d40d1
ryanywlin [Fri, 8 Jun 2018 18:33:53 +0000 (11:33 -0700)]
2nd attempt handle BT is not supported on emulator am: 59287d40d1
am: de3d9a0a73

Change-Id: I27c16d76f25480a36b5b73cdcb3042cee7754a5f

6 years agoMerge "Fix typo" into pi-dev
TreeHugger Robot [Fri, 8 Jun 2018 18:32:47 +0000 (18:32 +0000)]
Merge "Fix typo" into pi-dev

6 years ago2nd attempt handle BT is not supported on emulator
ryanywlin [Fri, 8 Jun 2018 18:10:56 +0000 (11:10 -0700)]
2nd attempt handle BT is not supported on emulator
am: 59287d40d1

Change-Id: I843fc58484df106af09cae87dcb886ea49aa53ea

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Fri, 8 Jun 2018 18:08:02 +0000 (11:08 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master

Bug: 79597307
Change-Id: Ibb6c6e3f775ee19127711fcc10b2e00a2289a026

6 years agoDon't crash if IMEI is empty
Matthew Fritze [Fri, 8 Jun 2018 17:49:06 +0000 (10:49 -0700)]
Don't crash if IMEI is empty

Change-Id: I5993d332dbd218c981ef5432aebb735d0000f67a
Fixes: 109787187
Test: robotests

6 years agoMerge "Remove bottom padding on screen saturation preview"
TreeHugger Robot [Fri, 8 Jun 2018 17:23:26 +0000 (17:23 +0000)]
Merge "Remove bottom padding on screen saturation preview"

6 years agoMerge "Add help uri for prevent ringing gesture"
TreeHugger Robot [Fri, 8 Jun 2018 16:29:31 +0000 (16:29 +0000)]
Merge "Add help uri for prevent ringing gesture"

6 years agoRemove bottom padding on screen saturation preview
Matthew Fritze [Fri, 8 Jun 2018 16:07:08 +0000 (09:07 -0700)]
Remove bottom padding on screen saturation preview

Change-Id: I5c43209d5711c32e6ab91f65a2fced4b0c9b4c23
Fixes: 80091062
Test: none, only visual changes.

6 years agoMerge "Fix typo"
TreeHugger Robot [Fri, 8 Jun 2018 15:39:47 +0000 (15:39 +0000)]
Merge "Fix typo"

6 years agoFix typo
Beverly [Fri, 8 Jun 2018 14:44:05 +0000 (10:44 -0400)]
Fix typo

Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b

6 years agoMerge "Don't force lower case in ZenSettings"
TreeHugger Robot [Fri, 8 Jun 2018 14:44:33 +0000 (14:44 +0000)]
Merge "Don't force lower case in ZenSettings"

6 years agoMerge "Hide block pref on non-configurable channels"
TreeHugger Robot [Fri, 8 Jun 2018 14:44:16 +0000 (14:44 +0000)]
Merge "Hide block pref on non-configurable channels"

6 years agoFix typo
Beverly [Fri, 8 Jun 2018 14:44:05 +0000 (10:44 -0400)]
Fix typo

Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b

6 years agoAdd help uri for prevent ringing gesture
Beverly [Thu, 7 Jun 2018 14:43:32 +0000 (10:43 -0400)]
Add help uri for prevent ringing gesture

Test: build
Bug: 79270169
Change-Id: Iea5598f26649854521202363cad6ee297cef3057

6 years ago2nd attempt handle BT is not supported on emulator
ryanywlin [Fri, 8 Jun 2018 06:36:34 +0000 (14:36 +0800)]
2nd attempt handle BT is not supported on emulator

Error handle before using LocalBluetoothManager in the onStart
and onStop

Bug: 80491267
Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j42
Change-Id: I47f7d3b7cddc2fbbafb8fb5cf0fb6adb2d0d2d55

6 years agoFix context leak in AudioSwitchPreferenceController. am: ee96c3a259
Fan Zhang [Fri, 8 Jun 2018 04:52:30 +0000 (21:52 -0700)]
Fix context leak in AudioSwitchPreferenceController. am: ee96c3a259
am: 1fe94d4fd7

Change-Id: I398a214bb05fa6c957530dde42c3c6b18d55658c

6 years agoFix context leak in AudioSwitchPreferenceController.
Fan Zhang [Fri, 8 Jun 2018 01:14:01 +0000 (18:14 -0700)]
Fix context leak in AudioSwitchPreferenceController.
am: ee96c3a259

Change-Id: I3575074241ee60d573563edbffa214f0d705bea3

6 years agoMerge "Fix context leak in AudioSwitchPreferenceController."
TreeHugger Robot [Thu, 7 Jun 2018 22:57:17 +0000 (22:57 +0000)]
Merge "Fix context leak in AudioSwitchPreferenceController."

6 years agoFix context leak in AudioSwitchPreferenceController.
Fan Zhang [Thu, 7 Jun 2018 18:51:09 +0000 (11:51 -0700)]
Fix context leak in AudioSwitchPreferenceController.

In this controller the context is stored into a global singleton but was
not cleared, thus leaking context and associated views.

Change-Id: I4247f8ff753bc0a331c6c81a0e4b5b4bc41588de
Bug: 80507279
Test: robotests
Test: inspected hprof before/after change

6 years agoFix Robolectric tests
Maurice Lam [Thu, 7 Jun 2018 20:12:50 +0000 (13:12 -0700)]
Fix Robolectric tests

Test: atest RunSettingsRoboTests
Change-Id: I66a6d1c42d57685c4beb9daeb534685c5cdd9c50

6 years agoHide block pref on non-configurable channels
Julia Reynolds [Thu, 7 Jun 2018 19:45:41 +0000 (15:45 -0400)]
Hide block pref on non-configurable channels

Test: robotests
Bug: 109875297
Change-Id: I164ae2e07d178db9e84746e5c59f0968e6c77eae

6 years agoFix context leak in AudioSwitchPreferenceController.
Fan Zhang [Thu, 7 Jun 2018 18:51:09 +0000 (11:51 -0700)]
Fix context leak in AudioSwitchPreferenceController.

In this controller the context is stored into a global singleton but was
not cleared, thus leaking context and associated views.

Change-Id: I4247f8ff753bc0a331c6c81a0e4b5b4bc41588de
Fixes: 80507279
Test: robotests
Test: inspected hprof before/after change

6 years agoMerge "Add comments and additional constants for the known bad anomaly types." into...
Joe Onorato [Thu, 7 Jun 2018 17:39:20 +0000 (10:39 -0700)]
Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev am: 32d9f451f9
am: d4fba82998

Change-Id: I4f4985a792a337c90b2949d0015dc50343cad007

6 years agoMerge "Add comments and additional constants for the known bad anomaly types." into...
Joe Onorato [Thu, 7 Jun 2018 17:07:51 +0000 (10:07 -0700)]
Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev
am: 32d9f451f9

Change-Id: Ib66379c8c5a5dbae415aecc701ebb0a66859b7d5

6 years agoMerge "Add comments and additional constants for the known bad anomaly types." into...
TreeHugger Robot [Thu, 7 Jun 2018 16:48:51 +0000 (16:48 +0000)]
Merge "Add comments and additional constants for the known bad anomaly types." into pi-dev

6 years agoDon't force lower case in ZenSettings
Beverly [Fri, 1 Jun 2018 17:17:34 +0000 (13:17 -0400)]
Don't force lower case in ZenSettings

Programatically lower casing letters is bad for translations

Change-Id: Iea39186b9716f628ed96ad457b09440bd177d821
Fixes: 77961695
Test: ZenModeSettingsTest.java

6 years ago[RadioInfo] Save PreferredNetworkMode to Settings am: daea8be9ab
Nathan Harold [Thu, 7 Jun 2018 02:36:03 +0000 (19:36 -0700)]
[RadioInfo] Save PreferredNetworkMode to Settings am: daea8be9ab
am: 1701aaf186

Change-Id: Ic2e685fa8076d0ac1255d3bf61b49c70f1d1767f

6 years agoMerge "If zen settings are updated, don't show onboarding" into pi-dev am: aaac61eb5e
Beverly [Thu, 7 Jun 2018 02:30:55 +0000 (19:30 -0700)]
Merge "If zen settings are updated, don't show onboarding" into pi-dev am: aaac61eb5e
am: 1717b8550e

Change-Id: Ibc0487db15cdd7b3a5648e11779af619a689f69d

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: a1be4c...
Bill Yi [Thu, 7 Jun 2018 02:30:07 +0000 (19:30 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: a1be4c0829  -s ours
am: ac7ce09efe  -s ours

Change-Id: If5dae0c194229ea6ee60a8e28e9f5411a809ef7c

6 years agoRequest Focus in fingerprint rename dialog am: 7a1d52eb06
Evan Rosky [Thu, 7 Jun 2018 02:25:24 +0000 (19:25 -0700)]
Request Focus in fingerprint rename dialog am: 7a1d52eb06
am: 679c8de583

Change-Id: I5e17fe8417ad5394bea6d9cc1a9a8f96f6fc1fa4

6 years ago[RadioInfo] Save PreferredNetworkMode to Settings
Nathan Harold [Thu, 7 Jun 2018 02:19:44 +0000 (19:19 -0700)]
[RadioInfo] Save PreferredNetworkMode to Settings
am: daea8be9ab

Change-Id: I801ae6b29a4cfe1286c4f032662191154dc911fb

6 years agoMerge "If zen settings are updated, don't show onboarding" into pi-dev
Beverly [Thu, 7 Jun 2018 01:34:25 +0000 (18:34 -0700)]
Merge "If zen settings are updated, don't show onboarding" into pi-dev
am: aaac61eb5e

Change-Id: I96929a31ab8f644f83db74ce12b201bd0852c782

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 7 Jun 2018 00:30:01 +0000 (17:30 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: a1be4c0829  -s ours

Change-Id: I70453eadb2cf9f4f4130fb68d5ce6f03cc018c3a

6 years ago[RadioInfo] Save PreferredNetworkMode to Settings
Nathan Harold [Tue, 5 Jun 2018 21:02:35 +0000 (14:02 -0700)]
[RadioInfo] Save PreferredNetworkMode to Settings

Historically, the debug menu intentionally did not
save the preferred network mode once chosen. This
causes problems because some settings cause a phone
switch which overrides the preferred network mode,
which can cause another phone switch and again
override the preferred network mode, completely
obliterating the requested debug setting. This change
will now save the debug menu setting to the system
settings, which will prevent the circular changes and
loss of setting due to phone switching.

However, caching the debug setting to prevent the phone
switch logic from overriding the setting has a side
effect, which is why it wasn't done historically.
If a debug setting of the preferred network mode
is set, it will cause the UX of the non-debug network
preference screen to change. Thus, someone who uses
the debug menu to make changes must be careful to
re-set the setting to return to the correct UX of the
publicly displayed menu.

Bug: 95133265
Test: -manually set preferred network mode using the
       RadioInfo menu and observed that there is no
       phone switch when setting CDMA.
      -confirmed that changing the network mode in
       RadioInfo will cause UX changes to the public
       network preference menu.

Change-Id: I91f669956a6d02515530855c4617cd0a767d73fa

6 years agoRequest Focus in fingerprint rename dialog
Evan Rosky [Thu, 7 Jun 2018 00:24:22 +0000 (17:24 -0700)]
Request Focus in fingerprint rename dialog
am: 7a1d52eb06

Change-Id: I5add9d81a0e6814e5664fc25a3309acda29361b5

6 years agoMerge "Make icon size on Printing settings match the rest of settings"
TreeHugger Robot [Wed, 6 Jun 2018 23:58:27 +0000 (23:58 +0000)]
Merge "Make icon size on Printing settings match the rest of settings"

6 years agoMake icon size on Printing settings match the rest of settings
Antony Sargent [Wed, 6 Jun 2018 21:37:36 +0000 (14:37 -0700)]
Make icon size on Printing settings match the rest of settings

The icons on this page were being displayed at 48dp because we were
using a generic Preference element, instead of the custom settings
AppPreference which we use in lots of other places in settings for
displaying app entries in a list (and has a custom layout that ends up
with 32dp icons).

Fixes: 78654919
Test: manual (go to Settings -> Connected devices -> Connection
preferences -> Printing)

Change-Id: Icf21ab6b41fc00936cd58f3342a8c5502c6dd87f

6 years agoAdd comments and additional constants for the known bad anomaly types.
Joe Onorato [Tue, 22 May 2018 20:37:30 +0000 (13:37 -0700)]
Add comments and additional constants for the known bad anomaly types.

They aren't being used now, but by declaring them now we can consolidate
what we are encouraging OEMs to do in the PI timeframe.

Bug: 78013987
Test: treehugger
Change-Id: I7f86491448e799081b18d71274d2629a902d4972

6 years agoMerge "If zen settings are updated, don't show onboarding" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 21:40:43 +0000 (21:40 +0000)]
Merge "If zen settings are updated, don't show onboarding" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 21:38:42 +0000 (21:38 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Change UI for wireless AP tether band selection"
TreeHugger Robot [Wed, 6 Jun 2018 21:19:41 +0000 (21:19 +0000)]
Merge "Change UI for wireless AP tether band selection"

6 years agoIf zen settings are updated, don't show onboarding
Beverly [Wed, 6 Jun 2018 15:00:09 +0000 (11:00 -0400)]
If zen settings are updated, don't show onboarding

Change-Id: I33c328e5d90f1b948c7dacb2e7f6265a1e496d35
Fixes: 109668117
Test: ZenOnboardingActivity
(cherry picked from commit da412f07e5a8833dc96f820ac13c44bb70114ac6)

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jun 2018 20:20:03 +0000 (13:20 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8cc9d67a4676ed8db1d8c48a76478efc715375fb

6 years agoChange UI for wireless AP tether band selection
Salvador Martinez [Wed, 30 May 2018 00:53:02 +0000 (17:53 -0700)]
Change UI for wireless AP tether band selection

We decided to use the list preference after all due to
some devices not supporting various combinations of AP
configurations. This change makes it so that there are
three different UIs depending on the configurations
which are supported.
- 5.0 GHz unsupported: disable the preference and just
set the value to 2.4 GHz
- all supported, no dual mode: allow the user to choose
EITHER 2.4 GHz or 5.0 GHz
- all supported, dual mode: allow the user to choose
2.4 GHz or BOTH 2.4 GHz & 5.0 GHz with 5.0 being
preferred

Test: atest SettingsRoboTests
Bug: 80315296
Change-Id: I888d35811a98b8cf0155a3cb96c42ff762763378

6 years agoRequest Focus in fingerprint rename dialog
Evan Rosky [Wed, 6 Jun 2018 19:52:05 +0000 (12:52 -0700)]
Request Focus in fingerprint rename dialog

Bug: 68841055
Test: Manual. dialog comes up with focused entry
Change-Id: I5bb1b7227c1323595bf7f483e11e87e2c3550093

6 years agoMerge "If zen settings are updated, don't show onboarding"
TreeHugger Robot [Wed, 6 Jun 2018 19:51:37 +0000 (19:51 +0000)]
Merge "If zen settings are updated, don't show onboarding"

6 years agoMerge "Fix monkey crash on selecting account sync prefernece."
Doris Ling [Wed, 6 Jun 2018 18:44:56 +0000 (18:44 +0000)]
Merge "Fix monkey crash on selecting account sync prefernece."

6 years agoIf zen settings are updated, don't show onboarding
Beverly [Wed, 6 Jun 2018 15:00:09 +0000 (11:00 -0400)]
If zen settings are updated, don't show onboarding

Change-Id: I33c328e5d90f1b948c7dacb2e7f6265a1e496d35
Bug: 109668117
Test: ZenOnboardingActivity

6 years agoCheck EnforcedAdmin to see if location is locked down by device policy.
yuemingw [Fri, 1 Jun 2018 16:11:31 +0000 (17:11 +0100)]
Check EnforcedAdmin to see if location is locked down by device policy.

Bug: 78563793
Test: m -j RunSettingsRoboTests
and manually via TestDPC

Change-Id: Iad2f11bde51bf6c321beb3c4709d53971a8e40c7