Commit Graph

147294 Commits

Author SHA1 Message Date
Wes Okuhara
67fe8825ab Merge "Settings: Duplicate device product strings for desktop" into main 2025-03-07 16:10:09 -08:00
Nigel Tao
7a81ed89fa Merge "Fix Settings/Storage "Format USB drive" title string" into main 2025-03-07 14:58:24 -08:00
Diya Bera
ea342bbd82 Merge "Update Identity Check for Fingerprint Settings" into main 2025-03-07 09:49:13 -08:00
Bill Yi
853fd959c2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:54 -08:00
Bill Yi
08e03de83b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:54 -08:00
Treehugger Robot
17151798b3 Merge "Cursor colour Settings VisD update" into main 2025-03-07 08:29:18 -08:00
Michael Mikhail
0d44396f76 Merge "[catalyst] migrate media controls settings" into main 2025-03-07 07:27:51 -08:00
yyalan
3e62540560 Cursor colour Settings VisD update
Fixes: 400303794
Flag: NONE bug fix
Test: screenshot in comment
Change-Id: Ic9ddce25627c021f46de301af5e2fd22a74719e0
2025-03-07 15:12:41 +00:00
Treehugger Robot
2342373850 Merge "Use SatelliteManager API to check device support satellite or not." into main 2025-03-07 05:29:01 -08:00
tom hsu
76517509a0 Use SatelliteManager API to check device support satellite or not.
Flag: EXEMPT bug fix
Bug: b/401045618
Test: atest pass
Change-Id: Icbf9cf0f8da9c04d8b637f326e3bad7fb2a30916
2025-03-07 11:59:08 +00:00
Jacky Wang
0da0270ff7 [MainSwitchPreference] Remove OnCheckedChangeListener from NightDisplayActivationPreferenceController
Bug: 400335057
Flag: EXEMPT refactor
Test: manual
Change-Id: I97506685a9a188755297c90d15ead738667c8d5c
2025-03-07 19:44:59 +08:00
Jacky Wang
9eb7cd95b4 [MainSwitchPreference] Use OnPreferenceChangeListener for DarkModeActivationPreferenceController
Bug: 400335057
Flag: EXEMPT refactor
Test: manual
Change-Id: I6c6a053b64a0a10773bf9d51c44387a3597e91ad
2025-03-07 19:44:59 +08:00
Jacky Wang
1684b4387e [MainSwitchPreference] Deprecate SettingsMainSwitchPreferenceController
Bug: 401406987
Flag: EXEMPT refactor
Test: manual
Change-Id: Icdef50d0da777751f37b9d0d1984db636c7086f1
2025-03-07 19:44:59 +08:00
Jacky Wang
0fb23e3a7e Merge "[Catalyst] Extract datastore for VibrationMainSwitchPreference" into main 2025-03-07 03:25:48 -08:00
Yuri Ufimtsev
245df05c33 Merge "Add Content Protection settings to Advanced Security page" into main 2025-03-07 03:22:23 -08:00
Ramya Manoharan
338b40766c Merge "[Setting] [UI Change] SIM is an acronym and should be capitalized." into main 2025-03-07 03:03:35 -08:00
Treehugger Robot
b9f1396ddc Merge "fix(hct): Hardcode the names of Outline text and HCT in our notif." into main 2025-03-07 01:55:12 -08:00
Zoey Chen
4011a8e250 Merge "[Settings] Use Settings flag to keep consistency" into main 2025-03-07 01:45:29 -08:00
Treehugger Robot
95a651ca30 Merge "Fixed the color issue of Wi-Fi password EditText" into main 2025-03-07 01:44:37 -08:00
Jacky Wang
206d27d778 [Catalyst] Extract datastore for VibrationMainSwitchPreference
NO_IFTTT=Catalyst only

Bug: 368360218
Flag: EXEMPT refactor
Test: atest
Change-Id: I3c308b0ed1462a10ddd0daf55f30996a23e747d7
2025-03-07 16:53:26 +08:00
Weng Su
de56c24ac0 Fixed the color issue of Wi-Fi password EditText
- Use Material3 theme preset colors

