Commit Graph

31817 Commits

Author SHA1 Message Date
Andy Wickham
9f9571a078 Move Contextual Search setting to AOSP.
This only appears if the correpsonding system feature is enabled.

Bug: 353715553
Test: Manual
Flag: EXEMPT moving code from vendor to aosp
Change-Id: Ib19db6345b907500dfe3d53c36700df428c0171e
2024-10-09 18:32:21 +00:00
Treehugger Robot
e875a191ba Merge "[Physical Keyboard] Add Repeat key toggle" into main 2024-10-09 15:47:13 +00:00
shaoweishen
cffb21b17f [Physical Keyboard] Add Repeat key toggle
Add repeat key toggle under Physical keybaord setting.

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.input.flags.keyboard_repeat_keys
Change-Id: Ib986301d108b1ad30d96d7309189e9507d38c25a
2024-10-09 14:38:55 +00:00
Shaowei Shen
7d94abc8e0 Merge "[Physical Keyboard][A11y Page] Add custom slider" into main 2024-10-09 14:35:30 +00:00
Aleksandr Lukin
cb7b10156b Merge "Remove Android %s from search results" into main 2024-10-09 08:45:10 +00:00
Yuri Lin
c8fcd603eb Merge "Fix title on specific app's channel settings page" into main 2024-10-08 17:11:43 +00:00
Yuri Lin
bdf3f6471a Fix title on specific app's channel settings page
Fixes: 371518043
Test: manual
Flag: android.app.modes_ui
Change-Id: Ic4091ea54e1c3fd4aeaffa7ea50f2cfcc65f0ee1
2024-10-08 15:04:20 +00:00
alukin
9b62541d80 Remove Android %s from search results
Currently when "Android" is entered in Settings search,
"Android %s" appears in search results.

Removing it from the search results to fix the
issue.

Bug: 356111486
Bug: 359689134
Bug: 365040064
Test: manually verified
Test: atest StorageItemPreferenceControllerTest
Change-Id: I4f8c1fb9d94fb585ed4e84654d8a9b335cd5f748
2024-10-08 14:49:41 +00:00
shaoweishen
31d82a0288 [Physical Keyboard][A11y Page] Add custom slider
add slider for setting custom value under bounce key dialog.

demo video: b/346949547#comment26

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I3b7f08ebe5ebc287e61713749c193c8b1cf71b99
2024-10-08 09:54:13 +00:00
Shaowei Shen
f81d492243 Merge "[Physical Keyboard][A11y Page] Add Bounce keys dialog" into main 2024-10-08 07:14:03 +00:00
Treehugger Robot
7da4079a91 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-08 05:01:59 +00:00
Treehugger Robot
addac242db Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-08 05:01:59 +00:00
shaoweishen
f0a01c51dd [Physical Keyboard][A11y Page] Add Bounce keys dialog
1.Add dialog for adjust bounce key to different values.
demo video: b/346949547#comment24.
2.Update summary text.
3.When receive update from content uri, update toggle state directly.
4.Rename Controller to more suitable name.

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I94d8d1a77528b13f59b2d67dfa30e17dd177e385
2024-10-08 03:13:40 +00:00
Bill Yi
2a47174e4a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75cbfc5fb76ebd2a8d037a61ec74fcfe88e7948d
2024-10-07 17:51:38 -07:00
Bill Yi
cb6b37e922 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I436ebc70a9cddecb5698ef3002d3b41a2bf0c5b6
2024-10-07 17:50:04 -07:00
Dongzhuo Zhang
fa433271a8 Add Contacts Stroage fragment class for Contacts Storage settings page.
Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest

Bug: 368641291
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings

Change-Id: I6ece3eeea64d07d4a97574f67549a72267371df8
2024-10-07 22:02:13 +00:00
Chun-Ku Lin
b3ebc1968d Merge "[Physical Keyboard][Setting] New pk a11y entry under a11y page" into main 2024-10-04 17:40:21 +00:00
Peter Liang
f1296e36dd Merge "Update the illustration of the caption preferences under dark theme." into main 2024-10-04 12:27:38 +00:00
shaoweishen
f0b6123acc [Physical Keyboard][Setting] New pk a11y entry under a11y page
Add entry for physical keyboard a11y page under a11y setting

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I0c59c3a9df1b5df5e22349ab3907f767682d6fb9
2024-10-04 09:06:10 +00:00
Peter Liang
a994f04c2f Update the illustration of the caption preferences under dark theme.
Screenshot:
https://screenshot.googleplex.com/BQkzxcnwLet2MTU

