Commit Graph

40504 Commits

Author SHA1 Message Date
TreeHugger Robot
85d20f5957 Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev 2021-09-22 09:08:25 +00:00
TreeHugger Robot
32640c5433 Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev am: dd28640c0e am: 69f2a456b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15875914

Change-Id: I361a556b28d9086f7941e9716e6f6942034208da
2021-09-22 08:00:20 +00:00
TreeHugger Robot
69f2a456b0 Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev am: dd28640c0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15875914

Change-Id: Ia6fce74c79b01442273fbf733141de68695dd7b2
2021-09-22 07:48:00 +00:00
TreeHugger Robot
dd28640c0e Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev 2021-09-22 07:32:28 +00:00
TreeHugger Robot
f396d920b6 Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471 am: 03f1947b2c am: b63f60f87d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I1de49fd6bce3bd2cbb25a7b8e2d6639e7f917ae6
2021-09-22 07:00:55 +00:00
TreeHugger Robot
b63f60f87d Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471 am: 03f1947b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I95aeac99a8c8da059dc3957f6fa488ba888c905e
2021-09-22 06:48:58 +00:00
TreeHugger Robot
c19d945d4a Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I9654d63716d62d83244c96dfb08548623686fbc7
2021-09-22 06:36:58 +00:00
TreeHugger Robot
03f1947b2c Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I4fd211c5e1bab04677aacda77728c732b7de89ca
2021-09-22 06:36:33 +00:00
Zoey Chen
17c240a5a3 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: ab18c8ac04 am: 0817b1053b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: Icb7f4daca521410d355cd0beb6a2d66eafe1df02
2021-09-22 06:31:14 +00:00
TreeHugger Robot
6263fd9471 Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev 2021-09-22 06:25:24 +00:00
Zoey Chen
0817b1053b Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: ab18c8ac04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I1be0cd9d16e5a11a1be2fc127c1f85b450381412
2021-09-22 06:21:04 +00:00
Zoey Chen
5db9f0042a Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I80712b16464d2104e570038060044bde74c9c4fb
2021-09-22 06:07:00 +00:00
Zoey Chen
ab18c8ac04 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: Iaa62b3be6f11eaa86b3d7b547f3e896e9bee5f9e
2021-09-22 06:06:57 +00:00
Wesley.CW Wang
803e3d710b Add PowerSaveWhitelistExceptIdle as Optimizted modes condition am: e7cca4cd81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836295

Change-Id: Id84f334ae11660a24d89d1bd6b9fdd7465cd0d44
2021-09-22 03:43:01 +00:00
Wesley.CW Wang
e7cca4cd81 Add PowerSaveWhitelistExceptIdle as Optimizted modes condition
- Check PowerSaveWhitelistExceptIdle list before update each apps
 optimizaton mode to avoid duplicate remove action
 - Make those apps which under PowerSaveWhitelistExceptIdle list keep at
 optimized mode only

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy naming, not edit by this code change


Bug: 199892006
Test: make SettingsRoboTests
Change-Id: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
Merged-In: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
2021-09-22 02:14:05 +00:00
TreeHugger Robot
44a9969a87 Merge "Add PowerSaveWhitelistExceptIdle as Optimizted modes condition" 2021-09-22 02:09:41 +00:00
Yuri Lin
00d824657d Merge messages & conversations settings for DND priority senders.
This change explicitly allows for multiselect between priority senders (starred, contacts) & priority conversations, and also allows unchecking boxes by clicking on the same ones again.

Also makes the screens for setting messages and calls in custom rules consistent in behavior with the main DND settings. Since much of the functionality is shared, this change refactors most of the logic into a new helper class used by both.

While these changes also affect how the "calls" screen is constructed, in effect there is no change to the functionality of priority call sender settings except under the hood.

Test: atest ZenPrioritySendersHelperTest; Settings robotests
Bug: 190180868
Bug: 197223270
Change-Id: I894775537a18feb7a891b2668b9a613a203a129c
2021-09-21 15:00:16 -04:00
Curtis Belmonte
73855e0a59 Support configurable multi-stage UDFPS enrollment
Implements multi-stage enrollment for UDFPS. This implementation
supports both highlighting the progress bar when a help message is
received and configuring the progress thresholds between enroll stages
via an XML resource.

Test: Manual

Bug: 198928407
Bug: 200076382
Change-Id: Ied4dbcb4a523f477c5ca1a9146d24751c6473f35
2021-09-21 10:58:24 -07:00
Zoey Chen
95db7ae728 [Provider Model] The SIMs page should list all p-SIMs
- We do not support multiple pSIMs until now, so we need to get all p-SIMs from SubscriptionManager
- Apply same checking for downloaded sim

