Commit Graph

146698 Commits

Author SHA1 Message Date
Treehugger Robot
d49287f08e Merge "fix(brightness suw): Hide brightness preference in the suw." into main 2025-01-21 00:03:42 -08:00
Treehugger Robot
6a2da665c5 Merge "Support new Preferences in Fingerprint Settings" into main 2025-01-20 23:43:04 -08:00
Shawn Lin
a41c34567a Merge "Fixed test failed on aosp" into main 2025-01-20 23:06:31 -08:00
Milton Wu
2ac83092e0 Support new Preferences in Fingerprint Settings
Provide an interface to inject new Fingerprint Settings from
FeatureProvider.

Bug: 388488353
Flag: EXEMPT support interface, flag only used in impl part
Test: atest FingerprintSettingsFragmentTest
Change-Id: I9d82e3e0b50a7aa1ed65f34ff0272d2a1b5881a9
2025-01-20 21:35:57 -08:00
Matthew DeVore
4943337ee3 Merge "Do not shrink topology pane after a drag" into main 2025-01-20 21:33:47 -08:00
Menghan Li
47550d4c8a fix(brightness suw): Hide brightness preference in the suw.
Root cause: there's a mismatch in how visibility is determined for
the AutoBrightnessPreferenceControllerForSetupWizard. The
getAvailabilityStatus method and the displayPreference method
(specifically the preference.setVisible call) use different
conditions for showing the preference.
Solution: To ensure consistency, I propose aligning these conditions
by incorporating an aconfig flag check in both places. This will
prevent unexpected behavior and make the logic clearer.

Bug: 389011125
Flag: com.android.settings.accessibility.add_brightness_settings_in_suw
Test: atest AutoBrightnessPreferenceControllerForSetupWizardTest
            BrightnessLevelPreferenceControllerForSetupWizardTest
Change-Id: I004bfe8b1e039734356715c971f0bfbe56ffa9db
2025-01-21 05:25:21 +00:00
Zoey Chen
98124ddbde Merge "[Settings] Create new controller for app language: supported locale" into main 2025-01-20 20:51:33 -08:00
Yiyi Shen
5a8e10bbe3 [Audiosharing] Move entry preference out of group category
Test: atest
Bug: 305620450
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I0573c9c35c05ca7915f94e6f67064cc5b3d79fec
2025-01-20 19:12:21 -08:00
Chung Tang
9c22bfef3d Merge "Add aConfig flag for battery level display." into main 2025-01-20 18:36:00 -08:00
Ze Li
0f2e4e35d3 Merge "[Temp bonding] Controller for the guest list to store temp bond device" into main 2025-01-20 18:33:56 -08:00
Jacky Wang
041bc113eb Remove MainSwitchPreference.updateStatus
NO_IFTTT=Update API

Bug: 391092187
Flag: EXEMPT library
Test: atest&manual
Change-Id: I6e31857d8ca7084c737fd69f63b33f6a58cf3022
2025-01-21 07:44:43 +08:00
Harry Cutts
1d28b612fe Merge "Give input team ownership of mouse-related settings files" into main 2025-01-20 02:57:18 -08:00
Shawn Lin
b6a01a03dd Fixed test failed on aosp
There is no mock for
FaceFeatureProvider.getEnrollActivityClassProvider() in aosp which
caused the null exception test failure.

Use FaceEnroll class name to lauch enroll activity directly to fix this
issue.

Bug: 388933801
Test: atest FaceSettingsEnrollButtonPreferenceControlleTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: Ibbbbe888f95c1ece0372ac31435ce6817cba45b5
2025-01-20 02:24:17 -08:00
Ze Li
2141d62f95 [Temp bonding] Add guest device section to connected device page.
Test: com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupControllerTest, com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupUpdaterTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I699ac451e4d1570173ad527658d6aeab70ce354b
2025-01-20 17:32:40 +08:00
Ze Li
73845cd40c [Temp bonding] Controller for the guest list to store temp bond device
Test: com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupControllerTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I895c48844afe447bee1009e406e604849378305f
2025-01-20 17:32:40 +08:00
Angela Wang
8eed8f2d6e Merge "Offer a way to hide LE Audio toggle for ASHA device" into main 2025-01-20 01:14:36 -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
Vincent Wang
5ace2018cc Determine if devices support screen off unlock from config
Bug: 389002332
Flag: android.hardware.biometrics.screen_off_unlock_udfps
Test: 1. Build pass
      2. Check screen off unlcok is enabled on usudfps & udfps devices
      3. Enable screen off unlock on usudfps devices by default
      4. Disable screen off unlock on udfps devices by default
