Commit Graph

259 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
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
Treehugger Robot
4d4c026080 Merge "[Catalyst] Add flags for 25Q3 sound screens" into main 2025-03-19 04:08:50 -07: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
Fan Wu
da96c12e9d Merge "[Catalyst] Add flag for Tether screen 25q3 release" into main 2025-03-18 22:54:27 -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
Sunny Shao
cc4052de38 [Catalyst] Add multiple flags for 25Q3
Test: compile
Bug: 352179685
Flag: com.android.settings.flags.catalyst_display_settings_screen_25q3
Flag: com.android.settings.flags.catalyst_night_display
Flag: com.android.settings.flags.catalyst_color_mode
Flag: com.android.settings.flags.catalyst_gesture_system_navigation_input_summary
Flag: com.android.settings.flags.catalyst_screen_resolution
Change-Id: I5166b70da88cffa45981204fbc8a2f7b4d414020
2025-03-18 06:27:35 +00:00
Treehugger Robot
d889fa6277 Merge "[Catalyst] Add flag for Screen Timeout settings in 25Q3" into main 2025-03-12 20:47:38 -07:00
Sunny Shao
9efc29871f [Catalyst] Add flag for Screen Timeout settings in 25Q3
Test: compile
Bug: 352179685
Bug: 389135914
Flag: com.android.settings.flags.catalyst_screen_timeout_25q3
Change-Id: Ic969c5732357e613df17f36e161fb0bdb702f2cf
2025-03-13 01:19:29 +00:00
Wes Okuhara
24b6ba590a Merge "Settings: Create aconfig flag for search result deep links in same task" into main 2025-03-11 22:13:30 -07:00
Wes Okuhara
46f629c4ef Settings: Create aconfig flag for search result deep links in same task
This will be used to guard the bugfix a bug where the deep link
initiated from a search result would open the results page in a separate
window.

Bug: 381127948
Test: None
Flag: com.android.settings.flags.settings_search_result_deep_link_in_same_task
Change-Id: I5a10df558130176ae9df39c0c35501def948430d
2025-03-11 15:22:47 -07:00
Treehugger Robot
f5b9302119 Merge "Fix the namespace for CDM flag in Settings" into main 2025-03-11 07:19:54 -07:00
Michael Mikhail
0d44396f76 Merge "[catalyst] migrate media controls settings" into main 2025-03-07 07:27:51 -08:00
Zoey Chen
59cccc6775 [Settings] Use Settings flag to keep consistency
Bug: 401438916
Test: manual
Flag: EXEMPT refactor
Change-Id: Ie7d1bf50c119eb5b5bcea55508c6a8a842bc60ee
2025-03-07 07:49:17 +00:00
Michael Mikhail
aec68e2372 [catalyst] migrate media controls settings
Flag: com.android.settings.flags.catalyst_media_controls
Fixes: 337243570
Fixes: 389133530
Fixes: 389133114
Test: atest MediaControlsLockScreenSwitchPreferenceTest
Test: atest MediaControlsSwitchPreferenceTest
Change-Id: Ibe8fed064cd6223085764f5125cff45a9bea734d
2025-03-03 22:50:05 +00:00
Evan Chen
1d32a08384 Fix the namespace for CDM flag in Settings
Test: unit test
Bug: 398042032
Flag: com.android.settings.flags.enable_remove_association_bt_unpair
Change-Id: I6bb813d6dce5a879e25e99f3cb680e38f36e90b2
2025-03-03 18:24:54 +00:00
Evan Chen
0f9c687bf3 Merge "Remove all associaitons when forget a device in Settings" into main 2025-02-27 13:04:53 -08:00
Evan Chen
60ff81faf8 Remove all associaitons when forget a device in Settings
The associations will be removed one forget the device.

Test: manually test
Bug: 365613753
Flag: com.android.settings.flags.enable_remove_association_bt_unpair
Change-Id: Ic2224952b6f8e776ffcf07ce4fa6953a98475490
2025-02-26 17:35:23 +00:00
noshinmir
16e32fae3f Add nested toggle switches under Adaptive connectivity settings UI
Bug: 393645580
Flag: com.android.settings.flags.enable_nested_toggle_switches
Test: Manual testing
atest AdaptiveConnectivityScreenTest
hsv: https://hsv.googleplex.com/5165236934934528

