Commit Graph

147568 Commits

Author SHA1 Message Date
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
Graciela Putri
6ed930462b Remove (experimental) from app aspect ratio settings title
Flag: EXEMPT string change
Fix: 305215544
Test: m
Change-Id: Idbb01ec99014efc40c285212e5e6ef8c91fa8333
2025-03-06 03:36:22 -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
Xinyi Mao
501b6f67ff Merge "[A11y] Add battery chart slot selected status in content description." into main 2025-03-05 21:24:31 -08:00
mxyyiyi
e853b6b267 [A11y] Add battery chart slot selected status in content description.
- Let talkback annouce the slot status before battery slot info.
"Selected": If current slot is selected or after the double-tap action to selected a slot.
"Unselected": If current slot is not the seletectd one or after double-tapping an already selected slot(which will selected ALL instead)

Fix: 386027256
Test: Talkback
Flag: EXEMPT for simple fix
Change-Id: I32a665cdf21620aade8397e5bbe4cb44964b0a39
2025-03-06 11:30:56 +08:00
Yongshun Liu
e5e3803470 Merge "a11y: Add cursor following mode dialog" into main 2025-03-05 18:04:17 -08:00
Wes Okuhara
4a53a78353 Settings: Duplicate device product strings for desktop
Defines string variants for the "desktop" product type which are simply
copies of the "device" string variants for now. This will decouple
desktop from the "device" product type, avoid using any "default"
strings (phone) in desktop, and allow for string overlay from RRO.

The desktop string variants have been reviewed by a UX writer (see
design doc in bug).

Bug: 392650416
Test: Manually verify UI strings
Flag: EXEMPT desktop only change
Change-Id: Ib8cc10d1886c253ee194f66bd46815f179940725
2025-03-05 16:54:10 -08:00
David Padlipsky
d83aa9b83c Merge "Map pointer speed slider on mouse page to control mouse speed" into main 2025-03-05 11:52:40 -08:00
Treehugger Robot
de048f3005 Merge "Add WearSafetySource (Without Listener)" into main 2025-03-05 11:12:51 -08:00
Chun Zhang
f7a128496c Add WearSafetySource (Without Listener)
Bug: 389841524
Test: TreeHugger
Test: manual
Test: atest SafetySourceBroadcastReceiverTest
Test: atest LockScreenSafetySourceTest
Test: atest ActiveUnlockStatusUtilsTest
Test: atest WearSafetySourceTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I7f4b41bf33d1e0fb7988f756a466e4d80bcec25e
2025-03-05 17:31:26 +00:00
Wes Okuhara
f2767a794b Merge "Settings: Do not show install info for Play Store app" into main 2025-03-05 09:10:11 -08:00
Oleg Petšjonkin
f1d0ce612b Merge "Updating NightLight Intensity slider to SliderPreference component" into main 2025-03-05 08:03:34 -08:00
Adrian Roos
d85d04d98a packages/apps/Settings: remove deprecated Mockito usages
Test: m checkbuild
Flag: TEST_ONLY
Bug: 310268946
Change-Id: Ibfe27bc2399bf1f06d6b790f9fe68d31da60e43a
2025-03-05 06:02:12 -08:00
Daniel Huang
2871b8dfce Merge "Add Confirmation Dialog" into main 2025-03-05 05:51:36 -08:00
Azhara Assanova
fe0ee75515 Merge "Update preference summary for ExternalSourcesDetails page when Advanced Protection is on" into main 2025-03-05 03:47:43 -08:00
Aleksander Morgado
e96d71fc41 Hide 'Reset mobile network settings' if not telephony capable
The entry is hidden either via the build-time
config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag.

Bug: 399208058
Test: mm && atest NetworkResetPreferenceControllerTest
Flag: EXEMPT bugfix

Change-Id: I178a0cae9d4ffd1ea4492a6b1feca697373d6e20
2025-03-05 00:43:11 -08:00
Menghan Li
86fa16ba52 Merge changes from topics "A11yFeedback1P", "A11yFeedbackTopLevelPage", "AccessibilityPageIdFeatureProvider" into main
* changes:
  refactor(A11yFeedback): Rename AccessibilityMetricsFeatureProvider
  feat(A11yFeedback): Add feedback entry for downloaded Accessibility
  chore(A11yFeedback): Removing Legacy Android M Menu Behavior
  feat(A11yFeedback): Implements page ID to feedback bucket ID mapping
2025-03-05 00:06:01 -08:00
Menghan Li
b511fe690b refactor(A11yFeedback): Rename AccessibilityMetricsFeatureProvider
The AccessibilityMetricsFeatureProvider currently provides page IDs
derived from component names, primarily for metrics purposes.
However, its functionality should be expanded to also support
feedback needs, not just metrics collection, by returning
appropriate settings enum values.

Bug: 393980229
Test: atest AccessibilityMetricsFeatureProviderGoogleImplTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I2d64db866010ae5e3c6a9738f92860df3d0b86aa
2025-03-05 05:25:05 +00:00
Menghan Li
9ffca7cbfc feat(A11yFeedback): Add feedback entry for downloaded Accessibility
This entry point allows users to access in the action bar.
Visibility is controlled by the aconfig and FeedbackManager#isAvailable