Fix: 371124381
Test: Build ROM and install
Flag: EXEMPT bugfix
Change-Id: I75ca14465f492bd2a397b587467c1064c0e41c48
2024-10-04 14:35:37 +08:00
Joseph Vincent
5087754b42 Merge "Show custom unlock title for private profile" into main 2024-10-04 02:24:48 +00:00
Yuri Lin
539bae8db4 Add missing paren
Bug: n/a comment only
Test: n/a comment only
Flag: android.app.modes_ui

Change-Id: Ia43b76e969fcd9a5ad1d682ffb99fc1b48644f93
2024-10-03 21:14:50 +00:00
Matías Hernández
154a91fc7e Merge "Use TextInputLayout for the name field in the create/rename mode page" into main 2024-10-03 20:45:04 +00:00
Matías Hernández
b234ca21ab Merge "Delete Settings code related to super-obsolete zen onboarding" into main 2024-10-03 17:01:36 +00:00
josephpv
6a333a2ac3 Show custom unlock title for private profile
With this change whenever private space is unlocked and has its own lock
different from device lock, it shows a custom title for PS in the unlock
screen.

Custom title for private profile will be  shown in the auth screen while
authentiation of private lock for the below usecase inside PS settings.
- Auth shown while Delete private space from PS settings
- Switching to device screen lock from a separate private space lock
- Changing the private space lock type(Ex: from pattern to PIN)
- Adding a biometric(face/fingerprint) for private profile

When auth screen with custom title is put to background and the screen
is in the recents list and if private space is locked then the auth
scren with the title is removed from recents list along with the other
settings task.

Bug: 323835257
Test: Manual
Change-Id: Ia0cc0b9bb54a429ebe027dc0937320e7fd23cb81
Flag: android.multiuser.show_custom_unlock_title_inside_private_profile
2024-10-03 12:28:43 +00:00
Matías Hernández
b1e28233c1 Use TextInputLayout for the name field in the create/rename mode page
In addition to looking nicer, this fixes two accessibility issues ("no hint when text is entered" and "reason for disabled button is unclear").

This requires a bit of theme merging black magic, because TextInputLayout requires a Theme.AppCompat descendant, which the Settings theme isn't.

Fixes: 356398157
Fixes: 370654542
Fixes: 369942776
Test: atest ZenModeEditNamePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I92d8ec044dabc6daed5d755e206120ec7abc143e
2024-10-03 14:14:34 +02:00
Treehugger Robot
78153998c7 Merge "Distinguish different errors of wifi QR code" into main 2024-10-02 21:26:00 +00:00
Yufan Cao
73f66eb8f1 Distinguish different errors of wifi QR code
When failure occurs after scanning wifi QR code, only "Check connection
and try again" will show, which is confusing for user to understand the
errors and take next action.

Add more string resources to cover different errors.

Co-authored-by: Yufan Cao <Yufan.Cao@sony.com>

Flag: EXEMPT bugfix
Test: manual test
Bug: 362305039
Change-Id: I85145eb67eecdc3aa06bb7b8a7b3e7f0ffea1f62
2024-10-02 20:23:42 +00:00
Bill Yi
efbac14e06 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-02 05:37:39 +00:00
Treehugger Robot
2d9dc0521f Merge "Set content description for the "settings" of starred contacts, priority conversations, etc" into main 2024-10-02 00:51:31 +00:00
Bill Yi
42e47a9b2d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ied5f156eed264d70de34b72bdfe4f357effe419d
2024-10-01 10:11:40 -07:00
Matías Hernández
58a110bc48 Set content description for the "settings" of starred contacts, priority conversations, etc
Fixes: 368124250
Test: manual, with Talkback
Flag: android.app.modes_ui
Change-Id: Ib4e8bdd5ea0931db2049925f82696d3a55f35bcb
2024-10-01 18:51:19 +02:00
Allen Su
bdd8c89ed2 Merge "Revert "[ToA] Remove ToA languages"" into main 2024-10-01 09:36:11 +00:00
Allen Su
a18eea0283 Revert "[ToA] Remove ToA languages"
This reverts commit 1da7265d68.

