OSDN Git Service

android-x86/packages-apps-Settings.git
4 years agoMerge "If the user add APN with empty APN type, map it for default type" into qt...
SongFerng Wang [Thu, 22 Aug 2019 09:49:27 +0000 (09:49 +0000)]
Merge "If the user add APN with empty APN type, map it for default type" into qt-qpr1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Wed, 21 Aug 2019 23:32:19 +0000 (23:32 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Wed, 21 Aug 2019 23:06:39 +0000 (16:06 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 91ca872a44 -s ours
am skip reason: subject contains skip directive

Change-Id: I72351a3f496967c2ef6e6a4e457a4d30d5b70955

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Aug 2019 22:12:57 +0000 (15:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 138829927
Change-Id: Ibebcce851f08b7cc14d8707305f2c21b29e7dfc0

4 years agoMerge "[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791" into qt-qpr1-dev
TreeHugger Robot [Wed, 21 Aug 2019 21:19:19 +0000 (21:19 +0000)]
Merge "[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Aug 2019 19:57:11 +0000 (12:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia404cdb510ff6c09446362da5ca1738f20bcc9fe

4 years ago[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791
Hyunyoung Song [Tue, 20 Aug 2019 07:46:22 +0000 (00:46 -0700)]
[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791

Test: presubmit setup on source branch
Change-Id: I4ff876bd5e711e04be5148008fdaa6ef29df0cbe

4 years agoIf the user add APN with empty APN type, map it for default type
andychou [Wed, 7 Aug 2019 06:41:49 +0000 (14:41 +0800)]
If the user add APN with empty APN type, map it for default type

Original behavior will map all APN type if enter empty APN type. But it
sometimes cause problem that MMS or IMS not working when select to this
custom APN. So if the user doesn't enter any APN type, just map to
valure of carrier config 'apn_settings_default_apn_types_string_array'
to avoid all the functions broken.

Bug: 129704611
Test: 1.Enter empty APN type and check if only default is added into
APN. 2.atest ApnEditorTest pass.
Change-Id: Icec274e5b402af06822479bcc60294b347f5254f

4 years agoMerge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" into qt-qpr1-dev
Goven Liu [Wed, 21 Aug 2019 05:13:49 +0000 (05:13 +0000)]
Merge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" into qt-qpr1-dev

4 years ago[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog
govenliu [Mon, 19 Aug 2019 06:35:02 +0000 (14:35 +0800)]
[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog

We should set the same theme which applied in Settings APP to the NetworkRequestDialog

Bug: 139294487
Test: check if the right theme is applied when launching this activity.
Change-Id: Iefdfd5b810f5cf22c220830e1ee965113a439a3e
Merged-In: Iefdfd5b810f5cf22c220830e1ee965113a439a3e

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 20 Aug 2019 22:26:43 +0000 (15:26 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I79a6c2c9db40e5198b2bbe60f23d4d2e40f5ab19

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 20 Aug 2019 20:36:35 +0000 (13:36 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: ba8880dd87 -s ours
am skip reason: subject contains skip directive

Change-Id: I5bcce2e15265af9c85e766fd62beb3b65c13d809

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 20 Aug 2019 17:52:47 +0000 (10:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 139484065
Change-Id: I6c50b4480bec5326951eb809eabc7194d1d06b65

4 years agoMerge "Remove attention controller" into qt-r1-dev
Kevin Chyn [Tue, 20 Aug 2019 02:57:37 +0000 (19:57 -0700)]
Merge "Remove attention controller" into qt-r1-dev
am: 41aafab963

Change-Id: Ic5e2b13d6246fe7693a8f1c289d82d43d3fc6efd

4 years agoMerge "Remove attention controller" into qt-r1-dev
TreeHugger Robot [Tue, 20 Aug 2019 02:37:20 +0000 (02:37 +0000)]
Merge "Remove attention controller" into qt-r1-dev

4 years agoMerge "Remove delay from enroll start button" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 22:08:48 +0000 (15:08 -0700)]
Merge "Remove delay from enroll start button" into qt-r1-dev
am: ca2bbdfeca

Change-Id: I59870f9318f9ac84107c437aaa660f3d28b861c5

4 years agoMerge "Remove delay from enroll start button" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove delay from enroll start button" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Aug 2019 17:42:35 +0000 (10:42 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0f506526563a88f386ec68d2a31b00b3e5e3b47e

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Sat, 17 Aug 2019 16:45:15 +0000 (09:45 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 7892f729a5 -s ours
am skip reason: subject contains skip directive

Change-Id: I02568545b0452c41a81daf515960665dbf7516cc

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 16:30:21 +0000 (16:30 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMerge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings...
Arc Wang [Sat, 17 Aug 2019 14:17:59 +0000 (07:17 -0700)]
Merge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem" into qt-r1-dev
am: 54dbed859d

Change-Id: I19214265a783f092bb183b3341aa1c2116f3188f

4 years agoMerge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings...
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 08:35:46 +0000 (01:35 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie3771d039d46900090a8a4f58f325b9a5eb29e0a

4 years agoRemove delay from enroll start button
Kevin Chyn [Fri, 16 Aug 2019 23:40:39 +0000 (16:40 -0700)]
Remove delay from enroll start button

Fixes: 139554930

Test: manual, button no longer delayed
Change-Id: I365308c2a00c122b80f70c904d11bb4a5d6cf404
Merged-in: I365308c2a00c122b80f70c904d11bb4a5d6cf404

4 years agoMerge "Update attention string" into qt-r1-dev am: e218dc0517
Kevin Chyn [Sat, 17 Aug 2019 03:01:16 +0000 (20:01 -0700)]
Merge "Update attention string" into qt-r1-dev am: e218dc0517
am: 5725d33471

Change-Id: Ic8302db945bdf128bb04eda2ba6105abe6083ce0

4 years agoMerge "Update attention string" into qt-r1-dev
Kevin Chyn [Sat, 17 Aug 2019 02:42:52 +0000 (19:42 -0700)]
Merge "Update attention string" into qt-r1-dev
am: e218dc0517

Change-Id: I0fd8c3a1ea66dde8eefc934cd3265cbb6fbafe0f

4 years agoMerge "Update attention string" into qt-r1-dev
Kevin Chyn [Sat, 17 Aug 2019 02:01:31 +0000 (02:01 +0000)]
Merge "Update attention string" into qt-r1-dev

4 years ago[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing...
Arc Wang [Mon, 12 Aug 2019 12:11:13 +0000 (20:11 +0800)]
[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem

Context#getResources loading is done based on the last SIM to
come up, we may get wrong customization settings.

This fix check the setting of active subscription and shows the preference.

Bug: 138956509
Test: CellularFallbackPreferenceControllerTest
      manual test:
          1. Insert feature supported SIM and check UI.
          2. Remove feature supported SIM and check UI.
          3. Turn airplane mode on and check 1. and 2..

Change-Id: I72b6db415429181395a02f163889bb1b9c0f070f
Merged-In: I72b6db415429181395a02f163889bb1b9c0f070f

4 years agoRemove attention controller
Kevin Chyn [Thu, 15 Aug 2019 23:48:39 +0000 (16:48 -0700)]
Remove attention controller

Bug: 139484065

Test: manual
Change-Id: Ideed761c978ba0831b04ed2cc294e9655dddb01c

4 years agoUpdate attention string
Kevin Chyn [Fri, 16 Aug 2019 23:34:01 +0000 (16:34 -0700)]
Update attention string

Bug: 139484065

Test: manual
Change-Id: Ie4619fb51709ba2651866b7841dd4d6b51f165d1

4 years agoMerge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev
Yi Jiang [Tue, 13 Aug 2019 01:51:42 +0000 (18:51 -0700)]
Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev
am: 7933af0273

Change-Id: Iecc58066521d19bb58514eca667a5f4daecbe0de

4 years agoMerge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev
Yi Jiang [Tue, 13 Aug 2019 01:28:31 +0000 (01:28 +0000)]
Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev

4 years ago[Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
Arc Wang [Thu, 8 Aug 2019 08:30:51 +0000 (01:30 -0700)]
[Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
am: bde8c0a64d

Change-Id: Ib7dc37d80825346c6c024c84f450f8762c21b3ef

4 years ago[Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
Arc Wang [Mon, 5 Aug 2019 07:20:42 +0000 (15:20 +0800)]
[Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit

1. Only support EAP-TLS for WPA3-Enterprise 192-bit
2. Remove "Do not validate" from the CA certificate menu
3. Remove "Do not provide" from user certificate menu

Bug: 135127581
Test: WifiConfigControllerTest
Change-Id: Ibf904da9407ec803afb8bb995e9df1a2e25f0dcb
Merged-In: Ibf904da9407ec803afb8bb995e9df1a2e25f0dcb

4 years agoDon't show suggestion slice if 'Screen attention' is already on
Yi Jiang [Tue, 16 Jul 2019 00:14:33 +0000 (17:14 -0700)]
Don't show suggestion slice if 'Screen attention' is already on

Bug: 137259771
Fix: 137259771
Test: Manually

Change-Id: I5568b569ecd4db943f1a239c7ddcd2923bec4028
(cherry picked from commit 06f0bd6d4ee02656954016b3bc1a63f16dfad17b)
Merged-In: I5568b569ecd4db943f1a239c7ddcd2923bec4028

4 years agoMerge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1...
Christine Franks [Sun, 4 Aug 2019 08:37:50 +0000 (01:37 -0700)]
Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev am: 37b38f872f
am: 31cc369a4d

Change-Id: I578907b141f2a6a705473394e16519507997caa8

4 years ago[DO NOT MERGE] Update title for null uri when setting changes am: ea14373666
Christine Franks [Sun, 4 Aug 2019 08:32:21 +0000 (01:32 -0700)]
[DO NOT MERGE] Update title for null uri when setting changes am: ea14373666
am: c48918dac0

Change-Id: I268d4d01a515e1c49b83e3c321af230cb06bffc9

4 years agoMerge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
Christine Franks [Sun, 4 Aug 2019 07:53:35 +0000 (00:53 -0700)]
Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
am: 37b38f872f

Change-Id: Ie2b1e884d7501fb1d37ce816a5f4c78042be6300

4 years ago[DO NOT MERGE] Update title for null uri when setting changes
Christine Franks [Sun, 4 Aug 2019 07:53:29 +0000 (00:53 -0700)]
[DO NOT MERGE] Update title for null uri when setting changes
am: ea14373666

Change-Id: Idca3e0d0855ced876f4bd891739e0141ec86a777

4 years agoMerge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
Christine Franks [Sat, 3 Aug 2019 14:47:40 +0000 (14:47 +0000)]
Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev

4 years ago[DO NOT MERGE] Update title for null uri when setting changes
Christine Franks [Thu, 1 Aug 2019 18:09:16 +0000 (11:09 -0700)]
[DO NOT MERGE] Update title for null uri when setting changes

Currently, the title will not update at all if set to silent.

Bug: 130445562
Test: make RunSettingsRoboTests -j48
Change-Id: Id8fc0182adb37c05436f5924b7dcdffb9d994e0d

4 years agoMerge "Add skip lock screen in Notification & security lock screen settings" into...
Edgar Wang [Fri, 2 Aug 2019 06:00:15 +0000 (23:00 -0700)]
Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev am: 8e3b202070
am: 063cc34713

Change-Id: Ic856426092578e47418498de40e22aa484badb19

4 years agoMerge "Add skip lock screen in Notification & security lock screen settings" into...
Edgar Wang [Fri, 2 Aug 2019 05:49:22 +0000 (22:49 -0700)]
Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev
am: 8e3b202070

Change-Id: Ib1cf35ee24f88a9eae71714349fe40cb982214b0

4 years agoMerge "Add skip lock screen in Notification & security lock screen settings" into...
Edgar Wang [Fri, 2 Aug 2019 05:38:23 +0000 (05:38 +0000)]
Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev

4 years agoMerge "Settings: change the color mode preview image" into qt-r1-dev am: c5fbd7b669
Daniel Solomon [Thu, 1 Aug 2019 20:51:28 +0000 (13:51 -0700)]
Merge "Settings: change the color mode preview image" into qt-r1-dev am: c5fbd7b669
am: 8e699b6ec8

Change-Id: I077cdf4c165158aa927f4d1aa0632b6c343b2fb2

4 years agoMerge "Settings: change the color mode preview image" into qt-r1-dev
Daniel Solomon [Thu, 1 Aug 2019 20:38:20 +0000 (13:38 -0700)]
Merge "Settings: change the color mode preview image" into qt-r1-dev
am: c5fbd7b669

Change-Id: I719cdde36a264519900584b9835d5c6e70cc5818

4 years agoMerge "Settings: change the color mode preview image" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 19:58:47 +0000 (19:58 +0000)]
Merge "Settings: change the color mode preview image" into qt-r1-dev

4 years agoCheck the missing useHomeWfMode case am: b7923f5a3f
Youming Ye [Thu, 1 Aug 2019 18:58:55 +0000 (11:58 -0700)]
Check the missing useHomeWfMode case am: b7923f5a3f
am: 84049d217d

Change-Id: I101a0d837a4912e316c3cd25f6f829d15cbc8745

4 years agoCheck the missing useHomeWfMode case
Youming Ye [Thu, 1 Aug 2019 18:27:48 +0000 (11:27 -0700)]
Check the missing useHomeWfMode case
am: b7923f5a3f

Change-Id: I81aadd772a8c8b07ca6c967868789aa91fe0dba9

4 years agoAdd skip lock screen in Notification & security lock screen settings
Edgar Wang [Mon, 29 Jul 2019 08:55:31 +0000 (16:55 +0800)]
Add skip lock screen in Notification & security lock screen settings

Users may have trouble finding this setting in face auth.
Heard this from dogfood/executive feedback and customer support discussion.
So add Skip Lock Screen preference in
Display > Lock screen display > What to show >
and
App & Notifications > Notifications > Lock Screen >

Bug: 138458558
Test: robotest & manual

Change-Id: I10e420821423821743d65b00c8b7e6d4d1224e00

4 years agoCheck the missing useHomeWfMode case
Youming Ye [Tue, 11 Jun 2019 22:25:52 +0000 (15:25 -0700)]
Check the missing useHomeWfMode case

Bug: 133812904
Test: Build
Change-Id: If89c67c0595808a1339517c6084f1d1e23f5974b
Merged-In: If89c67c0595808a1339517c6084f1d1e23f5974b

4 years agoMerge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev...
Antony Sargent [Wed, 31 Jul 2019 23:05:35 +0000 (16:05 -0700)]
Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev am: 4685c785b9
am: ad2f49f851

Change-Id: I7a87b32111936ce805f90cf68b7cbe7c8df498f9

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 5a690f3c4c -s ours
Bill Yi [Wed, 31 Jul 2019 23:04:50 +0000 (16:04 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 5a690f3c4c -s ours
am: 1ccff0ddc6 -s ours
am skip reason: subject contains skip directive

Change-Id: I69d8e92cdbaca6f83a068ed2507b623728c8eac3

4 years agoMerge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
Antony Sargent [Wed, 31 Jul 2019 22:56:00 +0000 (15:56 -0700)]
Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
am: 4685c785b9

Change-Id: I5792ff5333005e2e0c66fd24d594b79bf67d140c

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Wed, 31 Jul 2019 22:53:52 +0000 (15:53 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 5a690f3c4c -s ours
am skip reason: subject contains skip directive

Change-Id: Ic10bfa052664715f150c09abfc3f0015aa530ee8

4 years agoMerge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 22:39:22 +0000 (22:39 +0000)]
Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev

4 years agoProtect entry points to add an eSIM when admin restricted
Antony Sargent [Wed, 31 Jul 2019 19:53:39 +0000 (12:53 -0700)]
Protect entry points to add an eSIM when admin restricted

If the DISALLOW_CONFIG_MOBILE_NETWORKS admin policy is set, we were
accidentally still allowing access to the flow where you add an eSIM
subscription via the "plus" button on the Network & internet page. While
fixing this, I also noticed that the mobile networks list page (which
only becomes available if you have multiple subscriptions) has a link at
the bottom to start the flow as well, and that wasn't being protected.

The fix for the plus button on the Network & internet page was just to
make sure not to call setEnabled(true) if the preference was already
disabled by admin policy, since that has the effect of overriding the
admin-disabling.

The fix for the mobile networks list page just needed to add the
relevant tags in the layout XML, and then we get it for free.

Fixes: 137627845
Test: make RunSettingsRoboTests
Change-Id: I896ac248f50aaeecc157791938a0a0a98265aa07

4 years agoSettings: change the color mode preview image
Daniel Solomon [Wed, 31 Jul 2019 18:46:39 +0000 (11:46 -0700)]
Settings: change the color mode preview image

Change the color mode preview image to better illustrate the difference
between Natural and Boosted color modes.

Bug: 138126243
Test: manual testing on Pixel
Change-Id: I367b383f9f2da9b2e2d5960e51c3ec7821d4915b

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 31 Jul 2019 19:09:08 +0000 (12:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3e51c61d9bdff182bc83a04242ccd6e1e4f9629d

4 years agoMerge "Default MAC address should display "Not Available" in network details" into...
Quang Luong [Wed, 31 Jul 2019 00:35:06 +0000 (17:35 -0700)]
Merge "Default MAC address should display "Not Available" in network details" into qt-r1-dev am: 17908b1e8f
am: 5c4a0e3444

Change-Id: I68a1a9451dda22ab32baf6bae395c0368b1f9b9b

4 years agoMerge "Default MAC address should display "Not Available" in network details" into...
Quang Luong [Wed, 31 Jul 2019 00:16:00 +0000 (17:16 -0700)]
Merge "Default MAC address should display "Not Available" in network details" into qt-r1-dev
am: 17908b1e8f

Change-Id: Ie1cdb83f47bac988b93401b3994a096d85333ce6

4 years agoMerge "Default MAC address should display "Not Available" in network details" into...
TreeHugger Robot [Tue, 30 Jul 2019 23:33:22 +0000 (23:33 +0000)]
Merge "Default MAC address should display "Not Available" in network details" into qt-r1-dev

4 years agoMerge "Make EnabledNetworkModePreferenceController listen to setting changes" into...
Antony Sargent [Tue, 30 Jul 2019 22:58:21 +0000 (15:58 -0700)]
Merge "Make EnabledNetworkModePreferenceController listen to setting changes" into qt-r1-dev am: 66208e734b
am: 5a39d48ab2

Change-Id: Id51073c918d19403b47cc0bf21964a122d6cadf3

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am...
Bill Yi [Tue, 30 Jul 2019 22:57:25 +0000 (15:57 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: 67afe87617 -s ours
am: 1b86d59384 -s ours
am skip reason: subject contains skip directive

Change-Id: I2aa2952eec13d8c7fcb0ae1eeb437e780ef8c818

4 years agoMerge "Make EnabledNetworkModePreferenceController listen to setting changes" into...
Antony Sargent [Tue, 30 Jul 2019 22:43:32 +0000 (15:43 -0700)]
Merge "Make EnabledNetworkModePreferenceController listen to setting changes" into qt-r1-dev
am: 66208e734b

Change-Id: I7e1494a1859393844ad5810a9721bf3865ed5f75

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 22:42:25 +0000 (15:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 67afe87617 -s ours
am skip reason: subject contains skip directive

Change-Id: I253e0acc117f894554878c91ba084cca775eb7bd

4 years agoMerge "Make EnabledNetworkModePreferenceController listen to setting changes" into...
TreeHugger Robot [Tue, 30 Jul 2019 22:33:32 +0000 (22:33 +0000)]
Merge "Make EnabledNetworkModePreferenceController listen to setting changes" into qt-r1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 21:39:43 +0000 (21:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMake EnabledNetworkModePreferenceController listen to setting changes
Antony Sargent [Tue, 30 Jul 2019 17:10:57 +0000 (10:10 -0700)]
Make EnabledNetworkModePreferenceController listen to setting changes

The controller for the "Preferred network type" preference on the SIM
details page wasn't listening for changes to the underlying global
setting, so changes to the setting would be reflected in SysUI but not
on this page if it happened to be showing.

Bug: 135667565
Test: make RunSettingsRoboTests
Change-Id: I5dfe4843a681c613f49caf4584e9dbebc54e708a

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours am...
Bill Yi [Tue, 30 Jul 2019 19:03:57 +0000 (12:03 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours am: f5c8056f7a -s ours
am: 3cda841897 -s ours
am skip reason: subject contains skip directive

Change-Id: I8670a31858f74816775f9ca91e799e08719d7284

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 18:55:38 +0000 (11:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id8561f757b8520ebbd976cc9b06fa833b68575d8

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
Bill Yi [Tue, 30 Jul 2019 18:47:09 +0000 (11:47 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 9af3e6a625 -s ours
am: f5c8056f7a -s ours
am skip reason: subject contains skip directive

Change-Id: I8d700ef074dff397a3e02cca8945935a549c77df

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am...
Bill Yi [Tue, 30 Jul 2019 18:43:40 +0000 (11:43 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: f63cb669ff -s ours
am: 50dc17d8bc -s ours
am skip reason: subject contains skip directive

Change-Id: I594fbdb0e5eea0247dfa12fd5eff51677627e41c

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 18:32:38 +0000 (11:32 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: f63cb669ff -s ours
am skip reason: subject contains skip directive

Change-Id: Ia87ca65aaf5bf3f43c2d15b944bdf06a74f857c6

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 18:32:37 +0000 (11:32 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9af3e6a625 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic131b3c52fc5f2c0bd1b735a376df65108490f5e

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 18:09:15 +0000 (18:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMerge "Refesh mobile network details page on carrier config changes" into qt-r1-dev...
Antony Sargent [Tue, 30 Jul 2019 17:28:26 +0000 (10:28 -0700)]
Merge "Refesh mobile network details page on carrier config changes" into qt-r1-dev am: 985d3d570d
am: 42861b21c9

Change-Id: I0f3fae2daf7c5df5985e2fd6597fdf563fdb095c

4 years agoMerge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
Antony Sargent [Tue, 30 Jul 2019 16:54:25 +0000 (09:54 -0700)]
Merge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
am: 985d3d570d

Change-Id: Ic653102f8f66c0f5e1e3457750cdf150f1dbfd5e

4 years agoMerge "Refesh mobile network details page on carrier config changes" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 16:41:29 +0000 (16:41 +0000)]
Merge "Refesh mobile network details page on carrier config changes" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 00:02:13 +0000 (17:02 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie730f2fa36caf0c3d99159cc649ed7e24ca2ceec

4 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 29 Jul 2019 23:46:49 +0000 (16:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idbe888a8bb4d386d7d8e883cc530561c1a5806ad

4 years agoMerge "Move channel listing into a pref controller" into qt-qpr1-dev
Julia Reynolds [Mon, 29 Jul 2019 20:23:00 +0000 (13:23 -0700)]
Merge "Move channel listing into a pref controller" into qt-qpr1-dev
am: 2d035ddfa2

Change-Id: Ice7a48d0fdad00b8d1f09a1da1fe39d5a8d85e79

4 years agoMerge "Move channel listing into a pref controller" into qt-qpr1-dev
TreeHugger Robot [Mon, 29 Jul 2019 18:42:25 +0000 (18:42 +0000)]
Merge "Move channel listing into a pref controller" into qt-qpr1-dev

4 years agoMerge "Fix launching of work profile notif settings" into qt-qpr1-dev
TreeHugger Robot [Mon, 29 Jul 2019 02:28:37 +0000 (02:28 +0000)]
Merge "Fix launching of work profile notif settings" into qt-qpr1-dev

4 years agoMerge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings...
Jason Chiu [Sat, 27 Jul 2019 01:44:26 +0000 (18:44 -0700)]
Merge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings" into qt-r1-dev
am: 04ad8c905a

Change-Id: I2c87041fb5575dfd621f4a9539653342c75d544f

4 years agoMerge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings...
TreeHugger Robot [Sat, 27 Jul 2019 01:29:55 +0000 (01:29 +0000)]
Merge "Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings" into qt-r1-dev

4 years ago[automerger skipped] Do not request cancel authentication unless currently authentica...
Kevin Chyn [Sat, 27 Jul 2019 01:15:41 +0000 (18:15 -0700)]
[automerger skipped] Do not request cancel authentication unless currently authenticating am: 49c7d07650 -s ours
am: 587d8d7005 -s ours
am skip reason: change_id I6521e896d0402fe856dc85476f51149c9b3084a8 with SHA1 0a33d62a17 is in history

Change-Id: I14cf7941c761c973d6c9297d366c213aeae4cbcf

4 years agoAdd ability to finish() ConfirmDeviceCredential if it loses foreground
Kevin Chyn [Sat, 27 Jul 2019 01:14:19 +0000 (18:14 -0700)]
Add ability to finish() ConfirmDeviceCredential if it loses foreground
am: e27a304b97

Change-Id: Ie695769418adfd316d608a2e23ed45e7237d28ce

4 years ago[automerger skipped] Do not request cancel authentication unless currently authenticating
Kevin Chyn [Sat, 27 Jul 2019 00:50:13 +0000 (17:50 -0700)]
[automerger skipped] Do not request cancel authentication unless currently authenticating
am: 49c7d07650 -s ours
am skip reason: change_id I6521e896d0402fe856dc85476f51149c9b3084a8 with SHA1 0a33d62a17 is in history

Change-Id: If5e6d4c715b0c3482f297c709320e2ca9f6fa209

4 years agoAdd ability to finish() ConfirmDeviceCredential if it loses foreground
Kevin Chyn [Fri, 26 Jul 2019 21:53:20 +0000 (14:53 -0700)]
Add ability to finish() ConfirmDeviceCredential if it loses foreground

If user enters face settings but does not enter the password, then
turns off the screen, it's possible the challenge is invalidated. Instead,
we should finish() the device credential screen as well as FaceSettings.

This prevents
1) The user from being prompted for credential with lack of context
2) Credential returning a HAT that wraps an invalidated challenge

The user will be returned to the security settings screen, where they
have more context and can decide if they want to enter face settings again.

Fixes: 138273242

Test: 1) Open face settings, do not enter password
      2) Press power button
      3) Unlock keyguard
      4) User is not presented with credential screen
Test: Go through SUW, turning on/off the screen at various security
      screens. Able to enroll successfully

Change-Id: I3c3d4600138012821bb0eea7d2927df00011cdb0

4 years agoMerge "Do not request cancel authentication unless currently authenticating" into...
Kevin Chyn [Fri, 26 Jul 2019 19:35:30 +0000 (12:35 -0700)]
Merge "Do not request cancel authentication unless currently authenticating" into qt-r1-dev
am: ba4fad160d

Change-Id: Ie71d66f43e21821b0ccac003d02878f011e63f18

4 years agoMove channel listing into a pref controller
Julia Reynolds [Mon, 1 Jul 2019 17:44:39 +0000 (13:44 -0400)]
Move channel listing into a pref controller

And a hidden preference category. This makes
hiding/showing the list a lot cleaner and also allows more
of the code to be tested.

Also delete some unused code that no longer complied after
this refactor.

Fixes: 133443871
Test: atest
Change-Id: I4a5fe0e075019bae2df44a0a9dcec26a40ee6d12
(cherry picked from commit a295d71c94fbf9411f6ee6062de39aa34a574375)

4 years agoFix launching of work profile notif settings
Julia Reynolds [Wed, 12 Jun 2019 15:39:39 +0000 (11:39 -0400)]
Fix launching of work profile notif settings

Test: manual
Fixes: 132289017
Change-Id: I3c177aae1f4dd46556b652253d24b225d01987eb
(cherry picked from commit 142920e0c228427000a46e13aa2945796f2ef626)

4 years agoDo not request cancel authentication unless currently authenticating
Kevin Chyn [Fri, 26 Jul 2019 18:20:10 +0000 (11:20 -0700)]
Do not request cancel authentication unless currently authenticating

Currently we always send cancel() if ConfirmDeviceCredentialActivity
goes into the background. However, if the biometric state is no longer
authenticating, requesting cancel() in this state will result in an
inconsistent state between BiometricService/client and
ConfirmDeviceCredentials.

BiometricService/client will receive the ERROR_CANCELED message incorrectly,
while ConfirmDeviceCredential is showing / pending user password. When
the password is entered, its result is ignored.

The correct behavior is for ConfirmDeviceCredentialActivity to invoke
cancel() only if it's still authenticating. Otherwise BiometricService
and its client will receive ERROR_CANCELED, instead of the actual password
auth result.

Bug: 138279856

Test: BiometricPromptDemo, enable device credential fallback, get into
      lockout state, successfully enter password. API result is
      success instead of "canceled" now.

Change-Id: I6521e896d0402fe856dc85476f51149c9b3084a8
Merged-In: I6521e896d0402fe856dc85476f51149c9b3084a8

4 years agoMerge "Do not request cancel authentication unless currently authenticating" into...
Kevin Chyn [Fri, 26 Jul 2019 19:15:50 +0000 (19:15 +0000)]
Merge "Do not request cancel authentication unless currently authenticating" into qt-r1-dev

4 years agoRefesh mobile network details page on carrier config changes
Antony Sargent [Fri, 12 Jul 2019 18:04:14 +0000 (11:04 -0700)]
Refesh mobile network details page on carrier config changes

In general the mobile network details page has several preference
controllers that don't listen to carrier config changes, so instead of
having each one add a listener, we instead just have one listener and
refresh the entire page when we see the broadcast.

Fixes: 135587885
Test: make RunSettingsRoboTests
Change-Id: Iff5b28dbfe12d94c901b442b23cece8e68218983

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Fri, 26 Jul 2019 18:22:30 +0000 (11:22 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 8b9c85f0cd -s ours
am skip reason: subject contains skip directive

Change-Id: I3dabad25e5640239b491c864a999156156e77552

4 years agoDo not request cancel authentication unless currently authenticating
Kevin Chyn [Fri, 26 Jul 2019 18:20:10 +0000 (11:20 -0700)]
Do not request cancel authentication unless currently authenticating

Currently we always send cancel() if ConfirmDeviceCredentialActivity
goes into the background. However, if the biometric state is no longer
authenticating, requesting cancel() in this state will result in an
inconsistent state between BiometricService/client and
ConfirmDeviceCredentials.

BiometricService/client will receive the ERROR_CANCELED message incorrectly,
while ConfirmDeviceCredential is showing / pending user password. When
the password is entered, its result is ignored.

The correct behavior is for ConfirmDeviceCredentialActivity to invoke
cancel() only if it's still authenticating. Otherwise BiometricService
and its client will receive ERROR_CANCELED, instead of the actual password
auth result.

Bug: 138279856

Test: BiometricPromptDemo, enable device credential fallback, get into
      lockout state, successfully enter password. API result is
      success instead of "canceled" now.

Change-Id: I6521e896d0402fe856dc85476f51149c9b3084a8

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 26 Jul 2019 17:39:58 +0000 (17:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 26 Jul 2019 01:34:18 +0000 (18:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I84fe706da2873676a567287114abc4e6a27c158c