Bug: 393980229
Test: Manual testing on Pixel and non-Pixel devices
Test: atest ToggleFeaturePreferenceFragmentTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: Ie6dfb6a887fe5a894622e86bab39878f8adea758
2025-03-05 05:24:38 +00:00
Menghan Li
bcddc529ba chore(A11yFeedback): Removing Legacy Android M Menu Behavior
Removed legacy code that suppressed search and help menus for
accessibility features. This workaround was implemented in Android M
(ag/10438579) and is no longer needed.

Bug: 393980229
Test: Manual testing on Pixel and non-Pixel devices
Flag: EXEMPT cleanup
Change-Id: Ide4978bb5d2fdacad48399fb8525c6a0dfcd4277
2025-03-05 05:23:50 +00:00
Menghan Li
c26eb7fd24 feat(A11yFeedback): Implements page ID to feedback bucket ID mapping
This change adds a new API to a Pixel overlay feature provider,
allowing Android to map page IDs to feedback bucket IDs.

Bug: 393980229
Test: Manual testing for Pixel and non-Pixel overlay in real device
Test: atest AccessibilitySettingsTest
            FeedbackManagerTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I8a110b08816cac9c8a8e8c3e1218530fffb6f121
2025-03-05 05:23:00 +00:00
shaoweishen
0c07f16443 [Physical Keyboard] Listen input devices change
Create new fragment which listen input device change, when input device
detached while pages show, it will exist correctly.

Bug: 399284521
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I3d6b9a4558866a8c4a3aa4fc30e500b8b6be90cd
2025-03-05 03:48:24 +00:00
Shawn Lin
10cf921fb7 Update strings for summary in device unlock page
Bug: 370940762
Test: atest FaceStatusUtilsTest
            FingerprintStatusUtilsTest
            ScreenLockPreferenceDetailsUtilsTest
	    FaceSafetySourceTest
	    FingerprintSafetySourceTest
	    FaceStatusPreferenceControllerTest
	    FingerprintStatusPreferenceControllerTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I0927529e939a8e16ddf6692adc8ad427bdbe1bca
2025-03-05 03:11:27 +00:00
Shawn Lin
744ed22075 Merge "Support the ability to enroll face unlock first" into main 2025-03-04 19:06:09 -08:00
Wes Okuhara
79563030fb Settings: Do not show install info for Play Store app
Clicking the "App details" row in the info subpage for the Play Store
app results in a crash. It appears that this app is not considered a
mainline module and has an installer label, but this app is a special
case. Hide the row for the Play Store app.

Bug: 302093631
Test: atest com.android.settings.spa.app.appinfo.AppInstallerInfoPreferenceTest
Flag: EXEMPT bugfix
Change-Id: I291ee3e5dec2075381cb52d041982583cdd04323
2025-03-04 19:05:23 -08:00
Treehugger Robot
170531768d Merge "Fixed EditText Talkback issue in VPN Settings" into main 2025-03-04 17:24:50 -08:00
Yongshun Liu
20d1a7d1b6 a11y: Add cursor following mode dialog
This a pure UI change that adds a new magnification cursor following
mode dialog behind a flag. The framework support will be added
separately later.

There are 3 modes as the following:
  - continuous mode
  - center mode
  - edge mode

It also renames magnification mode dialog xml file for general purpose
within accessibility.

NO_IFTTT=linter not working

Bug: b/388335935
Flag: com.android.settings.accessibility.enable_magnification_cursor_following_dialog
Test: SettingsRoboTests:com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragmentTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationModePreferenceControllerTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationCursorFollowingModePreferenceControllerTest
Change-Id: If2672186faf7443cc210d79630b1ea4f3808d7e4
2025-03-04 23:47:56 +00:00
Diya Bera
b5482ac6a9 Update Identity Check for Fingerprint Settings
Flag: EXEMPT bug fix
Fixes: 398045898
Test: N/A
Change-Id: Icc71921c331bf445f2c70e9e6a7ac99a2e67f8a5
2025-03-04 20:04:31 +00:00
Casey Burkhardt
5c7811274e Merge "Ensure accessibility shortcut preference summaries are not focusable" into main 2025-03-04 11:54:21 -08:00
Azhara Assanova
07f9680835 Merge "Update ActionDisabledByAdvancedProtectionDialog" into main 2025-03-04 11:52:18 -08:00
Weng Su
a361eca799 Fixed EditText Talkback issue in VPN Settings
- Use Material3 TextInputLay & TextInputEditText to replace TextView & EditText

Bug: 386014810
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I19ea8f64569173367c84e39fe9e892ecebdf2e2a
2025-03-05 03:32:46 +08:00
Bill Yi
4a907d6186 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-04 10:54:53 -08:00
Bill Yi
3a03699f69 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-04 10:54:53 -08:00
Srinivas Patibandla
aba8de169b Merge "24Q3: Remove Flag enable_hide_exclusively_managed_bluetooth_device" into main 2025-03-04 10:08:39 -08:00