Commit Graph

6913 Commits

Author SHA1 Message Date
Treehugger Robot
32f8eff7a9 Merge "Add notifications toggle to Settings > Date and Time" into main 2025-01-08 02:01:34 -08:00
Haijie Hong
fd4c6d100d Merge "Add audio sharing entrypoint in device details" into main 2025-01-07 22:32:29 -08:00
Haijie Hong
cdcf50e3d2 Add audio sharing entrypoint in device details
BUG: 383935069
Test: local tested
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ib90422d262eba84c3a308d8e4c5652d8c5f96808
2025-01-08 13:03:12 +08:00
Zoey Chen
5f63dd0fdb [Settings] Refactor: Add App language layout
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I4062bfe0e882a40fb55fbf0b2164b558fe83328b
2025-01-07 03:18:49 -08:00
shaoweishen
929056c377 [Touchpad and Mouse] Sync strings and prefs
Sync texts and preferences arrangement in
Touchpad and Mouse related pages.

Bug: 377602364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I64179cc1a6ab1080160923c2d7d861537991ef97
2025-01-07 08:35:46 +00:00
Wenyu Zhang
2387fc0053 Merge "a11y: Initialize skeleton for autoclick indicator related settings" into main 2025-01-06 18:15:23 -08:00
Wenyu Zhang
32e2f97578 a11y: Initialize skeleton for autoclick indicator related settings
Screenshot: http://screen/5wWt8Tvr9K3fuoi.png

Change-Id: Iaf07e738d64e0e22caf7571a7529cccbf3079f87
Bug: b/383901288
Test: ToggleAutoclickCursorAreaSizeControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-07 00:53:16 +00:00
YuhanYang
c3426d0a87 Add preference toggle for mouse scrolling acceleration
Bug: 383555305
Bug: 384795606
Test: Local DUT with aconfig flags enabled, verified settings appears
and is togglable. Verified toggle affects scrolling acceleration.

Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: Ibba2bb1c3cb57b98ad34a5851bae7b9d73e48d74
2025-01-06 23:48:43 +00:00
Treehugger Robot
54bb776d5a Merge "Touchpad: remove individual gesture settings" into main 2025-01-06 09:05:06 -08:00
Geoffrey Boullanger
98cfa0af0a Add notifications toggle to Settings > Date and Time
Design doc: go/android-tznotifications
Test: atest and on device
Bug: 283267917
Bug: 283437447
Flag: com.android.server.flags.datetime_notifications

Change-Id: I91ea363a145d7184c997beae17862387114bc09b
2025-01-06 15:06:12 +00:00
Yining Liu
9d200f1f38 Merge changes I1dffab01,I6e34ef9b,Ia8d472ea,Icf4e7003 into main
* changes:
  Notification on lockscreen settings: adapt text view for large font
  Inverse toggles on the notifications on locks screen settings page
  Update appearance of notifications on locks screen settings page
  Remove description from notifications on locks screen settings page
2025-01-02 16:11:51 -08:00
Harry Cutts
d4a469b4ca Touchpad: remove individual gesture settings
These were never plumbed in, never mind launched, and are sometimes
causing confusion in design discussions when people have the feature
flag turned on. Let's remove them.

Bug: 245989146
Test: check System > Touchpad > Touchpad gestures option is removed even
      when the flag's enabled
Flag: EXEMPT removing code controlled by a legacy sysprop-based flag
Change-Id: I22ca19faf6fed430bb3f0733867716a02514ac8d
2024-12-31 11:47:51 +00:00
Zoey Chen
3b6a8f9ba4 Merge "[Settings] Add search icon in region picker" into main 2024-12-31 02:19:47 -08:00
Zoey Chen
0f76903817 [Settings] Add search icon in region picker
Bug: 38526548
Flag: EXEMPT refactor
Change-Id: I1016f5f812d8f0c43a2b3a899bd70b6672f44481
2024-12-31 08:57:25 +00:00
Michael Checo
b33674eb4f Merge "Add preference toggle for mouse pointer acceleration setting" into main 2024-12-30 08:24:32 -08:00
Daniel Huang
8143a69996 Merge "[Update] Expose the regional preferences pages" into main 2024-12-29 23:41:58 -08:00
Edgar Wang
2184688d88 Merge "Relocate Speech entry point" into main 2024-12-29 23:38:31 -08:00
danielwbhuang
4e1bf7db92 [Update] Expose the regional preferences pages
1. Link ACTION_MEASUREMENT_SYSTEM_SETTINGS to MeasurementSystemItemFragment
2. Link ACTION_NUMBERING_SYSTEM_SETTINGS to NumberingPreferencesFragment
3. Link ACTION_REGION_SETTINGS to RegionPickerFragment
4. Deprecate NumberingPreferencesFragment

