Commit Graph

242 Commits

Author SHA1 Message Date
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
Pawan Wagh
57ca4d313e Add AppInfo setting for page size appcompat
Adding preference which set the page size app compat
for given app.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Flag: page_size_app_compat_setting
Bug: 371049373
Change-Id: I91d014594e99e174f55010ca57aa19edc2071255
2024-11-27 05:48:12 +00:00
Shawn Lin
d8edea8154 Add aconfig for biometric onboarding education
Bug: 370940762
Test: m
Flag: com.android.settings.flags.biometric_onboarding_education
Change-Id: I1517feecdb6baff2cf1f97c951c6a4c18e342c45
2024-11-26 09:15:09 +00:00
Shawn Lin
ae1cc05b8d Add aconfig for biometric onboarding education
Bug: 370940762
Test: m
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I8650788097286958ce9b1874b8cee5cb5746f405
2024-11-25 09:20:00 +00:00
shaoweishen
9a9d099677 [Physical Keyboard] Add flag for deeplink keyboard layout picker page
one pager: go/deeplink_pk_layout_picker

Bug: 345399212
Test: N/A
Flag: com.android.settings.keyboard.keyboard_layout_picker_activity_enabled
Change-Id: Ia5bbef228b5ccf8614ebe29b88d87d116289fc32
2024-11-22 07:13:26 +00:00
Geoffrey Boullanger
842a337291 Clean-up after com.android.settings.flags.revamp_toggles rollout
Flag: EXEMPT refactoring / flag clean-up
Test: refactoring CL. Existing unit tests still pass.
Bug: 296835792

Change-Id: Ib57ee270c8b5d540cb19997fe1863dd6d782cbe4
2024-11-21 15:39:28 +00:00
Matthew DeVore
c4dd7a8288 Add flag for surfacing display topology prototype
This will force the topology pane to show in the displays list UI, and
make the displays list UI accessible from the connected devices
fragment, regardless of the number of actual devices connected.

Once the display topology pane is using real data, this will still be
useful to not skip the display list UI, which currently can only be
shown when there is more than one external display connected.

To turn off, use:
$ adb shell device_config put display_manager com.android.settings.flags.display_topology_pane_in_display_list false

Test: verify "External Display" is always shown in connected devices list
Test: verify displays list is shown when 0 or 1 external display is connected
Bug: b/352648432
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: Ic9205c69d9de09e6fb8ae33e17fbf00fe5574447
2024-11-18 12:36:56 -06:00
Treehugger Robot
dfd7e4bc63 Merge "Add flag for migrating UX to Android settings app." into main 2024-11-18 10:53:07 +00:00
tomhsu
9d82dc346d Add flag for migrating UX to Android settings app.
Flag:com.android.settings.flags.satellite_oem_settings_ux_migration
Bug: 378781925
Test: make pass
Change-Id: I6f409817a6fb508131e0f787aca4fbfa7e2e5494
2024-11-18 09:14:12 +00:00
Jacky Wang
ec1017c0bf Merge "Revert "Create a config flag for the new Screen Timeout settings screen with Dashboard style settings"" into main 2024-11-17 17:56:17 +00:00
Jacky Wang
f487880ce0 Revert "Create a config flag for the new Screen Timeout settings screen with Dashboard style settings"
This reverts commit 5aac4357d9.

Reason for revert: already has catalyst_screen_timeout flag

Change-Id: I1f87a6d7b06c8e506dfdf0d036db75c0ceb84bd1
2024-11-17 06:24:56 +00:00
Jason Chang
e4623cd2a3 (1/n) Make the GlifHeader scrollable on FingerprintEnrollEnrolling(
UDPFS) layout page.

1. To override GlifLayout's onInflateTemplate() then embedding a
ScrollView on GlifHeader.
2. Remove previous hiding the description text snippet
3. Handling UDFPS enroll lottie position problem.
4. Solve the ProgressBar overlapped with FooterBar problem.

Flag: com.android.settings.flags.enroll_layout_truncate_improvement

Bug: 359149850
Bug: 367164671
Bug: 362522976

Test: atest UdfpsEnrollEnrollingViewTest
Test: Build Forrest ROM then check the UI in different scenarios
Change-Id: Iee44cb5815286233f23266e3d86fd8335ab2087d
2024-11-13 16:26:32 +00:00
Bill Lin
26fc990bdd Merge "Gate screen off unlock UDFPS until power optimitized" into main 2024-11-10 14:09:50 +00:00
lbill
0d8d97ad48 Gate screen off unlock UDFPS until power optimitized
Flag: com.android.settings.flags.screen_off_unlock_power_optimization
Test: atest SetupFingerprintEnrollFinishTest
      atest FingerprintSettingsUnlockCategoryControllerTest
      atest FingerprintSettingsScreenOffUnlockUdfpsPreferenceControllerTest
Test: manual verify the function hide behind flag screen_off_unlock_power_optimization
Bug: 368465560
Bug: 377635539
Change-Id: Icf3ff83b2a2717228b54ec03e3c27228bb1cad93
2024-11-07 09:15:13 +00:00
danielwbhuang
2133c646f8 Add feature flag for regional preferences APIs
Bug: 370379000
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: manual
Change-Id: I165a800dcf6dbc299f86e6cf89ffc4c94ecd9e15
2024-11-07 12:11:21 +08:00
Treehugger Robot
7d5ef590d0 Merge "[Catalyst] Migrate Adaptive brightness in the DisplayScreen" into main 2024-11-03 02:58:08 +00:00
Sunny Shao
369263156b [Catalyst] Migrate Adaptive brightness in the DisplayScreen
Migrate the AutoBrightnessPreferenceController to be a Catalyst type preference.

Test: atest AutoBrightnessScreenTest
Bug: 374712065
Flag: com.android.settings.flags.catalyst_screen_brightness_mode
Change-Id: I80d17a4f7fae237825ab84d1f428614affcb9065
2024-11-03 09:40:22 +08:00
yomna
f55fbc4273 Update flag namespace, names
Bug: 355062720
Test: m
Flag: com.android.settings.flags.mobile_network_security_2g_toggle
Flag: com.android.settings.flags.add_security_algorithms_to_eng_menu
Change-Id: I23e38b525f45ab520936427d8bf260cd4baf3c03
2024-10-31 20:25:21 +00:00