Bug: 199032142
Test: vendor test
Test: atest NetworkProviderSimsCategoryControllerTest and atest NetworkProviderSimListControllerTest
Change-Id: I77d7c52e73ac4e5d09fa3f3926490d7f8f8b0913
2021-09-21 17:29:27 +00:00
vichang
bbf58bc4c2 Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" am: 3166166bdd am: e6bf1a83d8 am: b9bebd5bd9 am: eca37a8849 am: e4ccdef15a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1831314

Change-Id: I7c6e7cec0475cd317761e96c3e82fafabd3a940f
2021-09-21 11:46:16 +00:00
vichang
e4ccdef15a Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" am: 3166166bdd am: e6bf1a83d8 am: b9bebd5bd9 am: eca37a8849
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1831314

Change-Id: Ibcbd24530e7e94a2941d840701158457bbcde835
2021-09-21 11:31:11 +00:00
vichang
eca37a8849 Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" am: 3166166bdd am: e6bf1a83d8 am: b9bebd5bd9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1831314

Change-Id: Ie407f4d20b32fce153c2af8d17b65fda7725a6c8
2021-09-21 11:16:42 +00:00
vichang
b9bebd5bd9 Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" am: 3166166bdd am: e6bf1a83d8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1831314

Change-Id: If94d8a65c9902180466481f157224a5389d9b117
2021-09-21 11:06:23 +00:00
vichang
e6bf1a83d8 Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" am: 3166166bdd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1831314

Change-Id: I458bf767bbea8b5921f00afae884d309d270f7b0
2021-09-21 10:52:53 +00:00
vichang
3166166bdd Merge "Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest" 2021-09-21 10:42:27 +00:00
Jason Hsu
eb7a8bbe96 Merge "Use the correct pageId for the existing accessibility page" into sc-v2-dev am: e9cea6a4aa am: 22015ac5c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785738

Change-Id: If732f5f62ee0d16932bb5f740cc0744f69db027c
2021-09-21 10:31:49 +00:00
Jason Hsu
22015ac5c5 Merge "Use the correct pageId for the existing accessibility page" into sc-v2-dev am: e9cea6a4aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785738

Change-Id: Ib0fc4934d24e08086fa8fb50e86c302750d783d4
2021-09-21 10:16:36 +00:00
Curtis Belmonte
54702ead67 Support configurable multi-stage UDFPS enrollment
Implements multi-stage enrollment for UDFPS. This implementation
supports both highlighting the progress bar when a help message is
received and configuring the progress thresholds between enroll stages
via an XML resource.

Test: Manual

Bug: 198928407
Bug: 200076382
Change-Id: Ied4dbcb4a523f477c5ca1a9146d24751c6473f35
Merged-In: Ied4dbcb4a523f477c5ca1a9146d24751c6473f35
2021-09-20 22:44:48 -07:00
jasonwshsu
746f4d45f7 Use the correct pageId for the existing accessibility page
* correct page id for "Accessibility timeout" and "Select to Speak"

Bug: 190344664
Test: build pass
Change-Id: I3f6b2c389c1ca77e4d3fca3601915caa7a9dd6f8
2021-09-20 19:29:27 +00:00
TreeHugger Robot
962fd6b22e Merge "Add the pairing string for CSIP supported device" 2021-09-20 16:19:11 +00:00
Victor Chang
fc4589448b Replace @CorePlatformApi APIs usages in TimeZoneInfoPreferenceControllerTest
The time zone transitions can be obtained via the public API
ZoneId.getRules() instead.

Bug: 119751170
Test: atest SettingsRoboTests
     com.android.settings.datetime.timezone.TimeZoneInfoPreferenceControllerTest passes
Change-Id: I2c7864580b2a36b725ee250253e97f6cc86d72a4
2021-09-20 15:57:42 +01:00
Weng Su
caa29d401b Minor change to Wi-Fi WPA3 password length restriction
- Change the maximum length limit to 128

Bug: 200305860
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test

Change-Id: Ia739dab35da75c73e28077ccc81979253def6128
2021-09-20 22:38:29 +08:00
Wesley.CW Wang
3f7839cad0 Add PowerSaveWhitelistExceptIdle as Optimizted modes condition
- Check PowerSaveWhitelistExceptIdle list before update each apps
 optimizaton mode to avoid duplicate remove action
 - Make those apps which under PowerSaveWhitelistExceptIdle list keep at
 optimized mode only

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy naming, not edit by this code change


Bug: 199892006
Test: make SettingsRoboTests
Change-Id: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
2021-09-17 18:38:01 +00:00
Abel Tesfaye
cedf4573b6 Merge "Delete SmartAutoRotatePreference and move callback logic to controller" 2021-09-17 17:53:15 +00:00
Alice Kuo
02cadb9b32 Add the pairing string for CSIP supported device
Show the pairing dialog with the hint message
that pairing this device will pair all of the
set member of a coordinated set. If the device
supports CSIP, the message will be shown.