Reason for revert: keep using these languages for dogfood after 24Q4 cutoff

Change-Id: Ic0a3c8f382f073e8200b20631aee134ea7c76d87
2024-10-01 08:26:46 +00:00
Treehugger Robot
2be56f27f3 Merge "Make the name EditText at least 48dp high in the Mode rename page" into main 2024-09-30 17:39:10 +00:00
Bill Yi
88b9c94ba6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-30 17:20:18 +00:00
Matías Hernández
71671897d7 Make the name EditText at least 48dp high in the Mode rename page
Touch targets should be at a minimum 48x48 dp; this view was 47 dp high. ¯\_(ツ)_/¯

Fixes: 369963437
Test: manual
Flag: android.app.modes_ui
Change-Id: I8fda0cd505f02abb561e24e583b3ab509b5ef4dd
2024-09-30 18:04:46 +02:00
Haijie Hong
451dc11ed9 Merge "Add audio category preference in more settings fragment" into main 2024-09-29 12:06:44 +00:00
Haijie Hong
78cce9cd50 Add audio category preference in more settings fragment
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I427a85159881205805933023020db2db73d729b6
2024-09-29 13:44:33 +08:00
Treehugger Robot
43f09d11a4 Merge "Replace "DND Access" by "Modes Access" in Settings search results" into main 2024-09-27 18:24:37 +00:00
Matías Hernández
2d65e7fbfa Replace "DND Access" by "Modes Access" in Settings search results
Although we dynamically replace this string by "Modes access" everywhere in runtime, it seems the search index is based on the XML content.

Test: manual
Fixes: 370036858
Flag: EXEMPT Unflaggable
Change-Id: I48d8a1cb980b58f33041a7fe2a5e6bc3d50d1539
2024-09-27 18:50:04 +02:00
Treehugger Robot
bbbd79e0ed Merge "Improve the contrast for the "schedule duration" text" into main 2024-09-27 16:46:31 +00:00
Matías Hernández
8ce211965a Improve the contrast for the "schedule duration" text
Fixes: 369958722
Test: manual
Flag: android.app.modes_ui
Change-Id: I3ea87790c4884d4201fe27644b1e47389932d89f
2024-09-27 17:03:54 +02:00
Yining Liu
ccaa62ec8a Merge changes from topic "notif_minimalism_settings" into main
* changes:
  Notification Minimalism Settings Main Switch
  Show the Tangor Unseen Notification Toggle when notification_minimalism is Enabled
2024-09-27 05:38:22 +00:00
Bill Yi
5a1cf30ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd7b893431f9b2c36e9caad767b161438d931b7c
2024-09-26 15:19:24 -07:00
Yining Liu
41cd514fb3 Notification Minimalism Settings Main Switch
Add a main preference switch for the lockscreen
notification minimalism feature

Bug: 330387368
Bug: 354047572
Flag: com.android.server.notification.notification_minimalism
Test: atest
LockscreenNotificationMinimalismPreferenceControllerTest

Change-Id: I9aa4c51f9e316dd0dd1529d712b5e9486e43453b
2024-09-26 20:58:18 +00:00
Jason Chang
8433575eab Merge "Fix Fingerprint setup complete - illustration is just slightly cut off" into main 2024-09-26 16:55:32 +00:00
Treehugger Robot
226e60f3a2 Merge "Add a header before the icon list in the new/rename mode screen" into main 2024-09-26 15:07:43 +00:00
Matías Hernández
f620f85484 Add a header before the icon list in the new/rename mode screen
Also fixed paddings a bit (e.g. Done button was too close to the icon grid).

Fixes: 369503296
Test: manual
Flag: android.app.modes_ui
Change-Id: Ic7b7dc9584db1f04b448fce828a8ec70cf17f06a
2024-09-26 15:25:01 +02:00
Matías Hernández
a2e71cc7cb Delete Settings code related to super-obsolete zen onboarding
A notification was shown when upgrading from pre-P to P because default DND settings had changed. The default was later changed back so it was already obsolete at that point. Moreover, it should be impossible to upgrade from pre-P to V in one step.

Bug: 346789065
Test: N/A
Flag: EXEMPT Unflaggable -- removing resources, manifest entries, etc.
Change-Id: I2862211dc9709b741e60beca5fc029cc054745a3
2024-09-26 14:30:23 +02:00