Bug: 397878305
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I196db3c50a6f5edd8556073e12f4d3f6790f3bff
2025-03-07 16:01:47 +08:00
Zoey Chen
59cccc6775 [Settings] Use Settings flag to keep consistency
Bug: 401438916
Test: manual
Flag: EXEMPT refactor
Change-Id: Ie7d1bf50c119eb5b5bcea55508c6a8a842bc60ee
2025-03-07 07:49:17 +00:00
Yongshun Liu
8a333df6fa Merge "a11y: Clean up TestDialogHelper for magnification tests" into main 2025-03-06 20:29:05 -08:00
Shaowei Shen
e4fed1e6b0 Merge "[Physical Keyboard] Listen input devices change" into main 2025-03-06 19:25:51 -08:00
Zoey Chen
8c3d699dc3 Merge "[Settings] Add test cases for App LocalePicker page" into main 2025-03-06 18:56:36 -08:00
Xin Li
c7699dd04c [automerger skipped] Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future am: 10d930d1cf -s ours
am skip reason: Merged-In I04f90b42907d07c6111a7b41a531f7717df33672 with SHA-1 b7783cb6c9 is already in history

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

Change-Id: I96e7f87e0f15f41c3b6e563180f3a6f6a26c09aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-06 18:30:19 -08:00
Yongshun Liu
f171468e69 a11y: Clean up TestDialogHelper for magnification tests
This moves TestDialogHelper to a separate file, and cleans up a couple
of magnification tests.

Bug: b/397530196
Flag: EXEMPT refactor
Test: SettingsRoboTests:com.android.settings.accessibility.MagnificationModePreferenceControllerTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationCursorFollowingModePreferenceControllerTest
Change-Id: I68e70061b84dacacf95bc05c784677b8d9794754
2025-03-07 01:55:45 +00:00
Zoey Chen
bf014ead27 [Settings] Add test cases for App LocalePicker page
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleAllListPreferenceControllerTest
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleSuggestedListPreferenceControllerTest
Bug: 396285228
Flag: EXEMPT refactor
Change-Id: Icd3bcddda47e38cabdca2702f7a42e6b6b43c67e
2025-03-07 00:58:05 +00:00
Riley Jones
b15a8557c0 Merge "Fix for next button contentdescription in TextReadingPreviewPreference" into main 2025-03-06 16:14:03 -08:00
Treehugger Robot
ccadee76e0 Merge "Use correct shortcut preference key on Magnification screen" into main 2025-03-06 12:47:54 -08:00
Daniel Norman
1a983ff386 fix(hct): Hardcode the names of Outline text and HCT in our notif.
This should help prevent localization issues caused by capitalization of
this templated string, since these feature names should not be
capitalized unless they are at the beginning of the sentence.

The 'Settings' app name should always be capitalized since it's the
proper name of an app, so that remains templated.

Bug: 399358129
Test: atest HighContrastTextMigrationReceiverTest;
      (this test asserts against a hardcoded version of the entire
       string)
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Change-Id: Iaaa2ac10a56c1e4f7e5a8fd0d1c8eaf8b0293a27
2025-03-06 20:44:21 +00:00
Xin Li
10d930d1cf Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future
Bug: 385190204
Merged-In: I04f90b42907d07c6111a7b41a531f7717df33672
Change-Id: I58e92a6e45193de820f7432dcb365c41c14d3141
2025-03-06 12:22:41 -08:00
Riley Jones
fd0c711002 Fix for next button contentdescription in TextReadingPreviewPreference
Test: Enable talkback and verify next button outputs a correct description
Bug: None
Flag: EXEMPT small cleanup change
Change-Id: Ib71e2a42b810b0ba5d92ec630f90ca7a32fbba46
2025-03-06 19:41:26 +00:00
Bill Yi
8f36366e88 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idb33529dea8535d016750389851de730f199f46b
2025-03-06 11:31:24 -08:00
Bill Yi
a110232bf6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I460c1aa6000c2c689cb55600b6a42210c7fb2135
2025-03-06 11:29:23 -08:00
Chun-Ku Lin
d16e449ae2 Use correct shortcut preference key on Magnification screen
Bug: 401279127
Test: manual
Flag: EXEMPT low risk bugfix
Change-Id: I26e7fcf82c5141ceb740b5d9561dd15c5a5829bd
2025-03-06 19:15:41 +00:00
Treehugger Robot
305a8e0ea7 Merge "Update external display settings to use DesktopExperienceFlags" into main 2025-03-06 07:11:54 -08:00
Aleksander Morgado
c5136b82fc Merge "Hide 'Reset mobile network settings' if not telephony capable" into main 2025-03-06 06:20:31 -08:00
Pragya Bajoria
6bf505000d Merge "Update string name to "desktop windowing" from "Desktop view" for developer options." into main 2025-03-06 05:57:01 -08:00
Pierre Barbier de Reuille
761920b4a1 Update external display settings to use DesktopExperienceFlags
Done to keep the injector and allow the same testing as before.