Change-Id: I12403f5c80290ebccc04f11771ec3f06ee216610
2025-02-26 07:16:38 +00:00
Haijie Hong
5e79d18636 Merge "Add Nearby share entrypoint in DevicePicker" into main 2025-02-23 23:30:32 -08:00
Haijie Hong
a9e67c0327 Add Nearby share entrypoint in DevicePicker
Bug: 381799866
Test: local build
Flag: com.android.settings.flags.enable_nearby_share_entrypoint
Change-Id: Ied79b9eebe7eaf669e45922787c5b01e504822d8
2025-02-21 17:24:10 +08:00
Treehugger Robot
7d8717df58 Merge "Remove the perform backup tasks flag." into main 2025-02-19 09:05:21 -08:00
Treehugger Robot
8be34b7d4c Merge "aconfig flags for Settings are in the system_ext container" into main 2025-02-18 17:38:09 -08:00
Varun Shah
98d20b2cd5 Remove the perform backup tasks flag.
This flag is now abandoned and will not be used in the future.

Bug: 382295619
Test: builds
Flag: EXEMPT removing com.android.settings.flags.enable_perform_backup_tasks_in_settings
Change-Id: I1aa162145b09f18ad0cc8d16d96dbd6d07b149a9
2025-02-18 16:06:13 -08:00
Treehugger Robot
87a4a3dec8 Merge "[Catalyst] Create new flag for migrating Vibration & haptics page" into main 2025-02-11 18:31:38 -08:00
yqian
4dfe488d8b [Cleanup] remove flag enable_bonded_bluetooth_device_searchable
the feature is enabled in prod already

Test: atest ConnectedDeviceGroupControllerTest
Bug: N/A
Change-Id: I7b2674bd42ed0a3bbe03c74ff52c3ccd830178dc
Flag: EXEMPT just cleanup
2025-02-04 21:35:12 -08:00
Ebru Kurnaz
efa318c419 Add a flag for display size settings for connected displays.
Flag: com.android.settings.flags.display_size_connected_display_setting
Test: NA
Bug: 392853666
Change-Id: If31d7786bea7fa17b9da3e77f47e3dc060fc6b1d
2025-02-04 20:02:25 +00:00
Justin Yun
781bc54245 aconfig flags for Settings are in the system_ext container
As aconfig_settings_flags is declared in the system_ext container,
flags must have the same container with the declaration.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I0f0f37f1570066905cbab887dd0f77db05c64ba8
2025-02-03 14:32:14 +09:00
William Leshner
5035bede60 Merge "Add "Hub Mode" settings to mobile settings." into main 2025-01-27 20:28:02 -08:00
Lais Andrade
5674188472 [Catalyst] Create new flag for migrating Vibration & haptics page
The existing flag covered the screen initial migration and the main
switch, this new one will cover the migration of all other vibration
intensity slider and toggles in the page.

Bug: 390338213
Change-Id: Ice3adb33758127974a568524f3cd136fe61b22be
Test: N/A
Flag: com.android.settings.flags.catalyst_vibration_screen
2025-01-27 16:30:17 +00:00
Justin Yun
207466d3c1 settings_connectivity_flags is used from system_ext app
As a system_ext app is using the flags, the flags must be in the
system_ext container instead of the system container.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I46123b93909acc1e1b2e84ac4fe7898ed5243fc5
2025-01-24 16:23:38 +09:00
Will Leshner
f5a840c417 Add "Hub Mode" settings to mobile settings.
Bug: 389782624
Test: atest CommunalPreferenceControllerTest
WhenToDreamPreferenceControllerTest
Flag: com.android.settings.flags.enable_hub_mode_settings_on_mobile

Change-Id: Ic823b43e094722e467bcca5c16fc480af11e2d9e
2025-01-22 10:12:31 -08:00
Treehugger Robot
dd65609fd8 Merge "Revert "Replace system_ext container with system"" into main 2025-01-21 16:54:05 -08:00
Chung Tang
f40f4d6c4e Add aConfig flag for battery level display.
Bug: 390542072
Flag: com.android.settings.flags.enable_battery_level_display
Test: N/A