Bug: 381038747
Flag: android.provider.system_regional_preferences_api_enabled
Test: use test app to try intent ACTION, atest
Change-Id: Id76e589ce25ae5dfc3443948300c6c21ab30672c
2024-12-30 11:29:19 +08:00
Angela Wang
64624ae43f Merge "Update Flash Notifications screen with expressive design" into main 2024-12-28 17:35:28 -08:00
Michael Checo
f9a89f1c77 Add preference toggle for mouse pointer acceleration setting
Bug: 384552392
Test: verified on DUT
Flag: com.android.hardware.input.pointer_acceleration
Change-Id: I45de5bdd2456cfb4fab6d1398bdc5d8f7b9efddb
2024-12-27 13:03:59 -08:00
danielwbhuang
8588bf2950 Relocate Speech entry point
Bug: 383051970
Flag: android.provider.system_regional_preferences_api_enabled
Test: check hsv
Change-Id: Id5cbeef4263d94a9c9ebef7ede291b277a740871
2024-12-27 19:05:17 +08:00
Angela Wang
9736b59ac2 Update Flash Notifications screen with expressive design
Flag: EXEMPT flag by System prop
Bug: 349678118
Test: atest FlashNotificationsPreviewPreferenceControllerTest
Test: manually check the UI, screenshots attached on bug
Change-Id: I2db55cef161016940b19f14c70b9d2442d3859c3
2024-12-27 10:57:15 +00:00
Yining Liu
38537f8129 Inverse toggles on the notifications on locks screen settings page
Inverse the toggles on the notifications on locks screen settings page
to consistently make ON = SHOW.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual, atest LockScreenNotificationShowSensitiveControllerTest
Change-Id: I6e34ef9b89f4c0ad058bf740bafb3c83790201c0
2024-12-27 00:06:47 +00:00
Yining Liu
b5fa953d4a Update appearance of notifications on locks screen settings page
Added `What to show on lock screen` section title. Changed the order
of switches according to the latest design. Updated texts.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: Ia8d472ead290c1a1ec0eeb34bc8a11cd31c6870c
2024-12-27 00:06:47 +00:00
Yuri Lin
0e3f407f7d Merge "Add setting for promoted (live) notifications" into main 2024-12-26 10:30:28 -08:00
Yuri Lin
d5c0851c0b Add setting for promoted (live) notifications
Add a switch to control whether live notifications are permitted for an app, at the top of the app's notification settings page. This controls canPostPromotedNotifications() for that app.

Bug: 369150427
Flag: android.app.ui_rich_ongoing
Test: manual, PromotedNotificationsPreferenceControllerTest
Change-Id: I3a7c05721f1e879fb5fb0f5fb5f283dedbd195da
2024-12-26 11:09:08 -05:00
Menghan Li
242b3b8abd Merge changes I97841c5b,I64e47f92 into main
* changes:
  feat(EDT): Update the preference interaction and visiblity logic
  feat(EDT): Migrate entry into Display Settings
2024-12-23 22:00:42 -08:00
Daniel Huang
4a580bcda0 Merge "Migrate ToA to the new entry point" into main 2024-12-23 19:37:47 -08:00
danielwbhuang
bedf5c3805 Migrate ToA to the new entry point
1. Add the new entry point
2. Use flag to control the migration

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest
Change-Id: Ie78a0f16188f3c4414dcd653189e5772f99ecb4d
2024-12-23 17:56:55 +08:00
Menghan Li
9aa9199f08 feat(EDT): Migrate entry into Display Settings
The EDT toggle will be an subsetting in the DarkTheme settings page
- When the Dark Theme main toggle is on, we check the EDT setting to
decide applying normal DarkTheme or EDT now.
- The EDT preference is disabled when DarkTheme is off

Bug: 368721320
Flag: android.view.accessibility.force_invert_color
Test: atest ToggleForceInvertPreferenceControllerTest
            DarkModeSettingsFragmentTest
Change-Id: I64e47f92b14ee24a91f469cb55c7bb1285f05c62
2024-12-23 00:05:23 +00:00
Vladimir Komsiyski
18fe317f1d Merge "VDM Settings" into main 2024-12-20 23:46:44 -08:00
Treehugger Robot
bd3daa87cd Merge "Create a new region picker page" into main 2024-12-20 01:33:28 -08:00
danielwbhuang
09b9d052fc Create a new region picker page
1. The region which is selected in region picker will also apply to the first locale.
2. When a user change the first locale, the region of the first locale will be updated to the region picker.

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv
Change-Id: I001e0910ce9d1601513ed2f52e6ee30d3551859f
2024-12-20 16:12:25 +08:00
Vladimir Komsiyski
af3e3026ff VDM Settings
Demo: go/vdm-settings-demo

