Commit Graph

24295 Commits

Author SHA1 Message Date
Yiyi Shen
f23bda264a [Audiosharing] Refresh the dialog handling onNewIntent
If an instance of the activity already exists at the top of the current task, the system routes the intent to that instance through a call to its onNewIntent() method, rather than creating a new instance of the activity.

So we need manually trigger the handling logic in onNewIntent to refresh
the dialogs.

Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: Iccb0ef649ee60cb97f7557943760f854d31ccc80
2025-03-03 13:12:10 +08:00
Yiyi Shen
dc78ca78e8 Merge "[Audiosharing] Start join handler activity from receiver" into main 2025-03-02 20:08:44 -08:00
Yiyi Shen
80fab0b84d [Audiosharing] Finish handler activity if no dialog to show
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: Ibd93f30574bb89cf4fd5e3c9590eb441c74b0cc8
2025-03-03 11:38:13 +08:00
Yiyi Shen
0972a9f3b7 Merge "[Audiosharing] Finish handler activity when dialog destroy" into main 2025-03-02 07:57:51 -08:00
Treehugger Robot
11b78c6fef Merge "[Mag] Keyboard shortcut info shown when physical keyboard present" into main 2025-02-28 18:09:04 -08:00
Xiaomiao Zhang
8e3b899f30 Merge "Implement Web content filters entry point in Supervision Settings dashboard." into main 2025-02-28 17:58:08 -08:00
Xiaomiao Zhang
0dabc23adb Implement Web content filters entry point in Supervision Settings dashboard.
Test: atest SupervisionWebContentFiltersScreenTest
Bug: 395134536
Flag:android.app.supervision.flags.enable_web_content_filters_screen
Change-Id: I5471d8b2956e94b0120ae13bec6187065a5e738a
2025-02-28 16:46:10 -08:00
Matthew DeVore
57265d3575 Merge "Show options greyed out inactive display" into main 2025-02-28 16:31:24 -08:00
Chun-Ku Lin
877f2a6d35 Use Fake context and settings provider to prevent test flakiness
**Root cause**
The ReduceBrightColorsIntensityPreferenceControllerTest would modify the
settings during test. However, since this is a unit test, it shouldn't
trigger modifying the brightness on the attached test device. Otherwise,
the test would be unstable depends on how stable the device is, which
should be tested by the integration test.

Bug: 397762527
Test: abtd
Flag: EXEMPT test only
Change-Id: I0c0d7327d4356482295121c11c3a1e5ed814ffec
2025-02-28 23:59:34 +00:00
David Padlipsky
99b20e5c36 Map pointer speed slider on mouse page to control mouse speed
Currently, the pointer slider on the mouse settings page is actually
controlling touchpad pointer speed. Modify this to instead control the
mouse pointer speed.

Bug: 398034722
Test: Manually on device
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I66cec4ef0a758e250bab89c194073eb408402431
2025-02-28 19:42:09 +00:00
Kanyinsola Fapohunda
2e1dec9d60 Merge "Remove legacy flag for time feedback" into main 2025-02-28 07:31:15 -08:00
Yiyi Shen
ab466747e7 [Audiosharing] Start join handler activity from receiver
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I7363ba5d7de9049f85dad4ce01467a93af4cb52e
2025-02-28 16:20:17 +08:00
Yiyi Shen
85d20f33be [Audiosharing] Disable the profile state change handling
on Connected devices page during audio sharing.
We have moved the handling to sysui via settingslib

Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I29dd105f9317f78d8d8dacbb3da72e745286e105
2025-02-28 16:17:37 +08:00
Yiyi Shen
c9d18f1724 [Audiosharing] Finish handler activity when dialog destroy
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I0e7f3da759eb53328b57322b136bb2859cfa2f47
2025-02-27 18:50:36 -08:00
Xin Li
911fdcebcf Merge "Merge 25Q1 (ab/12770256) to aosp-main-future" into aosp-main-future 2025-02-27 15:24:25 -08:00
Katie Dektar
e94d88c74e [Mag] Keyboard shortcut info shown when physical keyboard present
Shows keyboard shortcut info in magnification settings when a
physical keyboard is present. See bug for screenshots.

Hides touchscreen info in magnification settings when a touchscreen
is not present.

Adds ShadowInputDevice support for physical full keyboards.

