Commit Graph

22354 Commits

Author SHA1 Message Date
Yiling Chuang
6dc8193d81 Allow wireless charging label to customize content descriptions
Fixes: 343616480
Test: atest SettingsRoboTests
Change-Id: I0d87b50fd88167b57ce9d9b06d776ba2ebe304ea
2024-06-07 07:20:22 +00:00
Chaohui Wang
efa1f0e3ed InternetPreferenceController V2 (1/n)
Refactor the InternetPreferenceController, migrate to repository and
flow, run data loading on background thread.

Only add Wifi summary for now.

Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - on Internet
Test: unit test
Change-Id: Ibd8911bc11b24d4a7e2ef320dea4d38b9c3a864f
2024-06-07 12:28:44 +08:00
Weng Su
2ac12d024f Merge "Fix Wi-Fi calling test case" into main 2024-06-07 03:47:24 +00:00
Yiyi Shen
fec890eabd [Audiosharing] Log action in audio sharing dialogs
P3 for add audio sharing loggings

Bug: 331515891
Test: atest
Change-Id: Iea29e74e00c239e8cb8cddee6eae71ba902add01
2024-06-07 11:32:19 +08:00
Ang Li
d20d913a13 Merge "Re-enable settings password tests." into main 2024-06-07 03:21:26 +00:00
Chun-Ku Lin
7e03bf65c7 Improve the speed of AccessibilitySettings#containsTargetNameInList to
help reduce the a11y settings' cold start latency.

