Commit Graph

147552 Commits

Author SHA1 Message Date
Mark Renouf
158549abc1 Merge "Fixes 'capture more' on Settings home page" into main 2025-03-19 13:05:46 -07:00
Treehugger Robot
e2984b4b06 Merge "Change the resource ID of advanced protection help URI" into main 2025-03-19 10:52:36 -07:00
Mark Renouf
f5aa74b0e8 Fixes 'capture more' on Settings home page
This change excludes the contents of 'main_content_scrollable_container'
from scroll capture search.

Explanation: The inner-most child is selected whenever nested scrolling
views are found. This is incorrect for Settings because the inner
RecyclerView isn't actually scrollable (that is, the contents of it are
not scrolled within it, the RecyclerView itself is scrolled by the outer
ScrollView instead). View.canScrollVertically is unfortunately incorrect
for RecyclerView in this case as well.

This change excludes all children of the main ScrollView from the
search. This  ensures the outer ScrollView is chosen and this corrects
the 'capture more' screenshot functionality on the Settings home page.

Bug: 399810823
Test: manual; Open settings, screenshot, capture more
Flag: com.android.settings.flags.extended_screenshots_exclude_nested_scrollables
Change-Id: I3363d70b3649e2a34e541c45ab387d59547b8588
2025-03-19 09:22:30 -07:00
Azhara Assanova
96c6ed59a6 Change the resource ID of advanced protection help URI
Change-Id I3c6d24e3e9a4358ab1adb342dbee8fc56ac16794 added advanced
protection help URI to frameworks/base/core/res/res/values/config.xml,
so this change removes the duplicate resource from Settings and updates
ActionDisabledByAdvancedProtectionDialog to use the framework resource.

Bug: 401233918
Test: manual
Test: atest ActionDisabledByAdvancedProtectionDialog
Flag: EXEMPT bug fix
Change-Id: Ic84909f4c16d3449bd9981be6659987b1963a26a
2025-03-19 16:02:17 +00:00
Azhara Assanova
76b96fbb15 Fix default window type for Advanced Protection dialog
The previous window type FIRST_APPLICATION_WINDOW was incorrect and
could have caused the dialog to be dimmed and TalkBack to not be
focused. The current window type TYPE_APPLICATION fixes these issues by
correctly placing the dialog in the window hierarchy.

Bug: 404595933
Bug: 404439964
Bug: 353531691
Test: visual
Test: checked with TalkBack
Flag: EXEMPT bug fix
Change-Id: I520220c1527868b6fc928eaa35184ba9b0159e06
2025-03-19 07:18:08 -07:00
Haijie Hong
a58a764686 Merge "Scroll to top when opening more settings page" into main 2025-03-19 06:16:02 -07:00
Haijie Hong
7eacf7e6e6 Merge "Update tint of device details icon" into main 2025-03-19 04:42:16 -07:00
Haijie Hong
9ecaf7c2ae Merge "Add toast for bond loss" into main 2025-03-19 04:41:35 -07:00
Zaiyue Xue
bf5ea140f4 Merge "Support phonetype control for Settings Battery database retention time" into main 2025-03-19 04:35:46 -07:00
Haijie Hong
ce73cba979 Scroll to top when opening more settings page
Test: local tested
Flag: EXEMPT minor fix
Bug: 343317785
Change-Id: I5e90e4b1b3bcd5329c6574655ad6a3dee537438c
2025-03-19 04:28:25 -07:00
Haijie Hong
9c67a1003f Merge "Don't disable switch when changing status" into main 2025-03-19 04:27:28 -07:00
Treehugger Robot
6c59681445 Merge "[Satellite] Use satellite data mode for UX visibility" into main 2025-03-19 04:26:21 -07:00
Treehugger Robot
4d4c026080 Merge "[Catalyst] Add flags for 25Q3 sound screens" into main 2025-03-19 04:08:50 -07:00
Treehugger Robot
65a0e43a43 Merge "Fix force close in WiFi API test code" into main am: 4f52f40cf9 am: 8871bd5bb6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3534241

Change-Id: I016283e58365cffe98b9746edb0a1a8b98d16533
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-19 04:04:54 -07:00
Treehugger Robot
7f42d27cac Merge "[Catalyst] Add flag for Auto-rotate screen" into main 2025-03-19 04:01:02 -07:00
Treehugger Robot
8871bd5bb6 Merge "Fix force close in WiFi API test code" into main am: 4f52f40cf9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3534241