Bug: b/388847050
Test: Manual, atest ToggleScreenMagnificationPreferenceFragmentTest
Flag: com.android.server.accessibility.enable_magnification_keyboard_control
Change-Id: Ib53fbd8f929d1cc8e294f6f04bab405c9bb576a9
2025-02-27 23:00:12 +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
Yuhan Yang
01d938228a Merge "Add revert to left click to autoclick settings page" into main 2025-02-27 12:24:48 -08:00
Daniel Norman
551534959c Merge "Update the dark theme and EDT description" into main 2025-02-27 11:26:10 -08:00
Yuhan Yang
d96bcf8f85 Add revert to left click to autoclick settings page
Screenshot: go/screenshot-4sdpfqk5rf3u23l
UI mock: go/screenshot-vcu7ui2ar9bjrm6

Bug: 388845719
Test: ToggleAutoclickRevertToLeftClickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I813613f3d920ce6795e6750c440449e78d9b9c37
2025-02-27 17:32:41 +00:00
Kevin Liu
eeeefb3d6b Merge "Revert "Temp disable test that contains custom shadow within it"" into main am: 4d38f48c68 am: 7cef5ae136
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3510292

Change-Id: I4f2b0c41460ad2be22116972576a567bf039bd7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-27 08:22:50 -08:00
Matthew DeVore
02fff0174f Show options greyed out inactive display
Test: ExternalDisplayPreferenceFragmentTest
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/398846256
Change-Id: I6020212843c10867447809910a0202b7dbacd909
2025-02-27 09:43:04 -06:00
Kevin Liu
4d38f48c68 Merge "Revert "Temp disable test that contains custom shadow within it"" into main 2025-02-27 07:29:29 -08:00
Matthew DeVore
29132988b2 Merge "Show expanded display settings in list fragment" into main 2025-02-27 07:22:05 -08:00
Matthew DeVore
b2252c9f74 Merge "CD updater: add missing call in tests" into main 2025-02-27 06:51:54 -08:00
Treehugger Robot
fb74cf60eb Merge "Fixed accessibility issues in Wi-Fi SSID view for SUW" into main 2025-02-26 23:22:21 -08:00
Yiyi Shen
9fa2160a31 Merge changes from topic "join_handler" into main
* changes:
  [Audiosharing] Handle device connected in handler activity
  [Audiosharing] Add activity skeleton to handle new connected sink
2025-02-26 23:02:05 -08:00
Yiyi Shen
51c5c2e473 [Audiosharing] Handle device connected in handler activity
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: Icea9ad31d3115bf90557e8c2795987cd1d0c824b
2025-02-26 21:29:46 -08:00
Weng Su
288a5971d2 Fixed accessibility issues in Wi-Fi SSID view for SUW
- Keep the Save button enabled at all times

- Show "Enter the SSID" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiDialogActivityTest \
        WifiConfigControllerTest
Change-Id: I577e78c34cbaa0640479adf09a916a526500fe68
2025-02-27 13:14:28 +08:00
Angela Wang
03faf6b111 Merge "Filter out non-discoverable scan result in hearing device pairing page" into main 2025-02-26 17:11:05 -08:00
Treehugger Robot
de81197c74 Merge "Migrate SeekBarPreference to SliderPreference for haptics" into main 2025-02-26 13:01:19 -08:00
Xin Li
5bfde9fbf5 Merge 25Q1 (ab/12770256) to aosp-main-future
Bug: 385190204
Merged-In: Iaee6792d1a27be8fa4b443f783a47a3715b6d3a1
Change-Id: I0ac29cecfec526a38cf4a120b8ef704ee7bc01b3
2025-02-26 11:59:26 -08:00
Matthew DeVore
f87293fc5d Show expanded display settings in list fragment
Stop distinguishing between the display list and per-display fragments.
Instead, always show all displays that are available. This is closer to
how the UI will eventually look, which is each display in a tab.

Setting an OnChangeListener for multiple preferences with the same key
did not work, even though the conflicting preferences had different
parent preferences. Only the listener of the top-most preference was
notified even when changing a different one. So this CL changes
PrefBasics so that it can set unique keys for otherwise identical
preferences.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Test: ExternalDisplayPreferenceFragmentTest
Test: set rotation of two overlay displays to different non-default values
Change-Id: Idabef1e03afd496bfc955927a2894f14f999a105
2025-02-26 13:38:57 -06:00
Matthew DeVore
6a4ac9cdbf CD updater: add missing call in tests
ag/31885242 changed the behavior for registerCallback such that it no
longer automatically scheduled an update. This CL adds the missing call
in tests.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest ExternalDisplayUpdaterTest.java
Test: atest ConnectedDeviceGroupControllerTest.java
Bug: b/399273324
Change-Id: If030e7cc98289fe3062c1a638580ec6c6479d97a
2025-02-26 19:23:57 +00:00
Kevin Liu
78e05bbcec Revert "Temp disable test that contains custom shadow within it"
This reverts commit a9e22be8a5.

