Commit Graph

10486 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Azhara Assanova
07f9680835 Merge "Update ActionDisabledByAdvancedProtectionDialog" into main 2025-03-04 11:52:18 -08:00
Randy Pfohl
0d2afeeb33 Merge "Remove demo button from animation and move to gesture navigation settings fragment" into main 2025-03-04 08:13:40 -08:00
Azhara Assanova
db59b0e729 Update ActionDisabledByAdvancedProtectionDialog
For UI, the dialog was migrated to SpaDialogWindowTypeActivity, which
has a Material3 theme and can support rendering over QuickSettings.

This change also adds logic around which message to show depending on
the received extras for feature ID and the dialog type.

Finally, the dialog will display the support button if the help Intent
URI exists and resolves to an activity. Tests around the support button
will be added in a follow up CL.

Bug: 389080341
Test: Visual test
Test: atest ActionDisabledByAdvancedProtectionDialogTest
Flag: EXEMPT bug fix
Change-Id: I0ed23cd44666a40ad54d755f628cd36ef06cc145
2025-03-04 12:00:50 +00:00
Oleg Petšjonkin
d82f6583fb Merge "Fixing resolution announced by Talkback" into main 2025-03-04 02:37:03 -08:00
Pawan Wagh
e713abaae7 Use userContext instead of context
- update string to remove word 'forced'

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 389696304
Flag: EXEMPT bug_fix
Change-Id: I79d4ec1afbf44131bd53d786c126c14c163a9207
2025-03-03 22:43:09 +00:00
Santos Cordon
43e0a04580 Merge "Remove EvenDimmer Toggle" into main 2025-03-03 07:19:04 -08:00
Treehugger Robot
49f129ee11 Merge "Fix disruptive announcement on PIN/Password set up" into main 2025-03-02 17:32:19 -08:00
Treehugger Robot
6e2bddaabd Merge "Stop app when toggling backcompat setting" into main 2025-03-02 16:59:40 -08:00
Treehugger Robot
11b78c6fef Merge "[Mag] Keyboard shortcut info shown when physical keyboard present" into main 2025-02-28 18:09:04 -08:00
Xiaomiao Zhang
8e3b899f30 Merge "Implement Web content filters entry point in Supervision Settings dashboard." into main 2025-02-28 17:58:08 -08:00
Xiaomiao Zhang
0dabc23adb Implement Web content filters entry point in Supervision Settings dashboard.
Test: atest SupervisionWebContentFiltersScreenTest
Bug: 395134536
Flag:android.app.supervision.flags.enable_web_content_filters_screen
Change-Id: I5471d8b2956e94b0120ae13bec6187065a5e738a
2025-02-28 16:46:10 -08:00
Hao Dong
1cd98d4993 Add content description for password&pin credential view.
Bug: 384635437
Test: manual test with talkback on on settings device unlock
Flag: EXEMPT for a11y big fix
Change-Id: Ie9edd41dca8274cd69700d2a5dfc7b5fe5a7be8e
2025-02-28 21:24:10 +00:00
petsjonkin
df5313a06d Fixing resolution announced by Talkback
Bug: b/386030131
Test: manual testing
Flag: EXEMPT bugfix
Change-Id: I83beab2cfdc25d163c657c89193c0d463f86dbb1
2025-02-28 19:27:59 +00:00
Randy Pfohl
25b8a583bd Remove demo button from animation and move to gesture navigation settings fragment
Flag: NONE N/A

Test: Built and tested flow, video in bug

Bug: 399034564

Change-Id: I9c8386e2d4236ab4f686daff49e0cd088ad5e126
2025-02-28 16:47:36 +00:00
Pawan Wagh
a63c370eb6 Stop app when toggling backcompat setting
- Add method to stop package
- Backcompat setting takes two launches right now to take effect.
stop application when backcompat setting is toggled.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 389696304
Flag: EXEMPT bug_fix
Change-Id: Iadc8030fe34f66e7eaf854513b14aeb78a556308
2025-02-28 01:14:30 +00:00
Oleg Petšjonkin
b1066b1348 Merge "Talkback should not announce Selected when changing screen resolution" into main 2025-02-27 15:07:14 -08:00
Katie Dektar
e94d88c74e [Mag] Keyboard shortcut info shown when physical keyboard present
Shows keyboard shortcut info in magnification settings when a
physical keyboard is present. See bug for screenshots.

Hides touchscreen info in magnification settings when a touchscreen
is not present.

Adds ShadowInputDevice support for physical full keyboards.

Bug: b/388847050
Test: Manual, atest ToggleScreenMagnificationPreferenceFragmentTest
Flag: com.android.server.accessibility.enable_magnification_keyboard_control
Change-Id: Ib53fbd8f929d1cc8e294f6f04bab405c9bb576a9
2025-02-27 23:00:12 +00:00
Yuhan Yang
01d938228a Merge "Add revert to left click to autoclick settings page" into main 2025-02-27 12:24:48 -08:00
Daniel Norman
551534959c Merge "Update the dark theme and EDT description" into main 2025-02-27 11:26:10 -08:00
Riley Jones
e8a5eae1dd Merge "Left & right buttons for display size & text preview" into main 2025-02-27 11:13:55 -08:00
Yuhan Yang
d96bcf8f85 Add revert to left click to autoclick settings page
Screenshot: go/screenshot-4sdpfqk5rf3u23l
UI mock: go/screenshot-vcu7ui2ar9bjrm6

