Commit Graph

70622 Commits

Author SHA1 Message Date
Bonian Chen
4ee1d08534 Merge "[Settings] WEA title wording change" am: 03ddb58767
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1385021

Change-Id: I2233d2e1595d9e088c9b652200477f09ce87b601
2020-08-03 05:45:19 +00:00
Bill Yi
ea02b2f8bc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8214e3f395 -s ours am: d0b332ff79 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12291931

Change-Id: Id97b06c1591f57e09ec21166e11800ae0aa6de25
2020-08-03 05:34:42 +00:00
Bonian Chen
35be6641af Merge "[Settings] Allow talkback to focus and select APN" 2020-08-03 05:25:43 +00:00
Bonian Chen
ec42c98e8b Merge "[Settings] Learn more link should be removed when not supported." 2020-08-03 05:25:20 +00:00
Bonian Chen
03ddb58767 Merge "[Settings] WEA title wording change" 2020-08-03 05:25:01 +00:00
Bill Yi
71855b46fe [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8214e3f395 -s ours am: 1a2b17caf7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12291931

Change-Id: I2e4a71eca15320d4bfb7067de08a027d6da229a8
2020-08-03 05:19:03 +00:00
Bill Yi
d0b332ff79 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8214e3f395 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12291931

Change-Id: Id73c8faf93f57ad301435a2305064920f9606463
2020-08-03 05:10:11 +00:00
Bill Yi
1a2b17caf7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8214e3f395 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12291931

Change-Id: I8a6a8305639a74cd38ada85ac059ccd002b8afa9
2020-08-03 05:08:40 +00:00
Bonian Chen
3adb69ca05 [automerger skipped] Merge "Hide sliceView if Slice is null" am: 811d654a6d am: 2aba7f043e -s ours am: 692b75c3cd -s ours am: 3da8082299 -s ours
am skip reason: Change-Id I2b5b34d068ba4590f65a284d4f62a1cc77f9666f with SHA-1 590042b3ba is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1385016

Change-Id: Iea01c8158e2d2f7025d0d1ce1a0bf463b47b4f7f
2020-08-03 04:32:33 +00:00
Bonian Chen
3da8082299 [automerger skipped] Merge "Hide sliceView if Slice is null" am: 811d654a6d am: 2aba7f043e -s ours am: 692b75c3cd -s ours
am skip reason: Change-Id I2b5b34d068ba4590f65a284d4f62a1cc77f9666f with SHA-1 590042b3ba is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1385016

Change-Id: I2c70947e2cf9fe38a9560f73ecbf040e66e6c659
2020-08-03 04:11:59 +00:00
Bonian Chen
692b75c3cd [automerger skipped] Merge "Hide sliceView if Slice is null" am: 811d654a6d am: 2aba7f043e -s ours
am skip reason: Change-Id I2b5b34d068ba4590f65a284d4f62a1cc77f9666f with SHA-1 590042b3ba is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1385016

Change-Id: I5cd573731209ef02419f564e0135e70d34a04882
2020-08-03 03:45:50 +00:00
Bonian Chen
2aba7f043e Merge "Hide sliceView if Slice is null" am: 811d654a6d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1385016

Change-Id: Iffeb4e5ded6ebda5680b04afe83abd0803fb3d57
2020-08-03 03:22:43 +00:00
Bonian Chen
811d654a6d Merge "Hide sliceView if Slice is null" 2020-08-03 03:05:03 +00:00
Bill Yi
8214e3f395 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7b581c7ca33a79416c26f500dfe13ebb0a9c16f4
2020-08-02 23:32:14 +00:00
Bonian Chen
fdb3a35efe [Settings] Avoid from crash
Avoid from crash when updateState() performed before
displayPreference().

Bug: 141833767
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=ApnPreferenceControllerTest

Merged-In: I4008010077c61930487fef01af306ccdfd69e38f
Change-Id: Ic6421532d5435a577f765f23a69681bb9b8a1bd0
2020-08-02 22:50:06 +08:00
Bonian Chen
570d5441d3 [Settings] Refactor for performance
Refactor DataDuringCallsPreferenceController in order to reduce the time
spend on constuct and initialize DataDuringCallsPreferenceController.

Bug: 141833767
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataDuringCallsPreferenceControllerTest
Merged-In: I484cafa739f9e6e58427894712f2bb7e2ed1f4ff
Change-Id: Id4947606a4919f06ae5ed6ddedd02399a2ee930f
2020-08-02 22:44:11 +08:00
Bonian Chen
44bc04a137 [Settings] Update EID in background
Access EID in background thread to avoid blocking UI.

Bug: 153407357
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SimStatusDialogControllerTest
Merged-In: Id30851bbd0b0fe080ed703586f9718be8b97abdd
Change-Id: I23fc6168d939bb5cb5e281413462176e7221819c
2020-08-02 22:38:13 +08:00
Bonian Chen
5331b6589b [Settings] Allow talkback to focus and select APN
Change the focus area to help talkback focus on APN items.

Bug: 149794675
Test: manual
Merged-In: I5f391be89a5b22095d6f0d04b187ea18970f18d4
Change-Id: I6d2d1624c5946a30b59343de06de6f79adf24011
2020-08-02 21:36:49 +08:00
Bonian Chen
1c5431bf23 [Settings] WEA title wording change
The wording of WEA need to align in UI entry and UIs within.
The "Wireless Emergency Alerts" should be the official wording for it.

Bug: 158498436
Test: build pass
Merged-In: I17e6659915e1038c8ab11ad4003c08f87bbdb82e
Change-Id: I4c1c4009287092703669f89981fd017ce605d4fe
2020-08-02 21:30:32 +08:00
Bonian Chen
fed54f7dc4 [Settings] Learn more link should be removed when not supported.
Learn more wording with link only help people when configured.
When no link available, these wording had better removed to avoid from
confusing people.

Bug: 159510116
Test: manual
Merged-In: I36b74b2b4586546090fb88562e8f4f052a877709
Change-Id: If7061e0be201b2f98964a7b0eec42cc17cb11ae3
2020-08-02 21:14:25 +08:00
Raff Tsai
53cbfe28bb Hide sliceView if Slice is null
Fixes: 142035673
Test: robolectric, visual
Change-Id: I2b5b34d068ba4590f65a284d4f62a1cc77f9666f
Merged-In: I2b5b34d068ba4590f65a284d4f62a1cc77f9666f
2020-08-02 12:26:10 +00:00
Sunny Shao
7359b3840f Enable the filterTouchesWhenObscured in Special app access
- Enable the filterTouchesWhenObscured attribute on all toggle
  switches in all pages of the special app access

Bug: 155288585
Test: make RunSettingsRoboTests
Merged-In: I011cfe4b7e4e624a8338332ac47a353f7f3ab661
Change-Id: I85842db3faa558ea61bc878ca76ff6d8ce1a4b03
2020-08-02 14:59:04 +08:00
Bonian Chen
d415e16822 [Settings] Provide carrier name when manual network select
Manual network select need to have carrier name in order to
display to the user when failure.

Bug: 161425622
Test: manual
Change-Id: Ib77c14273bc9b9ea17c41cdd40f7bad0af4abc93
(cherry picked from commit bdd5e86974)
2020-08-02 02:28:59 +00:00
Arc Wang
675894883c Merge "[Wi-Fi] Remove 'Do not validate' option in CA certificate spinner" into rvc-qpr-dev am: 5d86bebb32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12271448

Change-Id: I84f736a1797e9b6b31bc007fc88df912ca9f5eeb
2020-08-01 02:57:49 +00:00
Arc Wang
b049b018d3 Merge "[Wi-Fi] Check if domain field is not empty when users choose a ca certificate" into rvc-qpr-dev am: f833684e28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12248953

Change-Id: I20946b3619d96eefbb23d48ba4b43b2bc68ed115
2020-08-01 02:57:37 +00:00
Arc Wang
5d86bebb32 Merge "[Wi-Fi] Remove 'Do not validate' option in CA certificate spinner" into rvc-qpr-dev 2020-08-01 02:34:26 +00:00
Arc Wang
f833684e28 Merge "[Wi-Fi] Check if domain field is not empty when users choose a ca certificate" into rvc-qpr-dev 2020-08-01 02:34:05 +00:00
Betty Chang
481db1eff9 Merge "Add setPackage for PendingIntent in SimSelectNotification" into rvc-qpr-dev am: b8437f1c68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12271445

Change-Id: I1739c80b479db6be75041e94716babf66d7609d6
2020-07-31 14:33:16 +00:00
Betty Chang
b8437f1c68 Merge "Add setPackage for PendingIntent in SimSelectNotification" into rvc-qpr-dev 2020-07-31 14:11:05 +00:00
Julia Reynolds
cdf8888d89 Add 'all apps' to notification filters
Test: atest
Fixes: 141138853
Change-Id: If77e8186ddbfc754e7bb1a3d8541840f09db38d9
(cherry picked from commit 2d91b744cf)
2020-07-31 14:03:49 +00:00
Jason Chiu
5fd16e261c Make all up button speak the default description
Talkback speaks "back button" for the up button in the action bar, which
causes inconsistency with other injected pages.

Remove the self-defined content description to make it speak the default
one "Navigation up button".

Fixes: 158724875
Test: rebuild, manual
Change-Id: Ief2b1410553422cd6f06bd30e00ab4c8a59a3595
Merged-In: Ief2b1410553422cd6f06bd30e00ab4c8a59a3595
(cherry picked from commit dd0b2dc483)
2020-07-31 10:31:02 +00:00
Arc Wang
33cde5dbee [Wi-Fi] Remove 'Do not validate' option in CA certificate spinner
"Do not validate" is not secure and must not be used in any production
network. R Suggestions API already does not allow connections with
no Root CA certificate.

Bug: 162466484
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
      Manually add or edit  an EAP method Wi-Fi network and observe CA
      certificate spinner options.
Change-Id: Ica5ecf8805c51d7cdce7b16e02e0dd79d5f64754
Merged-In: Icf97199967faa2e359b0120a8c989bd1df2c6cea
2020-07-31 10:28:11 +08:00
Arc Wang
94b8579607 [Wi-Fi] Check if domain field is not empty when users choose a ca certificate
Domain is required for client to validate server's certificate.
This change disable Save button for a new Wi-Fi network of a
specified CA certificate but empty domain.

Bug: 161378819
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
      manual
      1. Install a certificate.
      2. Add a new Wi-Fi network of EAP method PEAP
      3. Set CA certificate to the certificate installed at 1.
      4. Save button should be disabled.
      5. Input something in domain field.
      6. Save button should be enabled.
Change-Id: I65c8b29ec7a03b21403ddbfc087ce48c2a4a69e4
2020-07-31 10:06:48 +08:00
TreeHugger Robot
873b675292 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: 2c6cc855a4 -s ours am: 2ce9a48f56 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I220a2a387723eb74e6cdd22c86b6ab2d7a7e0e68
2020-07-31 02:05:46 +00:00
TreeHugger Robot
ffb6f25613 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: eccf377941 -s ours am: 024b5785b2 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I95798437b0a7f1bb33decf85210d008c9e7c49ba
2020-07-31 02:05:02 +00:00
TreeHugger Robot
2c6bcf8b89 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: 2c6cc855a4 -s ours am: 352e0cec50 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: Icb046278ddeed700303792caaba38dfe1c66bbc4
2020-07-31 02:04:35 +00:00
TreeHugger Robot
024b5785b2 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: eccf377941 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I8491880cb9ad719a9f4b7507f04932cdd1e391d2
2020-07-31 01:48:08 +00:00
TreeHugger Robot
2ce9a48f56 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: 2c6cc855a4 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: Id6362bc0a6bc8c81a6618249460e5baa258eda89
2020-07-31 01:48:06 +00:00
TreeHugger Robot
352e0cec50 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours am: 2c6cc855a4 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I7ef267b59cb7cdc483c51a571e98d90ec37036e5
2020-07-31 01:46:38 +00:00
TreeHugger Robot
eccf377941 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I61c7eac90eca4440f210da976b3476851ae7720a
2020-07-31 01:27:07 +00:00
TreeHugger Robot
2c6cc855a4 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours am: ed01792e5f -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: Ia25d559c8ece4cb3f8ac07634be18031f96aa6e9
2020-07-31 01:26:59 +00:00
TreeHugger Robot
ed01792e5f [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours am: 562c82f107 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: Icb44a482010d3b5e33aaef3ac3de8bc7259f2722
2020-07-31 01:08:51 +00:00
TreeHugger Robot
bfb77aad73 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-dev am: 5894b6fff0 -s ours am: 4de63443e5 -s ours am: 757bb926c4 -s ours am: 68670e66bb -s ours am: a0b71099a1 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042288

Change-Id: I201cea528330d0ae3c5ec990b4fac7d601ed78b4
2020-07-31 00:53:11 +00:00
TreeHugger Robot
35fb5bd2d2 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-qpr1-dev am: 49729c59d9 -s ours am: 8b7cdc3fb3 -s ours am: dd285067fa -s ours am: 8c2af47193 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042285

Change-Id: I86732dd693873945e73e1fc05dd5ba5b7cbed5dc
2020-07-31 00:52:23 +00:00
TreeHugger Robot
60fa4115a3 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-dev am: 5894b6fff0 -s ours am: 4de63443e5 -s ours am: 757bb926c4 -s ours am: a39609069d -s ours am: 656da9da88 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042288

Change-Id: I3515a0170f2b2dccae152fb068a25fdf3ffddd8d
2020-07-31 00:51:40 +00:00
TreeHugger Robot
562c82f107 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into pi-dev am: a407682e00 -s ours am: c6d69a8af4 -s ours
am skip reason: Change-Id I0731057ec6e77c6a0867784c729c3f5812ef6170 with SHA-1 5d73464b76 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12065562

Change-Id: I6fa99e01b6dc589c2ce60f75491b7a766a288eb8
2020-07-31 00:51:26 +00:00
TreeHugger Robot
fb020898bb [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-qpr1-dev am: 49729c59d9 -s ours am: 8b7cdc3fb3 -s ours am: 1c64519a1b -s ours am: c1c90a2f95 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042285

Change-Id: I080261f0c5e1886a177b970ce9cd67232e6311f0
2020-07-31 00:51:19 +00:00
TreeHugger Robot
a6695c6a6b [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-dev am: 5894b6fff0 -s ours am: 4de63443e5 -s ours am: 757bb926c4 -s ours am: a39609069d -s ours am: b6ef1c8a8e -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042288

Change-Id: Iedf84354b6cfbcf6bb8fc5b07057aa70f958e4a3
2020-07-31 00:44:52 +00:00
TreeHugger Robot
5917f239f6 [automerger skipped] Merge "Enable the filterTouchesWhenObscured in Special app access" into qt-qpr1-dev am: 49729c59d9 -s ours am: 8b7cdc3fb3 -s ours am: 1c64519a1b -s ours am: 83244c0722 -s ours
am skip reason: Change-Id I011cfe4b7e4e624a8338332ac47a353f7f3ab661 with SHA-1 ee4ec4b33f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12042285

Change-Id: Ic762608134d4473703242b7d29dbb09c86848f25
2020-07-31 00:42:45 +00:00
TreeHugger Robot
ecb9abf8fc [automerger skipped] Merge "Allows to launch only authenticator owned activities" into pi-dev am: d3ab16f1e2 -s ours am: b3448be7c7 -s ours am: 2076a10386 -s ours am: c5cc1c5939 -s ours am: f3f682446d -s ours am: 08d93061f5 -s ours
am skip reason: Change-Id I5ce1a0b3838db7b3fbe48c6ea23d5f093d625cdb with SHA-1 e2eab4e258 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11802013

Change-Id: I60806e41ed6ae61fbe309c9bae35d98b1a2058ec
2020-07-31 00:39:52 +00:00