Reason for revert: No longer need to ignore this test, as the root cause is found and fixed in aosp/3506812

Change-Id: I56681bde8c0485c46f0cd2b84cb83fee5ea0e760
2025-02-26 11:04:50 -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
Candice
4a97b31f42 Update the dark theme and EDT description
Bug: 315012822
Test: Manually. See screenshot in the bug
Test: atest DarkModeTopIntroPreferenceControllerTest
Flag: android.view.accessibility.force_invert_color
Change-Id: I94ba1af4e49c461978fc6b31e82e44c88ba19109
2025-02-26 15:56:44 +00:00
Kanyinsola Fapohunda
9d036d26ee Remove legacy flag for time feedback
This change removes the server flag for `time_help_and_feedback_feature_supported` as public ramps are generally discouraged in Android now. See go/android-legacy-flags. The trunk stable flag still exists, so this feature is still flagged properly.

This change also include minor refactor to simplify logic around flags now that the server flag is no longer needed.


Flag: EXEMPT removing time_help_and_feedback_feature_supported
Bug: 283239837
Change-Id: Ic5058a81186d63df4a2e57eaab4d1c120d0806bc
2025-02-26 07:32:21 -08:00
Treehugger Robot
dc8db1bd63 Merge "Add metrics for biometric onboarding & education" into main 2025-02-26 03:25:41 -08:00
Mir Noshin Jahan
975a12c269 Merge "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" into main 2025-02-26 01:23:56 -08:00
Yiyi Shen
4b13fb3655 [Audiosharing] Add activity skeleton to handle new connected sink
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: Iff1378af8d9a8aa50ccd02b92630541acb24a1ad
2025-02-26 01:20:31 -08:00
Zoey Chen
29234e5934 Merge "[Settings] Add test case for new LocalePicker page - supported language" into main 2025-02-26 00:13:48 -08:00
Yiyi Shen
891d431f10 Merge "[Audiosharing] Add more checks before show notif from receiver" into main 2025-02-25 23:53:12 -08: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
Zoey Chen
3fd943e8b3 [Settings] Add test case for new LocalePicker page - supported language
Bug: 396285228
Test: atest
Test: atest SettingsRoboTests:com.android.settings.localepicker.SystemLocaleAllListPreferenceControllerTest
Test: atest SettingsUnitTests:com.android.settings.localepicker.SystemLocaleAllListPreferenceControllerTest
Flag: EXEMPT refactor
Change-Id: I7ac4052df14a2657810c48199ac8c72e5dfc85a4
2025-02-26 06:39:55 +00:00
Angela Wang
5097cbe1ca Filter out non-discoverable scan result in hearing device pairing page
Flag: EXEMPT bugfix
Bug: 381027984
Test: atest HearingDevicePairingFragmentTest
Test: check with real device
Change-Id: I7ab70d5508d71472cbd2d0959bb749599d039058
2025-02-26 03:17:36 +00:00
Zhou Liu
bd03972fc3 Merge "Update the isEnabled state of preferences in supervision features group according to main switch" into main 2025-02-25 18:40:31 -08:00
Garvita Jain
06ba5d4d13 Merge "[L10n fix] Use whitespace regex for splitting string by delimiter." into main 2025-02-25 17:16:51 -08:00
Julia Reynolds
6191772de7 Merge "Add ability to exclude apps from adjustments" into main 2025-02-25 12:19:23 -08:00
Julia Reynolds
0762b81bcf Add ability to exclude apps from adjustments
Specifically bundling and summarization

Test: BundleManageAppsPreferenceControllerTest
Test: AdjustmentExcludedAppsPreferenceControllerTest
Test: SummarizationManageAppsPreferenceControllerTest
Flag: android.app.nm_summarization
Flag: android.app.notification_classification_ui
Bug: 390415383
Bug: 377697346
Change-Id: Ica4b77212f4660624bfe12be7e6c9c584cd2c812
2025-02-25 07:06:46 -08:00