Screenshot: https://screenshot.googleplex.com/8WcrdgBoLRgJjHs

Bug: 178981521
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BlueotohPairingDialog
Change-Id: I5432b7264652dd4485e2669f6004caa4f7459238
2021-09-18 01:15:51 +08:00
Joshua Duong
c960e8973a Fix QR code scanner layout in "Pair devices over Wi-Fi" page.
The toolbar needs to be disabled to remove the empty space at the top
of the page. Also added the landscape layout xml.

Bug: 193602141
Test: atest SettingsUnitTests and manual

Change-Id: I30368835979b360a8f09e16f70adf57064784517
(cherry picked from commit fd009229e5)
2021-09-17 15:36:32 +00:00
TreeHugger Robot
e7b4d904a3 Merge "Shrink notification history views to fit" into sc-qpr1-dev am: 2e16b4a07d am: b96d734511 am: 311e9b48aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15846400

Change-Id: I56b50ca40e55119159ccecab3d84a8cd0b1e6b13
2021-09-17 14:07:54 +00:00
TreeHugger Robot
311e9b48aa Merge "Shrink notification history views to fit" into sc-qpr1-dev am: 2e16b4a07d am: b96d734511
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15846400

Change-Id: I571a1a9f628ce90dcc4b899ca421c044f4f7bdd7
2021-09-17 13:55:40 +00:00
TreeHugger Robot
6bd4441314 Merge "Shrink notification history views to fit" into sc-qpr1-dev am: 2e16b4a07d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15846400

Change-Id: I3fe4948f72389c2b6e25adbb701f3ea8315d2340
2021-09-17 13:41:38 +00:00
TreeHugger Robot
b96d734511 Merge "Shrink notification history views to fit" into sc-qpr1-dev am: 2e16b4a07d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15846400

Change-Id: Id787a8b926cb5efdbdba91186135b5fd28fda743
2021-09-17 13:41:36 +00:00
TreeHugger Robot
2e16b4a07d Merge "Shrink notification history views to fit" into sc-qpr1-dev 2021-09-17 13:28:25 +00:00
Calvin Pan
240bba16f1 Merge "Disable smart forwarding based on subid" into sc-qpr1-dev am: 216315523b am: 6e51289e9b am: c7560a39e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15819074

Change-Id: I8e28d04114d578a9e1dd07b87daa5924f708069f
2021-09-17 02:13:51 +00:00
Calvin Pan
c7560a39e8 Merge "Disable smart forwarding based on subid" into sc-qpr1-dev am: 216315523b am: 6e51289e9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15819074

Change-Id: Iaa365ffddefba0d5692b3e5be663c20a9aa2e8e5
2021-09-17 02:02:01 +00:00
Calvin Pan
aab38e2b34 Merge "Disable smart forwarding based on subid" into sc-qpr1-dev am: 216315523b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15819074

Change-Id: I5f15b643e74e226ebdb5a5c742564b20ae7b7901
2021-09-17 01:48:02 +00:00
Calvin Pan
6e51289e9b Merge "Disable smart forwarding based on subid" into sc-qpr1-dev am: 216315523b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15819074

Change-Id: I4a63d92bfef99f531855a0a9d82687cb20739121
2021-09-17 01:47:55 +00:00
Calvin Pan
216315523b Merge "Disable smart forwarding based on subid" into sc-qpr1-dev 2021-09-17 01:33:05 +00:00
Julia Reynolds
faa7083c8b Shrink notification history views to fit
If an app hasn't posted many notifications, don't show extra whitespace
after its notifications

Test: manual, look at apps that have posted 1-3 notifications, and 10+
Fixes: 199944158
Change-Id: I8ed3e25cd35956eae9ce2fc5677710a34200bdfc
2021-09-16 21:01:43 +00:00
Bonian Chen
666d5776db Merge "[Settings] Avoid from crash - SystemProp default null" into sc-qpr1-dev am: ebe477db21 am: fdab21bafa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824485

Change-Id: I3b894ec349f0f17b7a5cdb4d5d6a4a5d90d67523
2021-09-16 19:42:40 +00:00
Bonian Chen
7759f963cc Merge "[Settings] Avoid from main UI thread blocking on accessing eSIM" into sc-qpr1-dev am: 213c9ca658 am: b8c59b803f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15838828

Change-Id: I758a81dcba0fda84aad70d9445de16a7edb8a325
2021-09-16 19:42:33 +00:00
Abel Tesfaye
88bbe6b320 Delete SmartAutoRotatePreference and move callback logic to controller
This CL was merged before then reverted because it had a runtime error in the xml file

Test: locally with flame

Bug: 200111886
Change-Id: I986340c361c7a8a32cfce0d3040ee25d62c3c64e
2021-09-16 19:27:30 +00:00