Commit Graph

32599 Commits

Author SHA1 Message Date
Chun-Ku Lin
f5cc0119ee workaround(expressive): Fix padding issues Setup > Vision settings
- Works around issue where Setup and Settings libraries are clashing
  when applying their new expressive themes at the same time.
- Updates illustration prefs to match parent width. Otherwise this new
  padding workaround causes the images to get clipped.

Fix: 390545391
Bug: 400479388
Test: manual only; see screenshots
Flag: EXEMPT using custom flagging from Setup ThemeHelper lib
Change-Id: Ie00cdf3e68a2ff7c40aedd04eb5bed0adaa9cf84
2025-03-14 14:00:04 -07:00
Treehugger Robot
f1313205fb Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:44 -07:00
Jason Chiu
3b32efc316 Remove hardcoded color for dynamic items
Bug: 403063643
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I42bbcc6a155feb1fd6576af5b1aac0d8fd07583a
2025-03-14 06:47:45 -07:00
Weng Su
040e2a867a Fixed accessibility issues in Wi-Fi password view in Settings
- Keep the Save button enabled at all times

- Show "*required" or "The password is invalid" to remind the user
  - Show "Password (optional)" to indicate that it can remain unchanged, when modifying Wi-Fi configuration

Bug: 386897596
Bug: 402694144
Flag: EXEMPT bugfix
Test: Manual testing
  atest SettingsUnitTests:AddNetworkFragmentTest
  atest WifiConfigControllerTest \
        WifiConfigController2Test \
        WifiDialogActivityTest
Change-Id: I09b7684674ff376139565fcc196cde8d8d20a864
2025-03-14 21:05:16 +08:00
Treehugger Robot
cec2696f62 Merge "Revert "L10n fix for IW locale in storage_summary string"" into main 2025-03-14 03:09:18 -07:00
Treehugger Robot
078fcd0925 Merge "[Satellite] Refactor about content of Satellite setting" into main 2025-03-14 02:22:41 -07:00
Bill Yi
4e4d0062e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibcb5258754809359206afd10309f0059498e4557
2025-03-14 01:15:19 -07:00
Garvita Jain
76943a5b1d Revert "L10n fix for IW locale in storage_summary string"
This reverts commit 4e5595050f.

Reason for revert: <Settings crash in Beta 3>

Change-Id: Icb882eef67904ebbe2ecd3d1eb6620e64453d23b
2025-03-14 01:08:30 -07:00
tom hsu
c19341db32 [Satellite] Refactor about content of Satellite setting
Flag: EXEMPT refactor
Bug: b/403149290
Test: Manual test pass
Test: atest pass
Change-Id: I55868869a9442648995343c857758c23fe358bc2
2025-03-14 07:42:27 +00:00
Treehugger Robot
b4a1d57206 Merge "[Satellite] Move satellite setting related code to a folder" into main 2025-03-14 00:16:07 -07:00
Annemarie Apple
30cc4181c6 Merge "Update the strings to match the display names" into main 2025-03-13 22:46:21 -07:00
Annemarie Apple
5cdaaf6b4f Update the strings to match the display names
Bug: 396265704
Change-Id: If58ca2d41786b78599efa600f1923bc27d9365f4
Test: Manual. Menu options are updated
Flag: EXEMPT update string to match ICU
2025-03-13 22:45:40 -07:00
Haijie Hong
fe3cf14287 Merge "Update dialog UI for bonding loss" into main 2025-03-13 20:32:26 -07:00
Treehugger Robot
b09e60e9bd Merge "Customize Max Screen Timeout" into main 2025-03-13 20:14:55 -07:00
Angela Wang
faebda0cda Merge "Add background to ambient volume control icons" into main 2025-03-13 12:49:10 -07:00
Amit Talreja (xWF)
bfab8a80d9 Merge "Updated the 2G enable setting title. Bug:391709444 Test: atest Enable2gPreferenceControllerTest Flag: EXEMPT bugfix" into main 2025-03-13 10:47:52 -07:00
tom hsu
93f714446a [Satellite] Move satellite setting related code to a folder
Flag: EXEMPT refactor
Fix: b/403149290
Test: build pass
Test: atest pass
Change-Id: I849adc99fb16d1278efd1d481a4fd99fadb45e98
2025-03-13 16:12:16 +00:00
Treehugger Robot
91056fc841 Merge "Fixed accessibility issues in Wi-Fi password view for SUW" into main 2025-03-13 06:40:20 -07:00
Angela Wang
c47713d66f Add background to ambient volume control icons
Enhance the visibility and discoverability of ambient volume control
icons by adding backgrounds.

