Commit Graph

143729 Commits

Author SHA1 Message Date
Shaowei Shen
f81d492243 Merge "[Physical Keyboard][A11y Page] Add Bounce keys dialog" into main 2024-10-08 07:14:03 +00:00
Shaowei Shen
4e1d24c5eb Merge "[Language Setting] Cleanup Language and Input Setting" into main 2024-10-08 06:33:28 +00:00
Yiyi Shen
b77c619ebe [Audiosharing] Fix call audio device in call
During call, BT stack will keep the broadcast in a hysteresis mode,
however BT stack will remove the fallback group id, which leads the Call
audio summary empty. Here we check if there is active device on LE_AUDIO
profile when the fallback group id is removed. The active device on
LE_AUDIO profile should be the call audio device.

Test: atest
Bug: 355222285
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I906f30631027439ed4060af758ef63eda1a0b12d
2024-10-08 14:20:28 +08: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
Treehugger Robot
a7204d7c08 Merge "Migrate DisplayScreen" into main 2024-10-08 04:27:22 +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
Sunny Shao
b31c54b6f4 Migrate DisplayScreen
Add the skeleton of the DisplayScreen

Test: atest DisplayScreenTest
Bug: 368359268
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I806504ae839ba0a53320fd94fb4fe21a52dc249b
2024-10-08 11:12:41 +08:00
Dongzhuo Zhang
dfd901d2a4 Merge "Add Contacts Stroage fragment class for Contacts Storage settings page." into main 2024-10-08 01:33:10 +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
YK Hung
291e92d649 Fix the NPE in the tryToFetchUsageData() method
Test: atest
Bug: 371490669
Fix: 371490669
Flag: EXEMPT for simple fix
Change-Id: I4167becf373a6279135261bbaff44ef0888728fa
2024-10-07 23:46:43 +00: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
Treehugger Robot
efd16c7df9 Merge "Fixes for errorprone update" into main am: 28f83ffab0 am: 3c2d44c3ff
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3297590

Change-Id: I7811516823e50a4422932a491ee3229b094bc160
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-07 20:51:46 +00:00
Treehugger Robot
3c2d44c3ff Merge "Fixes for errorprone update" into main am: 28f83ffab0
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3297590

Change-Id: If54aa111229245173d625b445cf9e1f10182196d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-07 20:40:21 +00:00
Treehugger Robot
28f83ffab0 Merge "Fixes for errorprone update" into main 2024-10-07 20:25:20 +00:00
Treehugger Robot
c7be2f126e Merge "Better Support for profiles in "People that can interrupt"" into main 2024-10-07 20:11:09 +00:00
Cole Faust
b237fe7e6a Fixes for errorprone update
When updating errorprone from 2.23.0 -> 2.32.0, more issues are found.

Bug: 253827323
Flag: EXEMPT refactor
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: Iebb442f5e616861d1f2a2e2dc56a8ac72b18cb95
2024-10-07 11:27:07 -07:00
Treehugger Robot
7aabe039f4 Merge "Don't disable "Done" button when it cannot be pressed" into main 2024-10-07 17:27:33 +00:00
Matías Hernández
25d75c0df7 Merge "Don't crash when recreating ZenModeTimePickerFragment" into main 2024-10-07 16:49:20 +00:00
Paul Duffin
ad48f03f53 Fully qualify @attr reference to android.R field
Currently, Metalava has some special handling of '@attr ref R.<field>`
references to make sure that they are fully qualified, i.e.
`@attr ref android.R.<field>`. That special handling complicates
Metalava and is blocking some flagged API work so will be removed.
Before that can be done, the existing incorrect documentation needs to
be cleaned up.

This change cleans up those cases in this repo.

Bug: 371997321
Test: Run `m offline-sdk-docs` before and after to make sure that
      there are no differences.
Flag: DOCS_ONLY
Change-Id: Ic97f01b90193d058d65e6d3c6d0a04ce5e55d7c7
2024-10-07 17:10:02 +01:00
Matías Hernández
73c7ee115b Don't disable "Done" button when it cannot be pressed
Show an error on tap instead. According to a11y guidelines this is preferrable.

Fixes: 369942776
Test: atest ZenModeEditDonePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ib5e47a4151c1515e5085a776d538a27c2ef41574
2024-10-07 15:56:21 +00:00
Matías Hernández
504e927168 Better Support for profiles in "People that can interrupt"
* Show contacts from personal and work profile.
* Open personal or work profile Contacts app when choosing settings.
* Skip conversations with no ShortcutInfo (they are returned for a disabled work profile but we cannot show an icon for them).