Bug: 371713473
Bug: 338974320
Test: atest
Flag: android.companion.virtualdevice.flags.vdm_settings
Change-Id: I4a818b1b31ad59ee3de22105b969aec4c7f4d529
2024-12-19 04:57:19 -08:00
jasonwshsu
9b4575a52a Fix '<b>' did not get bold in HearingDevice footer.
Root Cause: Did not use <![CDATA[ ...]]> to represent it contains html tag <b>.

Solution: Use <![CDATA[ and Html.fromHtml to add Spanned for the footer string.

Bug: 378806589
Test: Enable bold text to test the effect
Flag: EXEMPT bugfix
Change-Id: I56827dc18e7183c0458c83dac0dbeca7eb8bb16d
2024-12-19 19:36:08 +08:00
Daniel Norman
5e390e57b5 Merge "Strings updates for the new version of High contrast text." into main 2024-12-18 20:24:22 -08:00
Daniel Norman
d6e53163fd Strings updates for the new version of High contrast text.
These strings may be replaced again after our UX Writing team provides
new strings for the final public release.

Bug: 384791485
Test: observe new strings; see http://b/384791485#comment2
Flag: EXEMPT strings changes
Change-Id: I5359bc3d6faca84238fe00801a5d68e5ef8ffc2f
2024-12-18 18:35:45 -08:00
Treehugger Robot
c3fecca761 Merge "Remove old PK settings pages that are unused" into main 2024-12-17 19:50:54 -08:00
Yuchen Sun
d49cf23cf9 Merge changes from topic "AppDataUsage" into main
* changes:
  [Expressive design] Update AppDataUsage.
  [Expressive design] Rename ComposeMainSwitchPreference to ComposeGroupSectionPreference.
2024-12-17 00:05:34 -08:00
Wei-Hong Hsu
d7a54332f0 Merge "nfc: allow the nfc quick toggle title to be searchable" into main am: 5565b51402 am: c02f0aa033
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3414601

Change-Id: I76168ee64e771da57c7541c1ffdbe484c607b7cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-16 19:13:12 -08:00
Wei-Hong Hsu
5565b51402 Merge "nfc: allow the nfc quick toggle title to be searchable" into main 2024-12-16 18:24:24 -08:00
Daniel Huang
7b0e140dc5 Merge "Create language and region settings page" into main 2024-12-16 18:17:07 -08:00
Edgar Wang
a3677c7f6a Merge "Clean-up after com.android.settings.flags.revamp_toggles rollout" into main 2024-12-16 17:12:28 -08:00
Yuchen
c7635b1705 [Expressive design] Update AppDataUsage.
Migrate EntityHeader to IntroPReference.
Remove background of SpinnerPreference.

Bug: 349681531
Flag: EXEMPT migration
Test: atest AppDataUsageTest
Change-Id: Icb91c418a67489e3069f958356a9675f279ee5f8
2024-12-16 07:47:29 +00:00
danielwbhuang
f70abd2680 Create language and region settings page
1. Use flag to control the UI migration
2. Create language_and_region_settings.xml for new UI migration.

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest LanguagePreferenceControllerTest
Change-Id: If8d2303a2a3061231e69d1a45ad432c061da3545
2024-12-16 14:07:33 +08:00
Wei-Hong Hsu
250f5cade5 nfc: allow the nfc quick toggle title to be searchable
allow the nfc quick toggle title to be searchable

Bug: 374853887
Test: search NFC in the settings search.
Change-Id: I1115b1705b91eb9f40acbef83ed92b9aee11dd3d
2024-12-16 05:52:31 +00:00
Yuchen
224c16db50 [Expressive design] Rename ComposeMainSwitchPreference to ComposeGroupSectionPreference.
Bug: 349681531
Flag: EXEMPT migration
Test: visual
Change-Id: I5cf44a951894d56f0a7c5d2794442bfcdebb05d1
2024-12-16 02:42:58 +00:00
Treehugger Robot
87a3d98b9e Merge "[Catalyst] Introduce a AccessibilitySeekBarPreference contains tool tip window" into main 2024-12-13 08:47:52 -08:00
Sunny Shao
9777bbe38f [Catalyst] Introduce a AccessibilitySeekBarPreference contains tool tip window
Test: atest PreviewSizeSeekBarControllerTest TextReadingPreviewControllerTest
Bug: 372776688
Flag: com.android.settings.flags.catalyst_text_reading_screen
Change-Id: Ie93d2f26b1521e931ce648f0140894b153259f81
2024-12-13 22:15:39 +08:00
shaoweishen
06fe204a69 [Physical Keybaord] Add keyboard touchpad/Mouse page - part2
screenshot: https://screenshot.googleplex.com/A4yihXmkTTo2nM3.png

Add seperate controllers in page and guard with flag.
Original controller will be disabled if flag is off.

This is part of feature for keyboard setting update.
document: go/new-a11y-touchpad-mouse-page

Bug: 377602364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I20bf7c65a7f9adc734c7382f23a92d1eb41822f1
2024-12-12 23:28:50 -08:00