Change-Id: I714fecd021705b20f821ebe558b30bcca51e2fb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-19 03:30:07 -07:00
Treehugger Robot
4f52f40cf9 Merge "Fix force close in WiFi API test code" into main 2025-03-19 03:04:14 -07:00
David Jacobo
076ed59b9b Merge "settings: Set explicit intent for legal info" into main 2025-03-19 02:55:53 -07:00
Zaiyue Xue
08a3aa7f33 Support phonetype control for Settings Battery database retention time
Bug: 404740486
Fix: 404740486
Test: atest
Flag: EXEMPT bug fix
Change-Id: Ifc9032e19a5b26e307d1426ea5c07de84e1613f4
2025-03-19 17:53:41 +08:00
Haijie Hong
1d2b0b9aa0 Don't disable switch when changing status
BUG: 404423669
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ie2d48b4f0bbb224e62d2746d260b1026022ebf01
2025-03-19 02:47:42 -07:00
tom hsu
dc788ed9d1 [Satellite] Use satellite data mode for UX visibility
- Use SatelliteManager#getSatelliteDataSupportMode() to check data
   restricted or not.

Flag: EXEMPT bug fix
Bug: b/401043401
Test: atest pass
Test: Manual test
Change-Id: I6f3e25610717eca0f6e871a9e1158422659058ea
2025-03-19 09:45:52 +00:00
Sunny Shao
4bebfc4c59 [Catalyst] Add flag for Auto-rotate screen
Test: compile
Bug: 352179685
Flag: com.android.settings.flags.catalyst_auto_rotate
Change-Id: I2423d9a2a62a9796a147ae74e26955d0269621d5
2025-03-19 09:11:52 +00:00
Jason Chiu
590a364902 [Catalyst] Add flags for 25Q3 sound screens
Test: compile
Bug: 352179685
Flag: com.android.settings.flags.catalyst_sound_screen_25q3
Flag: com.android.settings.flags.catalyst_spatial_audio
Change-Id: I3295469a7c8d0eaf0eb5f73ba77931383b4b7cbb
2025-03-19 17:08:39 +08:00
Treehugger Robot
339367886d Merge "Settings: Start search result deep link in same task" into main 2025-03-19 01:02:31 -07:00
Yuanru Qian
0a4000d723 Merge "Update the audio sharing QR code logic to enable OEMs providing customized QR code image" into main 2025-03-19 00:24:22 -07:00
Haijie Hong
6c608b7e8a Merge "Show bond loss UI in device details" into main 2025-03-19 00:22:21 -07:00
Haijie Hong
2b0aee3a33 Merge "Update talkback when device is disconnected" into main 2025-03-19 00:22:10 -07:00
Treehugger Robot
08dec34389 Merge "[Satellite] Change footer format in satellite setting" into main 2025-03-19 00:18:02 -07:00
Haijie Hong
d6f7270748 Add toast for bond loss
Test: local tested, haven't find good way to add unit test for reflection.
Flag: EXEMPT minor fix
Bug: 380801155
Change-Id: Ia0d05ef933b0ae24077f31e4ff46c9948b99628a
2025-03-18 23:20:20 -07:00
tom hsu
9896b590d3 [Satellite] Change footer format in satellite setting
- Use controller base design instead of current

Flag: EXEMPT bug fix
Bug: b/401648126
Fix: b/402037025
Test: Manual test
Test: atest pass
Change-Id: Icb3fd6a1c5340e554593fc57cb238bf98d3ed0e3
2025-03-18 22:59:38 -07:00
Fan Wu
da96c12e9d Merge "[Catalyst] Add flag for Tether screen 25q3 release" into main 2025-03-18 22:54:27 -07:00
Haijie Hong
a4d68b6ac2 Update tint of device details icon
Test: local tested
Flag: EXEMPT minor fix
Bug: 343317785
Change-Id: I33bbc1aa5ea920fc9799ab489d59609aecf4365a
2025-03-18 22:07:52 -07:00
Sunny Shao
b6e34d2c9f Merge "[Catalyst] Add multiple flags for 25Q3" into main 2025-03-18 22:03:58 -07:00
Haijie Hong
ab32535297 Update talkback when device is disconnected
Test: local tested
Flag: EXEMPT minor fix
Bug: 404422637
Change-Id: If69b728d07f13d557ba2318af9eaf794311cc683
2025-03-19 12:45:45 +08:00
David Jacobo
617cc51bdb settings: Set explicit intent for legal info
This CL sets the full component for the Settings intent that opens
"Legal information->Third-party...".