Flag: EXEMPT (update flag infra)
Test: build, run, use developer option
Fix: 401058586
Change-Id: Ie841f5a86d41f573e888cccec46d9c3dc700e561
2025-03-06 11:13:44 +00:00
Pragya Bajoria
cf8c81fddf Update string name to "desktop windowing" from "Desktop view" for developer options.
Bug: 401166274
Flag: EXEMPT (string change)
Change-Id: Ia99113d697ee42a1b3723fbc23a4392677468365
2025-03-06 02:08:08 -08:00
Treehugger Robot
dde80ef88b Merge "Fixed accessibility issues in VPN Settings" into main 2025-03-06 01:35:45 -08:00
Candice Lo
f922d9bf95 Merge "Add a content description for the illustration if it is an animation" into main 2025-03-06 01:28:57 -08:00
Chelsea Hao
256a816e18 Merge "Small clean up to get ready for receive state based triggering." into main 2025-03-06 00:57:56 -08:00
Weng Su
3cdc1a58a7 Fixed accessibility issues in VPN Settings
- Show "(required)" and errors in required fields to alert users

- Show "(optional)" below each optional field

Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
2025-03-06 16:19:47 +08:00
Treehugger Robot
27dd4232bd Merge "[Audiosharing] Disable flag in test." into main 2025-03-05 23:49:28 -08:00
chelseahao
ada92d5d6c Small clean up to get ready for receive state based triggering.
1. Maintain a map from device to its source state as they could be different.
2. Ensure thread safety.

Test: atest
Bug: 398700619
Flag: com.android.settingslib.flags.audio_stream_media_service_by_receive_state
Change-Id: I056c80401c12401c78037eb15bed007eb592c12a
2025-03-05 23:40:47 -08:00
Candice
7f70f5b633 Add a content description for the illustration if it is an animation
Since `isAnimatable` is decided in `onBindViewHolder`, we need to register
an onBindListener and update the content description if the current
illustration is an animation.
For the static images, we would like to skip them in Talkback since they
are decorative images.

Bug: 395882764
Test: manually. attach screenshot to the bug
Test: atest ToggleFeaturePreferenceFragmentTest
flag: EXEMPT. bugfix
Change-Id: I57bf96d0891ba553ef29d25ae9489f34b2a832e9
2025-03-06 06:53:48 +00:00
chelseahao
61c41c9ef3 [Audiosharing] Disable flag in test.
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 400879282
Change-Id: I0f1aeef5419afc0a23564f726e67d36563a91333
2025-03-06 14:51:58 +08:00
Ramya Manoharan
525cf12ff3 [Setting] [UI Change] SIM is an acronym and should be capitalized.
UI wording change from sim to SIM.
Hsv link before: https://hsv.googleplex.com/5410781758750720
Hsv link after:
https://hsv.googleplex.com/6208808761163776
https://hsv.googleplex.com/6303017233022976
Bug: 343534342
Test: manual test.
Flag: NONE <String Capitalization only>

Change-Id: Idbe5b69677ff6b7fccb7f8d8724130e6e75992aa
2025-03-05 22:16:40 -08:00