Fixes: 371513451
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: Id8653a85ee4fd15dfccbecb3ea2d31e615d29f8c
2024-10-07 17:37:37 +02:00
SongFerng Wang
817cc47b28 Merge "Refactor the getCurrentCarrierNameForDisplay" into main 2024-10-07 09:23:04 +00:00
SongFerng Wang
27d969bb48 Refactor the getCurrentCarrierNameForDisplay
Bug: 370884447
Change-Id: I4abfbd520297e5c000984fcd5b6a2ad4db9a35e9
Test: NA
Flag: EXEMPT bugfix
2024-10-07 07:34:12 +00:00
Treehugger Robot
f82f48a621 Merge "Add log for new error string in WiFi QR code scanning" into main 2024-10-07 07:33:29 +00:00
Guojing Yuan
e4fe2f5b81 [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
Merged-In: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
(cherry picked from commit 7ae59a42eb)
2024-10-04 22:50:07 +00:00
Treehugger Robot
3ef49b9d5f Merge "[CDM][NLS] Check if the NLS service has an intent-filter" into main 2024-10-04 18:24:30 +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
Matías Hernández
e5720f43ee Don't crash when recreating ZenModeTimePickerFragment
Instead, just bail out.

Fixes: 369814629
Test: manual, with don't keep activities
Flag: android.app.modes_ui
Change-Id: I893b6363801b3a56bc29999dd801d7c8152cb5e8
2024-10-04 18:58:53 +02:00
Guojing Yuan
7ae59a42eb [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
2024-10-04 16:52:24 +00:00
Diya Bera
cb6b37e6d6 Merge "Avoid using MANDATORY_BIOMETRICS bit if flag is not enabled" into main 2024-10-04 15:39:48 +00:00
Diya Bera
aa322bc4f7 Avoid using MANDATORY_BIOMETRICS bit if flag is not enabled
Flag: android.hardware.biometrics.flags.mandatory_biometrics
Bug: 370757426
Test: N/A
Change-Id: I4e2a72a80f68579d60466e859370b6fd93a8cd23
2024-10-04 14:10:24 +00:00
Hakjun Choi
20f3fa9846 Merge "Hide extra information link when it is empty" into main 2024-10-04 13:20:06 +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
Weng Su
5644fe1aa7 Add log for new error string in WiFi QR code scanning
Bug: 371506692
Flag: EXEMPT log only update
Test: manual test
Change-Id: I2bc15b0aa0a98a5f8193383decb60308544c810c
2024-10-04 18:27:34 +08:00
Hakjun Choi
c2c2722771 Hide extra information link when it is empty
Extra information may be or may not be provided as this is given from the Carriers, therefore it is needed to hide when there is no given URL string

Bug: 360265682
Flag: EXEMPT bugfix
Test: manually test when extra information is valid and when extra information is empty
      https://b.corp.google.com/issues/360265682#comment2 for UI test
result

Change-Id: Icf7f06e6af8580d0e84382a2598be75e321cf657
2024-10-04 10:17:47 +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
Treehugger Robot
ff40ec28e9 Merge "Add flag for the Display page migration" into main 2024-10-04 08:02:56 +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
Sunny Shao
34d04eb143 Add flag for the Display page migration
Test: compile
Bug: 368359268
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Ic30d05dceef82dc7430b12e4512e4869e0eff812
2024-10-04 13:47:26 +08:00
SongFerng Wang
7c6b213c73 Merge "VideoCalling UI adds the init value" into main 2024-10-04 04:55:46 +00: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
Treehugger Robot
6471850a00 Merge "Remove obsolete zen-related entries from CustomSiteMapRegistry" into main 2024-10-03 18:57:00 +00:00
Matías Hernández
c238b3b1cf Remove obsolete zen-related entries from CustomSiteMapRegistry
These pages no longer exist with MODES_UI.

Bug: 346789065
Test: atest CustomSiteMapRegistryTest
Flag: android.app.modes_ui
Change-Id: I254b4eb15a71bf7a6765c1ea7d0cb31c59fe2f0c
2024-10-03 19:46:21 +02:00
Tetiana Meronyk
92ada7e3a5 Remove "Add supervised user" from search result if such user type is not allowed on the device
Bug: 371202325
Test: manual: 1. Open settings 2. Search "Add user" 3. Verify "Add supervised user" does not come up
Flag: EXEMPT bugfix
Change-Id: Iaf96bd8d7ffde4f9d09f14af1de422e1b1d39eda
2024-10-03 17:28:25 +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
Treehugger Robot
b589ba5e94 Merge "Update dependent logic in modes vis page" into main 2024-10-03 16:30:28 +00:00