Bug: 327052480
Flag: EXEMPT bugfix low risk
Test: atest com.android.settings.accessibility
Test: manual (a11y settings page still shows up with correct content)
Change-Id: Ib9980756d88a218ebb10f17d6a3b0d9a406a0ddd
2024-06-07 02:41:26 +00:00
Ang Li
68f1397e1c Re-enable settings password tests.
Bug: 344611440
Test: atest -c SettingsRoboTests
    (http://fusion2/749378e0-712e-4817-a490-d80f044c2f37)
Change-Id: I7d3f69df19accf9d22040706dba74ae6be304e85
2024-06-07 02:05:17 +00:00
Treehugger Robot
96a1e43d98 Merge "Loading the A11yHearingAidPreference summary in the background" into main 2024-06-07 00:26:38 +00:00
Chun-Ku Lin
b80641ba26 Loading the A11yHearingAidPreference summary in the background
Bug: 327052480
Flag: EXEMPT low risk bug fix
Test: atest com.android.settings.accessibility
Change-Id: I644be0c7ee289a4ea675984068ac494b97ebff68
2024-06-06 23:11:51 +00:00
Weng Su
ca13280e56 Fix Wi-Fi calling test case
Fix: 337417499
Flag: TEST_ONLY
Test: atest passed
atest -c NetworkProviderWifiCallingGroupTest

Change-Id: I2d57287a85075685b0bdb35a59dc8b147e90d38c
2024-06-06 21:39:00 +00:00
Xin Li
9bf082ae01 Merge "Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future" into aosp-main-future 2024-06-06 20:54:42 +00:00
Treehugger Robot
08fc7f85e7 Merge "Add Enable16KbTest to TEST_MAPPING" into main am: c3c33df4fc am: 8c0d308276
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3111923

Change-Id: Ic75ddfccfaaa1e9074c13e933e62982ed3ed9563
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 17:28:54 +00:00
Treehugger Robot
8c0d308276 Merge "Add Enable16KbTest to TEST_MAPPING" into main am: c3c33df4fc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3111923

Change-Id: I374aa31dde3f310e30462e82422dca679274ebee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 16:47:02 +00:00
Treehugger Robot
c3c33df4fc Merge "Add Enable16KbTest to TEST_MAPPING" into main 2024-06-06 16:28:25 +00:00
Treehugger Robot
0a281cbbae Merge "Fix test config" into main am: 4f19466f56 am: cd33904187
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3114506

Change-Id: I1541a1b2c75322c3cedb3c23a3c72b1ff894d937
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 16:06:01 +00:00
Treehugger Robot
cd33904187 Merge "Fix test config" into main am: 4f19466f56
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3114506

Change-Id: I96194603f06e24effecbbf3f04cbea01e21e7c0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 15:46:18 +00:00
Tom Hsu
c417d19839 Merge "Avoid to save result of blank input." into main 2024-06-06 08:43:37 +00:00
Treehugger Robot
39e9aede9a Merge "Delete "background process limit" debug option" into main 2024-06-06 07:46:23 +00:00
tomhsu
6be77d05cb Avoid to save result of blank input.
- Disable "Save" button if no input or only space chars.

fix: 335763360
Test: Manual test
Test: atest pass
Change-Id: Ied5f98ec0ce7d1f38f626211cb9f465781781cd8
2024-06-06 07:27:04 +00:00
Chaohui Wang
3e650c373c Merge "Refactor PrintSettings (1/n)" into main 2024-06-06 06:06:30 +00:00
Yiyi Shen
61b4f199ca [Audiosharing] Log action when change primary device
P2 for add audio sharing loggings

Bug: 331515891
Test: atest
Change-Id: I9b806312c831320b46b63942acd3119b5ff40ae4
2024-06-06 13:58:44 +08:00
Pawan Wagh
9021526247 Fix test config
test app was failing to install when running in integration due to
shared uid. Removing the sharedUid field from test.

Test: m Enable16KbTest && atest -c Enable16KbTest
Bug: 341995374

Change-Id: I37f481c552f8f0779bcd8c69cf4e40598590f5db
2024-06-05 23:02:50 +00:00
Xin Li
3c3a1cc6c6 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: Id3d79805bb2289b84ad34ac05a97e50f0410502f
Change-Id: I70f531e800ed5f3765a100b5b5cecb99664c1dbc
2024-06-05 14:12:13 -07:00
Joshua McCloskey
584b6c9e96 Biometrics Enrollment refactor (7/N)
This cl moves the creation of repos and interactors to the
SettingsApplication.
Bug: 297082837
Test: atest

Change-Id: I9049da6f03bb1dc18d4186961444bf613d773d0e
2024-06-05 18:18:59 +00:00
Shai Barack
c163eb07ce Delete "background process limit" debug option
We're deprecating max limits for cached/empty app processes.

Bug: 253908413
Change-Id: Iff80f173e72e9b77faefe3c66543c0756f2e6f74
Flag: EXEMPT cleaning up now-unused flag
2024-06-05 16:07:08 +00:00
YK Hung
8d6c004a7c Merge "Clear app optimized mode sharedpreferences when Reset all app preferences." into main 2024-06-05 15:52:53 +00:00
Chaohui Wang
3362e5d14a Refactor PrintSettings (1/n)
Add PrintRepository for display Print services.

Bug: 320076351
Flag: com.android.settings.flags.refactor_print_settings
Test: manual
Test: unit test
Change-Id: I1ea52508d504161675eeffeb3ec077caa641cb2c
2024-06-05 13:14:08 +00:00
Jigar Thakkar
d9b417cd72 Merge "Hide private space settings app post setup" into main 2024-06-05 11:44:42 +00:00
mxyyiyi
35282888d9 Clear app optimized mode sharedpreferences when Reset all app preferences.
- Clear events when user click Settings > Apps > All apps > top-right button > "Reset app preferences"
- Update AppOptModeSharedPreferencesUtilsTest from robotest to unit test.

Bug: 338965652
Test: atest + manual
Change-Id: Ib0a1bd113ab31fea247e5a5430ab35b252c6e1f5
2024-06-05 18:43:41 +08:00
Jigar Thakkar
b48a4469ac Hide private space settings app post setup
Currently, the changes to disable private space settings app component
are located in SettiingsInitialize.java. These get triggered when
ACTION_USER_INITIALIZE is received by the settings app inside the
private profile user. However, we are stopping the private profile user
at the end of the setup flow. This can lead to a scenario wherein
ACTION_USER_INITIALIZE is relayed by the system server but not received
by the private space settings app, since it was stopped. To over come
this issue, we move the changes to disable the private space settings
app component inside the private space setup flow (right after the user
is created and started).

Bug: 342165140
Test: atest PrivateSpaceMaintainerTest#createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled
Flag: ACONFIG android.multiuser.enable_private_space_features NEXTFOOD
Change-Id: Ib9baac1e9d835ea5a27c15d499e10615b84cf97b
2024-06-05 10:11:33 +00:00
Quang Luong
665b2a586e Merge "Change hotspot security to WPA3-Transition when switching from 6GHz" into main 2024-06-05 07:34:34 +00:00
Ram Peri
07734b56ba Merge "Reduce number of tests in SettingsRoboTests" into main 2024-06-05 03:31:10 +00:00
Pawan Wagh
513ea2cde4 Merge "Integration tests for 16kb dev option" into main am: 3abf3a0f8c am: 78cd8ba4f6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3111722

Change-Id: I6e669fb33f7d5d7f6abc9ebdad353ec1501fbe5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 03:20:54 +00:00
Treehugger Robot
e0bccf1d5c Merge "Revert "Revert "settings: Make use of ACTION_NETWORK_PROVIDER_SE..."" into main 2024-06-05 03:17:36 +00:00
Pawan Wagh
78cd8ba4f6 Merge "Integration tests for 16kb dev option" into main am: 3abf3a0f8c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3111722

Change-Id: I1a9980d2857017bfd3d6808561b020bfa35dd32d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 03:08:45 +00:00
Chris Antol
03e59a0827 Merge "Ignore fragment attr from ext authenticator resource" into main 2024-06-05 02:01:07 +00:00
Pawan Wagh
0dbc009db1 Add Enable16KbTest to TEST_MAPPING
Test: m Enable16KbTest && atest -c Enable16KbTest
Bug: 341995374
Change-Id: I92bf4a92dcb9fed4d4ae3cb35f6032b095a640d3
2024-06-04 23:12:39 +00:00
Pawan Wagh
10ff699b99 Integration tests for 16kb dev option
Adding tests to verify end to end functionality for dev options.
This test verifies
- /data reformatting to ext4
- switching to 16kb kernel
- switching back to 4kb kernel
- Persistent notifications in page-agnostic mode
- Disabling developer option in page-agnostic mode

Test: m Enable16KbTest && atest -c Enable16KbTest
Bug: 341995374
Change-Id: Ieaa149831b5205a15b259982f0349dc94d4fae92
2024-06-04 23:11:37 +00:00
David Jacobo
19a96c7cbd Revert "Revert "settings: Make use of ACTION_NETWORK_PROVIDER_SE..."
Revert submission 27518747-revert-27019285-ACTION_NETWORK_PROVIDER_SETTINGS-UWYYODXDGG

Reason for revert: per b/338527563#comment37, this was wrongly pointed out as culprit, looping folks conducting investigation as +cc

Reverted changes: /q/submissionid:27518747-revert-27019285-ACTION_NETWORK_PROVIDER_SETTINGS-UWYYODXDGG

Change-Id: Id3dfdac978227d0fd065f1eb59b525f041fad3d2
2024-06-04 22:35:00 +00:00
Chris Antol
2cb9b10ed9 Ignore fragment attr from ext authenticator resource
Bug: 341886134
Test: Unit Test
Test: Manual - see ticket for steps
Flag: EXEMPT <security>

Change-Id: Id91c2b3b6d16ba3702ee2cd6723365a4db52863b
2024-06-04 17:06:26 +00:00
YK Hung
d76f5b8233 Merge "Fix post-comment in ag/27593647 to improve the readability." into main 2024-06-04 10:25:00 +00:00
mxyyiyi
00507a47ec Fix post-comment in ag/27593647 to improve the readability.
Bug: 338965652
Test: atest + manual
Change-Id: I8e4c8a4508dd8c5afd1f16c6129146ba6e13bde2
2024-06-04 15:48:36 +08:00
Quang Luong
d65e37e8a8 Change hotspot security to WPA3-Transition when switching from 6GHz
When changing hotspot to 6GHz, we auto-set the security to WPA3-SAE. However, we don't do the reverse when changing out of 6GHz, which may cause legacy devices to be unable to connect. Instead, always revert back to WPA3-Transition when switching out of 6GHz.

Bug: 323764310
Test: manual
Change-Id: I06b1e97f452da86a693812a6620c251ff5d0e932
2024-06-04 07:48:16 +00:00
Chaohui Wang
57956a8bb8 [Apn] Copy network type into lingering network type
The lingering network type is actually the bit that controls network
torn down. UNKNOWN here means the APN can work on any RAT.

Just copy network type into lingering network type, so network torn down
can work normally.

Fix: 341006308
Test: unit test
Change-Id: Ia60ad3e012bec7364aa35535de1363cd7c0ccdda
2024-06-04 13:58:36 +08:00
Kevin Liu
8c1d5ff5b6 Add strict_mode: false
As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
For more info on strict mode: go/roboStrictMode

Test: atest SettingsRoboTests
Bug: 334089788
Change-Id: I4381446dac381a34747043c564cf5288a2e16725
Merged-In: I4381446dac381a34747043c564cf5288a2e16725
2024-06-04 00:32:42 +00:00
Ram Peri
843b75308b Reduce number of tests in SettingsRoboTests
Bug: 342210014
Flag: NA not applicable
Test: atest SettingsRoboTests
Change-Id: I0465752ad84cc85e8619aba16e741030fbdfc679
2024-06-03 14:38:33 -07:00
Treehugger Robot
59417f3737 Merge "Reenable (no longer) failing test" into main 2024-06-03 19:16:30 +00:00
Daniel Norman
5a20cfb469 Merge "Update A11ySettings to load preferences in onCreate()." into main 2024-06-03 19:06:23 +00:00
Julia Reynolds
15930b1b61 Reenable (no longer) failing test
Test: ApprovalPreferenceControllerTest
Fixes: 339550695
Flag: android.app.modes_api
Change-Id: Id71a17edd3fa1e9a03df3947c159161eee4dcd1a
2024-06-03 18:13:13 +00:00
Treehugger Robot
8c7d7a2cc9 Merge changes from topic "opt_mode_ds" into main
* changes:
  Add AppOptimizationModeEventsUtils to save & update app optimization mode expiration events.
  Dump app optimization mode expiration event data in bug report.
2024-06-03 13:50:05 +00:00