Change-Id: I81c419f51a808a5e51d9bb92f19553cdf9e9c2f8
2025-01-20 07:30:25 +00:00
Zoey Chen
3abdad1800 [Settings] Create new controller for app language: supported locale
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I66a1cec4483818a81f754c3aaa47cc569503f2fa
2025-01-19 22:50:42 -08:00
Angela Wang
71f4b0f8e3 Offer a way to hide LE Audio toggle for ASHA device
Flag: EXEMPT bugfix
Bug: 390070780
Test: atest BluetoothDetailsProfilesControllerTest
Test: manually check on real device
Change-Id: I078403f7071c1011acbedae2d1d0e55783cc0661
2025-01-20 06:25:10 +00:00
Menghan Li
48a229cb88 Merge "chore(magnification suw): Hide feedback preference in setup wizard" into main 2025-01-19 21:50:38 -08:00
Treehugger Robot
12a64f350e Merge "[Catalyst] Update RangeValue usages to IntRangeValuePreference" into main 2025-01-19 21:36:17 -08:00
Zoey Chen
580fd5ded9 Merge "[Settings] Show intro preference in numbering system as well" into main 2025-01-19 21:17:08 -08:00
Menghan Li
4c9bf742bf chore(magnification suw): Hide feedback preference in setup wizard
Bug: 380346799
Flag: com.android.server.accessibility.enable_low_vision_hats
Test: atest MagnificationFeedbackPreferenceControllerTest
            MagnificationFollowTypingPreferenceControllerTest
            MagnificationJoystickPreferenceControllerTest
            MagnificationOneFingerPanningPreferenceControllerTest
            ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: I84f673235a8a4d97667edaabf72d46b985f33351
2025-01-19 20:00:58 -08:00
Fan Wu
8d318b21d8 [Catalyst] Update RangeValue usages to IntRangeValuePreference
Bug: 388167302

Test: atest and manual

Flag: EXEMPT refactor

NO_IFTTT=refactor

Change-Id: If7412da90a5b5c1b4e3c31ea36361eae9e8bb8b9
2025-01-20 03:23:57 +00:00
Shawn Lin
162c250e6a Merge "[Biometric Onboarding & Edu] Support ways to use section for Face & FP" into main 2025-01-19 19:05:07 -08:00
Joy Babafemi
d3807e554d Credential Manager Settings Improvement Bug fixes
Bug: 372715083
Flag: Flag EXEMPT manual tests
Change-Id: I386bc590955d762af0370e7ff5d6fbece55b564d
2025-01-18 01:29:49 +00:00
Matthew DeVore
515a2ef2fa Do not shrink topology pane after a drag
Changing the height of the pane causes UI elements below it to shift
around. Allow it to grow when needed but do not shrink once it has
grown.

Test: atest TopologyScaleTest.kt
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Change-Id: I1a3e0ab77b05c5a4337e3e8ab865a974eb1faeda
2025-01-18 00:51:17 +00:00
Michael Checo
c19ccd3bed Merge "Add preference toggle for touchpad acceleration setting" into main 2025-01-17 15:19:57 -08:00
Matthew DeVore
8f051ce5d4 external displays: mirror/extend switch
Add a mirror/extend built-in display switch. Make minor changes to
DisplayTopology.kt for consistency and correctness.

Kotlin requires the two preference key names are different since they
are in the same namespace, so fix the name in the existing
DisplayTopology.kt module.

Make DisplayTopologyPreference responsible, rather than the caller, for
setting its persistence property, since a wrong value may cause unusual
behavior.

The setOrder calls are necessary to prevent the new switch from
appearing below the Built-in display category when a display is
hot-plugged in after showing the UI. We set them on all top-level
preferences (not just the two we are fixing) for consistency.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest ExternalDisplayPreferenceFragmentTest.java
Bug: b/352648432
Bug: b/366056921
Change-Id: Ib0072dd75066758903cc48c2d1e7142e1d921f67
2025-01-17 21:19:22 +00:00
Treehugger Robot
7ce118d601 Merge "Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle" into main 2025-01-17 12:56:52 -08:00
Treehugger Robot
0035c28540 Merge "Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests." into main 2025-01-17 12:48:26 -08:00
Kasia Krejszeff
39329c219d Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests.
Bug: 323652985
Flag: TEST_ONLY
Test: atest FaceFingerprintUnlockControllerTest
Change-Id: I0c923a95b8b7cf1320b68818e831dea5bb7510bf
2025-01-17 11:45:50 -08:00
Lorenzo Lucena Maguire
f5560622f1 Merge "Create Double Tap Power Settings Activity" into main 2025-01-17 11:35:54 -08:00
Pawan Wagh
65263376f7 Updating the notification ID
PageAgnosticNotificationService - updating notification id to avoid the notification being dismissed accidentally by other notifications. ID used is the bug id where this was reported.

