Commit Graph

32562 Commits

Author SHA1 Message Date
Graciela Putri
cf0d8cba31 Merge "Remove (experimental) from app aspect ratio settings title" into main 2025-03-11 11:56:04 -07:00
Treehugger Robot
34ba944fa0 Merge "Show failure reasons to user" into main 2025-03-11 11:44:47 -07:00
Xiaomiao Zhang
bb8b603f94 Add SafeSites related content filters preference.
Test: atest SupervisionSafeSitesPreferenceTest
Test: maunally tested locally
Bug: 401568993
Flag: android.app.supervision.flags.enable_web_content_filters_screen
Change-Id: I556019bdeba5ed459996102217836cda0e3c7f71
2025-03-11 18:15:31 +00:00
Pawan Wagh
177fd578c9 Show failure reasons to user
Sometimes device might have pending update which can
cause 16KB toggle to fail. Show the pending update errors to user.

Flag: EXEMPT bug_fix
Test: atest Enable16KbTest
Bug: 394678137
Bug: 400733054
Change-Id: Id032b2f14afb74af3b7458a426addc7e32e3a6f7
2025-03-11 17:10:29 +00:00
Yuhan Yang
a572f89f43 Initial commit to add autoclick main toggle
screen cast: go/screencast-ntc4mdgxndq2mdyxnjcwnhw2yjbhymvlnc0wna

Bug: 391416057
Test: atest ToggleAutoclickMainSwitchPreferenceControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I6bfa346016d0ab08a61e4813b2c9e16b76281799
2025-03-11 15:49:20 +00:00
Ze Li
35b5d88170 Merge "[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style." into main 2025-03-11 07:29:29 -07:00
Ze Li
6e0bbb6259 [Bluetooth Pairing] Change allow phone book permission Switch to Material3 style.
Test: manual test
Bug: 318785412
Flag: EXEMPT bug fix
Change-Id: I5546cb504a6db939a4ab62264d496adcf93aa0e2
2025-03-11 19:18:01 +08:00
Jason Chiu
c8e7951cda [Expressive design] Recolor Hub mode icons on homepage
Bug: 396944193
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I76bd2de03869f0df97c6d52e34f6cc0b008c2ac0
2025-03-11 19:01:53 +08:00
Haijie Hong
2b47ca1608 Merge "Reimplement device details UI without ComposePreference" into main 2025-03-11 01:29:30 -07:00
Haijie Hong
02bd645834 Reimplement device details UI without ComposePreference
Replace ComposePreference with androidx.preference.Preference.

ANC toggle will still use Compose until SegmentedButtonPreference is ready.

BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Will Leshner
417b667be4 Move hub mode settings under display.
And add a "when to show" setting.

Bug: 401001786
Test: manually
Flag: com.android.systemui.glanceable_hub_v2

Change-Id: I5f660a1be4bdbb5ab5bb14aa070bfa81b31da6b4
2025-03-10 11:08:57 -07:00
Weng Su
e82b0b2eea Update the required or optional styles of EditText in VPN settings
- Follow the Required text indicator in the Google Material 3 guidelines

Bug: 401956268
Flag: EXEMPT refactor
Test: Manual testing
Change-Id: Ifeb1b882b34151ebef18edc32e7f2a3c116921c2
2025-03-10 15:32:42 +08:00
Sunny Shao
7f5e1f6e8b Customize Max Screen Timeout
Make it possible to customize the maximum screen timeout.
Added a configurable max timeout value which, if provided, will
limit the predefined timeout values.
Leverage code from aosp.

Flag: EXEMPT bugfix
Bug: 309512299
Test: atest ScreenTimeoutSettingsTest
Change-Id: Ibb180c89489fe890f1929bdefd5ced87a9566f07
2025-03-10 06:52:28 +00:00
Candice
7270567527 Add content descriptions for Display size and text previews
Bug: 395882764
Test: manually
Test: atest TextReadingPreviewControllerTest
Test: atest TextReadingPreviewPreferenceTest
Flag: EXEMPT bugfix
Change-Id: Ia8702c3d0bdbbfdd554c945000777fcee6714abe
2025-03-10 06:49:43 +00:00
Treehugger Robot
6d35640bc6 Merge "Show dialog for changing the region of non-system language" into main 2025-03-08 07:50:52 -08:00
danielwbhuang
5139f57ee0 Show dialog for changing the region of non-system language
User wants to add the same language (non system language) with a different region. Adding the same language again with a different region will change the region of that language to the new region.

Bug: 388942734
Test: manual verification
Flag: EXEMPT bugfix
Change-Id: Ib124aa795277d5e1d66f3a98a16ab9bf1cfbe08f
2025-03-08 09:42:26 +08:00
Nigel Tao
7a81ed89fa Merge "Fix Settings/Storage "Format USB drive" title string" into main 2025-03-07 14:58:24 -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
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
Treehugger Robot
95a651ca30 Merge "Fixed the color issue of Wi-Fi password EditText" into main 2025-03-07 01:44:37 -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
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
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
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
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
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
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
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
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