Commit Graph

32472 Commits

Author SHA1 Message Date
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
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
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
Oleg Petšjonkin
f1d0ce612b Merge "Updating NightLight Intensity slider to SliderPreference component" into main 2025-03-05 08:03:34 -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
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
3a03699f69 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-04 10:54:53 -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
Bill Yi
065cda3b1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I199089f90c4ef1f16250a8944526eade2b0f0c80
2025-03-03 20:37:01 -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
6288eb50da Merge "[Expressive design] Update homepage preference layout" into main 2025-03-03 02:21:05 -08:00
Treehugger Robot
c794912537 Merge "[Expressive design] Apply colors to homepage icons" into main 2025-03-03 02:21:05 -08:00
Treehugger Robot
8ad06b4667 Merge "[Expressive design] Add colors for homepage icons" into main 2025-03-03 02:21:05 -08:00
Jason Chiu
9c16e94552 [Expressive design] Apply colors to homepage icons
Bug: 396944193
Test: visual, robotest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I6ec24bdf8cb9a6f8454bd837daffe743b3b01526
2025-03-03 00:45:08 -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
Treehugger Robot
5e5a48d560 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-28 16:24:48 -08:00
Treehugger Robot
2719be50de Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-28 16:24:48 -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
David Padlipsky
99b20e5c36 Map pointer speed slider on mouse page to control mouse speed
Currently, the pointer slider on the mouse settings page is actually
controlling touchpad pointer speed. Modify this to instead control the
mouse pointer speed.

Bug: 398034722
Test: Manually on device
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I66cec4ef0a758e250bab89c194073eb408402431
2025-02-28 19:42:09 +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
Bill Yi
68062e6e18 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3324b5b4298a3fc032d8c1dc35b9a8166c86b48e
2025-02-27 12:06:30 -08:00
Bill Yi
d7bf3ce05d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0e3f13e341f5918e387699d17899469c30d25677
2025-02-27 12:04:53 -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
Yiyi Shen
9fa2160a31 Merge changes from topic "join_handler" into main
* changes:
  [Audiosharing] Handle device connected in handler activity
  [Audiosharing] Add activity skeleton to handle new connected sink
2025-02-26 23:02:05 -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