Change-Id: I267eed1d14158f06ea688a48c65be209993b869d
Test: atest Enable16KbTest
Bug: 388678898
2025-01-17 11:24:39 -08:00
Randy Pfohl
857777b7d5 Merge "update string to remove duplicate accessibility readout" into main 2025-01-17 10:41:24 -08:00
Matthew DeVore
b9ea2e327f DisplayTopology: user cannot drag only display
When dragging a single display, we don't constrain the position of the
display, and the user can drag it anywhere on the fragment. As such we
need to either prevent the drag or refresh the pane always if there is
only one display. This CL chooses the former.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest DisplayTopologyPreferenceTest.kt
Bug: b/352650922
Change-Id: Icb101b734ce9b88435f64a71bf77f878f9b230e0
2025-01-17 18:17:17 +00:00
Joshua McCloskey
f2e29d4359 A11y pattern view is no longer selectable
Fixes: 386873612
Fixes: 386873927
Test: Verified pattern view is no longer selectable, but cells are still
announced.
Flag: EXEMPT bugfix

Change-Id: If80da276f2a33206c39552b6b86a92c899f865a9
2025-01-17 09:17:18 -08:00
Joshua Mccloskey
496dcd3eb7 Merge "Pattern a11y fix" into main 2025-01-17 09:12:56 -08:00
yomna
378de71cb4 Check for any valid SIM card before showing Cellular Security Settings
Bug: 377358721
Test: m
Flag: EXEMPT bugfix
Change-Id: I5bbc0c95ff420639c274534b9086a3479ca47fb2
2025-01-17 16:55:16 +00:00
Randy Pfohl
4384745517 update string to remove duplicate accessibility readout
bug: 386688984

Test: built locally

Flag: NONE not needed

Change-Id: Ie8e0c25a753bd7dacb9145b58dbffc5f89ff6808
2025-01-17 16:52:40 +00:00
Harry Cutts
f4e8617821 Give input team ownership of mouse-related settings files
Bug: 245989146
Change-Id: I5961839b290af88784da525ff937ff6d6f148963
Test: none
Flag: EXEMPT only changing OWNERS
2025-01-17 07:32:17 -08:00
Treehugger Robot
07eca37281 Merge "[Catalyst] Rollback the Adaptive brightness key" into main 2025-01-17 06:31:32 -08:00
Yiyi Shen
d77fd9689e [Audiosharing] Avoid popup dialog when broadcast start in SysUI
Test: atest
Bug: 305620450
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I447aeb7e9646a5f9278fd2def8a2a9e6a59ac47e
2025-01-17 17:51:47 +08:00
Sunny Shao
03de6af4fc [Catalyst] Rollback the Adaptive brightness key
Let the redirect highlight function work from Turbo app.

NO_IFTTT=Catalyst migration

Test: devtool, atest AutoBrightnessScreenTest
Bug: 390525596
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Id7261d8a51368c45b7e23fee911565a226b30779
2025-01-17 08:27:02 +00:00
Jacky Wang
68178f684e [Catalyst] Refine AmbientDisplayAlwaysOnPreference datastore
NO_IFTTT=Catalyst only

Bug: 372307567
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Test: devtool
Change-Id: Icd7990d4bb42c2ed5e3432d0dd81473217913b56
2025-01-17 16:05:42 +08:00
Lorenzo Lucena Maguire
081836703a Create Double Tap Power Settings Activity
Test: manually launched activity
Bug: 390257067
Flag: EXEMPT declared activity in xml
Change-Id: Idc858b4e916df7e716790b7297b1bd5a58874452
2025-01-17 07:58:21 +00:00
Edgar Wang
3384913c65 Update background color of Settings search
Bug: 371849249
Test: visual
Flag: EXEMPT resource update
Change-Id: I6070273fa564c6b41d2b850c005967e455f155e9
2025-01-17 07:52:07 +00:00
Ze Li
6237fd2826 Merge "[Temp bonding] Updater for the guest list to store temp bond device" into main 2025-01-16 23:20:21 -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