Bug: 300111126
Test: make -j64 SettingsRoboTests
Test: create ika environment, manually open legal info.
Flag: EXEMPT bug fix

Change-Id: I3169620c0f2ff78a39b456597384a9738bc38a9f
2025-03-18 21:13:13 -07:00
Wes Okuhara
cf2bcd7f1a Settings: Start search result deep link in same task
This fixes a bug where the deep link initiated from a search result
would open the results page in a separate window. The root cause was the
inclusion of the FLAG_ACTIVITY_NEW_TASK intent flag.

Bug: 381127948
Test: atest SettingsSpaUnitTests:com.android.settings.activityembedding
Test: atest CtsSettingsTestCases:SettingsMultiPaneDeepLinkTest
Test: Manually verify UI
Flag: com.android.settings.flags.settings_search_result_deep_link_in_same_task
Change-Id: I91f9e5096ad02bd87e43bae03a2b3e69256be651
2025-03-18 21:12:08 -07:00
Fan Wu
12602faf71 [Catalyst] Add flag for Tether screen 25q3 release
Bug: 352179685
Test: NA
Flag: com.android.settings.flags.catalyst_tether_settings_25q3
Change-Id: Ia65214550e4ae40b59a545f6a3bacaa22bc844b0
2025-03-18 21:02:15 -07:00
Jason Hsu
1f8cd5ecc2 Merge "Update string id to use generic 'Done' button" into main 2025-03-18 20:28:22 -07:00
Daniel Huang
44a205b6a5 Merge "Improve dialog popup" into main 2025-03-18 19:47:22 -07:00
Haijie Hong
4bc471f61e Merge "Move enable/disable LE Audio to Utils" into main 2025-03-18 07:25:17 -07:00
Haijie Hong
1ac71efdc4 Merge "Check bond state when bluetooth key is missing" into main 2025-03-18 07:24:52 -07:00
Shivangi Dubey
f01555e294 Merge changes from topic "integrate-auto-rotate-manager" into main
* changes:
  Refactor ShadowDeviceStateAutoRotateSettingManager
  Integrate refactored device-state auto-rotate setting manager
2025-03-18 06:48:17 -07:00
jasonwshsu
2252b2b418 Update string id to use generic 'Done' button
Bug: 404145007
Test: check UI of 'Default microphone' dialog in device details page
Flag: EXEMPT bugfix
Change-Id: I03fae534bb19ab90359e7db1283ac4c139175d4b
2025-03-18 20:58:30 +08:00
Bill Lin
20df11e9ca Merge "Revert "Launch multiple biometric enrollment when no biometric is enrolled"" into main 2025-03-18 05:15:37 -07:00
Haijie Hong
a333827d6d Move enable/disable LE Audio to Utils
Bug: 381353150
Test: atest UtilsTest
Flag: EXEMPT minor refactor
Change-Id: Id017f2b5a0f51d19878bf91b219334baeda97d6d
2025-03-18 19:44:47 +08:00
Shivangi Dubey
9e3b9146dd Refactor ShadowDeviceStateAutoRotateSettingManager
Update ShadowDeviceSttaeAutoRotateSettingManager as per the latest changes to DeviceStateAutoRotateSettingManager.
Test: atest DeviceStateAutoRotateSettingControllerTest
Bug: 394303723
Bug: 394303731
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor

Change-Id: I8ea694709ccfd08310b241713b5ec67f2e070e2c
2025-03-18 04:03:43 -07:00
Haijie Hong
fc10fdf30b Check bond state when bluetooth key is missing
Bug: 403847818
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I3f310b5758ebecd7591d76988b351d3c6a7dfc67
2025-03-18 18:56:24 +08:00
Allen Su
e8bd9e66b8 Improve dialog popup
1. Disable dialog when the sys language doesn't change
2. Associate region with system locale

Bug: 402600866
Test: atest LocaleListEditTest
Flag: EXEMPT bugfix
Change-Id: I2c7ddbf89b6caa02a35e247ebe97086f5880adee
2025-03-18 10:37:37 +00:00
Bill Lin
cb181c50b5 Revert "Launch multiple biometric enrollment when no biometric is enrolled"
This reverts commit c4ee2b83e5.

Reason for revert: b/404133188

Change-Id: I523ab1cc638ac9782a6b60a7f640f620bb3aae22
2025-03-18 03:28:08 -07:00
SongFerng Wang
56397ab5b3 Merge "Don't create the preference when isAvailable() is false" into main 2025-03-18 03:23:54 -07:00