Bug: 388845719
Test: ToggleAutoclickRevertToLeftClickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I813613f3d920ce6795e6750c440449e78d9b9c37
2025-02-27 17:32:41 +00:00
Simon Wingrove
d781287746 Merge "Update "do not disturb access" to "do not disturb control"" into main 2025-02-27 08:53:20 -08:00
Zoey Chen
25a3ba4eab Merge "[Settings] Update title by UX suggestion" into main 2025-02-27 01:31:16 -08:00
Angela Wang
ddd2946804 Merge "Set content description on ambien volume sliders" into main 2025-02-27 01:29:18 -08:00
Zoey Chen
c9d46e6527 [Settings] Update title by UX suggestion
Bug: 377664066
Test: manual
Flag: EXEMPT refactor

Change-Id: Ic6869e614d4464bad64ec44c5973589fb997f598
2025-02-26 22:52:50 -08:00
lbill
d334ebb556 Fix disruptive announcement on PIN/Password set up
- Do not invoke deprecated announceForAccessibility()
- Define corresponding content description for PIN & Password

Flag: EXEMPT for a11y bug fixinig
Bug: 384607370
Test: Enabled Talkback, Setup Screen Lock PIN/Password,
ensure the "Password is now set up" for set up password, and
the "PIN is now set up" announced without disruptive announcement

Change-Id: I97c2c7fd8824468fccca8526c4e61ce642fd62ac
2025-02-27 04:21:25 +00:00
Yi Jiang
b996d80d4b Merge "Make the learn more link more descriptive." into main 2025-02-26 18:44:27 -08:00
petsjonkin
20786fdc6f Talkback should not announce Selected when changing screen resolution
Bug: b/386029188
Test: manual testing
Flag: EXEMPT bugfix
Change-Id: I13a4ef58711a25549dc02c37a2a9911b1dfebf82
2025-02-26 22:40:16 +00:00
Yi Jiang
cddb8cff14 Make the learn more link more descriptive.
Test: atest ScreenTimeoutSettingsTest
Bug: 316992953
Flag: EXEMPT bugfix
Change-Id: Ib859ee8eccd1b08fc48524bd545347bde7c4fb40
2025-02-26 13:15:37 -08:00
Simon Wingrove
854ac99a99 Merge "Update "usage access" string" into main 2025-02-26 10:49:49 -08:00
Treehugger Robot
577f341e0e Merge "[3F Tap] Radio Group VisD updates" into main 2025-02-26 08:46:44 -08:00
Candice
4a97b31f42 Update the dark theme and EDT description
Bug: 315012822
Test: Manually. See screenshot in the bug
Test: atest DarkModeTopIntroPreferenceControllerTest
Flag: android.view.accessibility.force_invert_color
Change-Id: I94ba1af4e49c461978fc6b31e82e44c88ba19109
2025-02-26 15:56:44 +00:00
Treehugger Robot
d3b4656bec Merge "Modify string to match the design." into main 2025-02-26 05:39:02 -08:00
tom hsu
9b7f0bbf95 Modify string to match the design.
Flag: EXEMPT bug fix
Bug: b/397958254
Test: Manual test.
Change-Id: Ic424e30ce4c44ea63ee650bd6c1bcafcd60070a4
2025-02-26 03:08:01 -08:00
noshinmir
16e32fae3f Add nested toggle switches under Adaptive connectivity settings UI
Bug: 393645580
Flag: com.android.settings.flags.enable_nested_toggle_switches
Test: Manual testing
atest AdaptiveConnectivityScreenTest
hsv: https://hsv.googleplex.com/5165236934934528

Change-Id: I12403f5c80290ebccc04f11771ec3f06ee216610
2025-02-26 07:16:38 +00:00
Riley Jones
998929d688 Left & right buttons for display size & text preview
Test: manually open page and verify buttons work. Make sure to check the buttons during setup wizard.
Bug: 386906497
Flag: EXEMPT xml-dependent change
Change-Id: I488d74591d698ad918fd864cf39b2f3133abd463
2025-02-25 20:21:29 +00:00
Simon Wingrove
3db5cb833f Update "usage access" string
New string is "app usage data".

As per agreed UXW proposal (see bug)

Bug: 396589797
Test: manually
Flag: EXEMPT string change
Change-Id: I418de8b8ca450bdcb735ef10be6fcc3b931b3865
2025-02-25 16:39:35 +00:00
Treehugger Robot
0a1540ed51 Merge "Add strings for NTN connection manual type" into main 2025-02-25 05:37:42 -08:00
tom hsu
b91d21ba76 Add strings for NTN connection manual type
Flag: EXEMPT bug fix
Fix: b/397958254
Test: Manual test. see b/397958254#comment10
Change-Id: Ibcd3511edee9b3203c6c0cad68e0988b4b621b39
2025-02-25 04:33:00 -08:00