Flag: EXEMPT bugfix
Bug: 398962101
Test: manual check the result and screenshots attached on bug
Change-Id: Ice467191235df63f258bbca4e085fbf8a7f3c555
2025-03-13 10:01:02 +00:00
Haijie Hong
3ac9b6baaa Update dialog UI for bonding loss
Bug: 380801155
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I0530d6a590666684578f3e94fc8f0da4fae64c7f
2025-03-13 00:41:06 -07:00
Weng Su
351e6a94e0 Fixed accessibility issues in Wi-Fi password view for SUW
- Keep the Save button enabled at all times

- Show "*required" or "The password is invalid" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigControllerTest
Change-Id: I442d2f958efd85f3c92309d0bed7cd3aa9ec9876
2025-03-13 15:40:12 +08:00
talreja
868299303e Updated the 2G enable setting title.
Bug:391709444
Test: atest Enable2gPreferenceControllerTest
Flag: EXEMPT bugfix

Change-Id: I66bd05441e29b4976343d145ebecaf11fa924b0c
2025-03-12 19:12:48 -07:00
Bill Yi
0404b91009 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-12 14:17:32 -07:00
Junchen Quan
9b0ece9799 Merge "[Device Supervision] Implement createConfirmSupervisionCredentialsIntent API" into main 2025-03-12 10:34:49 -07:00
juquan
160b8bc1bb [Device Supervision] Implement createConfirmSupervisionCredentialsIntent API
The `ConfirmSupervisionCredentialsActivity` has been added and it's intended to be launched via the intent.

Bug: 392961554
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Test: atest SupervisionMainSwitchPreferenceTest
Change-Id: I2322256a5711d5b90f826f467110c6861a7734ad
2025-03-12 10:34:06 -07:00
Shaowei Shen
d688e69c2e Merge "[Physical Keyboard] Update seekbars" into main 2025-03-12 08:46:59 -07:00
danielwbhuang
4c2949224f [Dialog] Remove the space.
Remove the space before the question mark

Bug: 388942734
Test: manual verification
Flag: EXEMPT bugfix
Change-Id: Iebb8ad106f5c28085943733c414ed25444955399
2025-03-12 19:40:37 +08:00
shaoweishen
b547394a56 [Physical Keyboard] Update seekbars
Update seekbars color and style.

Bug: 374030364
Bug: 399285693
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: I251a7241b614114a5bb9d5090fcd22cb873ebc51
2025-03-12 00:50:15 -07:00
Candice Lo
c8d9ab2c55 Merge "Add content descriptions for Display size and text previews" into main 2025-03-11 19:25:23 -07:00
Shawn Lin
50d8d10c58 Merge "Update strings for summary in device unlock page" into main 2025-03-11 19:25:14 -07:00
Yuhan Yang
3fbdd379bf Merge "Initial commit to add autoclick main toggle" into main 2025-03-11 18:55:09 -07:00
Nikhil Nayunigari
989c4cf698 Merge "Edits ethernet interface details settings subpage with more info" into main 2025-03-11 15:57:38 -07:00
Treehugger Robot
b145bf0c5c Merge "[Expressive design] Recolor Hub mode icons on homepage" into main 2025-03-11 15:12:18 -07:00
William Leshner
1a8bf51a04 Merge "Move hub mode settings under display." into main 2025-03-11 14:50:35 -07:00
Nikhil Nayunigari
a821ac9185 Edits ethernet interface details settings subpage with more info
Adds IPAddress, Mac address, RX/TX Speed and Metering options to the
settings sub page.

Flag: com.android.settings.connectivity.ethernet_settings

Test: atest SettingsRoboTests:
com.android.settings.network.NetworkProviderSettingsTest

Bug: 390709492

Change-Id: I9a310f94037e089f3d57ff36f77b88edbb0ee1f1
2025-03-11 21:06:55 +00:00
Xiaomiao Zhang
04cfbe0520 Merge "Add SafeSites related content filters preference." into main 2025-03-11 13:53:42 -07:00
Bill Yi
ebf092b845 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I80e636be1732203715bc453f2d6a9ea8d63c61fb
2025-03-11 13:07:14 -07:00
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