Change-Id: Ifeb9a6122234e4d5712b4e583cd2de120d3e5149
2025-01-20 00:38:05 -08:00
Justin Yun
1337a88d11 Revert "Replace system_ext container with system"
This reverts commit 6e1b274f03.

A system partition cannot have the aconfigs of other partitions.
Revive the system_ext container for system_ext aconfigs.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I8f52d5f86e6ffaccd624846fbe1ba0a8fc842af6
2025-01-17 15:03:58 +09:00
Yongshun Liu
4d5fe47420 Merge "a11y: Add aconfig flag for magnification cursor following dialog" into main 2025-01-15 13:45:08 -08:00
Treehugger Robot
eb927665a3 Merge "24Q4: Removal of a2dp_offload_codec_extensibility_settings" into main 2025-01-15 01:05:14 -08:00
Jakub Rotkiewicz
2c869d337c 24Q4: Removal of a2dp_offload_codec_extensibility_settings
Bug: 323319530
Fix: 323319530
Flag: EXEMPT removing com.android.settings.development.a2dp_offload_codec_extensibility_settings
Test: atest SettingsRoboTests
Change-Id: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
2025-01-15 07:43:45 +00:00
Yongshun Liu
fb66888ab5 a11y: Add aconfig flag for magnification cursor following dialog
Bug: b/389995781
Flag: com.android.settings.accessibility.enable_magnification_cursor_following_dialog
Test: None, aconfig flag only
Change-Id: I2267e7f85fd25146aa9cb61b80087a8e34e3bffb
2025-01-14 22:33:03 +00:00
yqian
6bcf4a3ddd Clean up disable_bonding_cancellation_for_orientation_change as it's enabled in prod
Flag: EXEMPT flag cleanup
Test: N/A
Bug: 389008619

Change-Id: I9fa18e73429e93adc501dc89e0f5ade7d8a2be22
2025-01-10 01:21:07 -08:00
Kasia Krejszeff
3cf730f6b6 Merge "Fix an assumption that UserHandle.myUserId() always returns the main user." into main 2025-01-09 12:37:05 -08:00
Yongshun Liu
bd8e78e971 Merge "a11y: Add aconfig flag for magnification focus following dialog" into main 2025-01-09 11:00:30 -08:00
Kasia Krejszeff
ad6fbc96cd Fix an assumption that UserHandle.myUserId() always returns the main
user.

In some cases, e.g. in Private Space Storage Info fragment it returns
the Private profile id and this was leading to a crash, see b/378471943.

Bug: 378471943
Test: Manually and presubmit
Flag: com.android.settings.flags.utils_return_user_handle_for_current_user_id
Change-Id: I5f7bedc66ebcac8b0ae265b7189dd1821edb3cd7
2025-01-09 18:25:24 +00:00
Yongshun Liu
14092d29b7 a11y: Add aconfig flag for magnification focus following dialog
Bug: b/388335649
Flag: com.android.settings.accessibility.enable_magnification_focus_following_dialog
Test: None, aconfig flag only
Change-Id: I93dded552bebdc97587a11caba284a461fb92282
2025-01-09 04:20:33 +00:00
Nikhil Nayunigari
891ea3d18a Merge "Feature flag for Ethernet Settings" into main 2025-01-06 09:53:14 -08:00
Nikhil Nayunigari
adf30c5706 Feature flag for Ethernet Settings
Flag: com.android.settings.connectivity.ethernet_settings

Adding an aconfig flag for Ethernet Settings CUJs as defined in
go/al-ethernet-prd

Bug: b/384375770
Change-Id: I028e4ac1038416b720fa8872301f50c65f1d4a5f
2025-01-02 21:27:25 +00:00
Zoey Chen
749103ff8e [Settings] Add feature flag for new UI
Bug: 385659296
Change-Id: Iaab6a60f72a5e79d44de69770622ee2a577a8175
Flag: com.android.settings.flags.settings_expressive_design_enabled
Test: manual
2024-12-22 22:45:46 -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
Pawan Wagh
d0ffb9cea6 Merge "Add AppInfo setting for page size appcompat" into main 2024-11-27 10:25:02 +00:00