Commit Graph

56082 Commits

Author SHA1 Message Date
Wenyu Zhang
1d45cd7ac0 Merge "a11y: Add "Ignore minor cursor movement" autoclick setting" into main 2025-01-13 15:41:02 -08:00
Simon Wingrove
88d40f1c1f Merge "Split biometrics resource into three." into main 2025-01-13 14:35:20 -08:00
Wenyu Zhang
d683d18132 a11y: Add "Ignore minor cursor movement" autoclick setting
When "Ignore minor cursor movement" is on, the small cursor movement
within the cursor area ring will not interrupt the autoclick timer.

Screenshot: http://b/388845718#comment2

Change-Id: Ib6a8ca8463358a3e2de5ae6be8afd5113a5826ba
Test: ToggleAutoclickIgnoreMinorCursorMovementControllerTest
Bug: b/388845718
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-13 21:31:03 +00:00
Haijie Hong
ffb64450e0 Merge "Fix exception in key missing dialog when rotating screen" into main 2025-01-13 02:45:18 -08:00
Haijie Hong
f761a30040 Fix exception in key missing dialog when rotating screen
BUG: 387915075
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I966954f27d074a5ca0dc329cb142c1ab66b3b013
2025-01-13 01:13:02 -08:00
Chaohui Wang
6938753392 Merge "Migrate to AppStorageRepository" into main 2025-01-13 00:24:31 -08:00
Chelsea Hao
d964109a9c Merge "Allow only password between 4 to 16 character." into main 2025-01-12 19:42:35 -08:00
Treehugger Robot
fc623f88e0 Merge "Align ownership between Connectivity and settings" into main am: 2826098a66 am: 2da834d44e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3446592

Change-Id: I49d7577d9364e1cc100b5abd9366d3dc3d01953c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-10 16:38:40 -08:00
Maciej Żenczykowski
551fa0d4d6 Align ownership between Connectivity and settings
(using core_networking_xts, not core_networking because it's a better match for the allowed set of folks)

Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ie8192fd06b0d5507884e083eaf6d6614c40ff2ea
2025-01-10 11:57:55 -08:00
Chris Antol
caa87b9c34 Merge "Fix sensitivity to writability declarations" into main 2025-01-10 11:00:17 -08:00
Treehugger Robot
03d71f7262 Merge "[Catalyst] Prevent flicker on "Use Data Saver"" into main 2025-01-10 10:58:10 -08:00
Jason Chang
a2e9335724 Merge "Update Fingerprint adding button with expressive design" into main 2025-01-10 09:45:14 -08:00
Jan Tomljanovic
406b5dface Split biometrics resource into three.
Bug: 388476345
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
Change-Id: Ie6761f318e64e1cf2782c538d7b6af5b5094faa1
2025-01-10 17:21:13 +00:00
Julia Reynolds
e62afe5aa9 Merge "Layout improvements for notification pages" into main 2025-01-10 06:28:18 -08:00
Arun Voddu
ca666039d8 Merge "[Satellite] Satellite UX changes in SIM settings as per new UX design." into main 2025-01-10 05:11:45 -08:00
chelseahao
0f73d15bb3 Allow only password between 4 to 16 character.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I997cdef02079f74e82698fe052e29d64956cad60
2025-01-10 17:51:45 +08:00
Jacky Wang
05b678936a [Catalyst] Prevent flicker on "Use Data Saver"
Fix: 383632913
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: I9aa9544c4749e543f5a923d166e4268af595a500
2025-01-10 16:32:00 +08:00
Treehugger Robot
532439a757 Merge "[Catalyst] Update DataChangeReason usages to PreferenceChangeReason" into main 2025-01-09 23:07:49 -08:00
Ze Li
d6f13bc516 Merge "[Temp bonding] Block users to select temp bond device as primary device for call in "Call audio" under "Audio sharing" page" into main 2025-01-09 20:51:59 -08:00
Fan Wu
4ca85b1e5c [Catalyst] Update DataChangeReason usages to PreferenceChangeReason
Bug: 388677104
Test: atest and manual
Flag: EXEMPT refactor
NO_IFTTT=refactor
Change-Id: I3c1aae3dc10a1c78e1b2b0ead8ffc83da933e174
2025-01-09 20:03:09 -08:00
Wenyu Zhang
aea94181aa Merge "a11y: Initialize slider position with cursor area size setting" into main 2025-01-09 17:58:57 -08:00
Chris Antol
2000e9f96c Fix sensitivity to writability declarations
Bug: 388877875
Test: N/A - CTS test to follow
Flag: com.android.settingslib.flags.settings_catalyst
Change-Id: I32d92b427bafe474f0e082923603781ad561cdd8
NO_IFTTT=sensitivity level not a field in legacy Preference Controller
2025-01-09 17:19:55 -08:00
Jacky Wang
1c78d48489 Merge "Fix memory leak on Accessibility screen" into main 2025-01-09 15:25:19 -08:00
Wenyu Zhang
e031b30d1d a11y: Initialize slider position with cursor area size setting
When the preference loads, initialize the slider position using the
cursor area size value from settings.

In addition, match slider seekbar range and the cursor area size range.

Change-Id: Ib6a8ca8463358a3e2de5ae6be8afd5113a5826be
Bug: b/383901288
Test: ToggleAutoclickCursorAreaSizeControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-09 22:31:17 +00:00
Julia Reynolds
41896428ea Layout improvements for notification pages
Changes for upcoming theming changes in Settings:
- replacing some margins with padding
- merging some (switch pref + info pref) combos into a single preference.
I flagged the one that was already launched, but changed the other directly
- added some section headers (unflagged)
- moved all app wide notification settings to a single section (unflagged)
- changed two plain text prefs into TopIntroPreference, the dedicated pref
type for that sort of UI
- fixed some UI issues with 'Show more categories' appearing too often
- removed a duplicate notifcation channel label (unflagged)
- replaced a button layout preference with ButtonPreference (unflagged)

Test: manual review with is_expressive_design_enabled on and off
Test: atest com.android.settings.notification.app
Flag: EXEMPT this feature is not using aconfig for flagging
Bug: 349652992
Change-Id: I2acd7b2eb9dbcf6929143bfde99cd67163f1f95d
2025-01-09 17:07:53 -05:00
Lucas Silva
ee449cebde Merge "Add posturing dream trigger to Settings UI" into main 2025-01-09 12:55:19 -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
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
Treehugger Robot
d7e1504cfe Merge "Allow system services to be optional" into main 2025-01-09 09:13:33 -08:00
arunvoddu
4da20d24c4 [Satellite] Satellite UX changes in SIM settings as per new UX design.
Bug: 382707562
Flag: EXEMPT UX bug fix
Test: Verified UX on device
Change-Id: I9e600d8f1fd6c273329e05a74079f1e03c209c65
2025-01-09 15:32:20 +00:00
Jacky Wang
2ac3cdfb22 Fix memory leak on Accessibility screen
The root cause is that androidx.preference.Preference does not implement
equals and hashCode methods, but it is used as Map key (see bug comment2
for more details). Given that Preference.getParent() can find the
category, we can simplify the data structure from Map to List.

Bug: 388696327
Flag: EXEMPT bugfix
Test: Resume/Pause Accessibility screen 100 times
Change-Id: Ib70acbf2147048730f8a4e8fd66731f9efdadecf
2025-01-09 18:57:38 +08:00
Treehugger Robot
b7e1cc472e Merge "[Catalyst] Add back Wi-Fi switch metrics" into main 2025-01-09 02:45:29 -08:00
Harry Cutts
adfb3a489d Merge changes I32ba2b6b,I3f473d28,I717eb2a2 into main
* changes:
  Touchpad: add @NonNull annotations to controller constructors
  Touchpad: mark MetricsFeatureProviders final
  Touchpad: fix some NullAway warnings
2025-01-09 02:38:54 -08:00
Ze Li
18279890cc [Temp bonding] Block users to select temp bond device as primary device for call in "Call audio" under "Audio sharing" page
Test: com.android.settings.connecteddevice.audiosharing.AudioSharingCallAudioPreferenceControllerTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: Ideafaa1b113a40219830b8ba2b5156b599481eee
2025-01-09 18:23:54 +08:00
Daniel Huang
723d2fff40 Merge "Remove ACTION_NUMBERING_SYSTEM_SETTINGS relevant implementation" into main 2025-01-09 01:41:54 -08:00
Shaowei Shen
43c9d7d26e Merge "[Physical Keyboard] Fix L18n test bugs" into main 2025-01-09 01:39:02 -08:00
Menghan Li
291e62ffd1 Merge changes from topic "SurveyFeatureProvider_isSurveyAvailable" into main
* changes:
  Add HaTS entrypoint for Magnification page
  Add controller for magnification feedback preference
  Add a new API: checkSurveyAvailable
2025-01-09 01:14:45 -08:00
Chaohui Wang
7e8e683e60 Migrate to AppStorageRepository
Bug: 321861088
Flag: EXEMPT bug fix
Test: manual - on All apps and App info
Test: atest AppStorageSizesControllerTest
Test: atest AppStoragePreferenceTest
Change-Id: I3143de720493cb09854621b115d07e76bebf6699
2025-01-09 16:56:42 +08:00
Angela Wang
44e13bf11e Merge "Remove flag enable_hearing_aid_preset_control" into main 2025-01-09 00:04:19 -08:00
danielwbhuang
63992ac908 Remove ACTION_NUMBERING_SYSTEM_SETTINGS relevant implementation
Bug: 381038747
Flag: android.provider.system_regional_preferences_api_enabled
Test: use test app to try intent ACTION, atest
Change-Id: If40e570a2e1087125ac32db30d7b683af3a0d0b6
2025-01-09 15:05:31 +08:00
Menghan Li
e218280902 Add HaTS entrypoint for Magnification page
This entry point allows users to access and adjust Magnification
settings for low vision accessibility. Visibility is controlled by
the aconfig flag and SurveyFeatureProvider#isSurveyAvailable.

NO_IFTTT=Revisit preference_list scope

Bug: 380346799
Test: atest ToggleScreenMagnificationPreferenceFragmentTest
Flag: com.android.server.accessibility.enable_low_vision_hats
Change-Id: I81a55487734fe7b139391a6c95834c7313e54d7a
2025-01-09 07:01:21 +00:00
Menghan Li
3f67747684 Add controller for magnification feedback preference
The controller's logic determines the visibility of this preference
based on the availability of surveys, as reported by
SurveyFeatureProvider.isSurveyAvailable.

Bug: 380346799
Test: atest MagnificationFeedbackPreferenceControllerTest
Flag: com.android.server.accessibility.enable_low_vision_hats
Change-Id: I7fe7aa4418a6be38e9e7af7efc76a9a25266198b
2025-01-09 07:00:09 +00:00
Joy Babafemi
3dea70443b Merge "Update owners for account settings" into main am: aaa8896873 am: 70d953b3da
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3441082

Change-Id: I75ed20ba97d788ba787f3064b5c4e8a822388aca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-08 20:34:28 -08:00
Treehugger Robot
66f86d4612 Merge "[Catalyst] Move PreferenceCoordinate" into main 2025-01-08 20:34:18 -08:00
Joy Babafemi
aaa8896873 Merge "Update owners for account settings" into main 2025-01-08 19:35:45 -08:00
Shawn Lin
10265d8d90 Merge "[Biometric Onboarding & Edu] Update Set up Face Unlock page" into main 2025-01-08 19:29:47 -08:00
Ajay Dudani
12497cbb42 Merge "Update OWNER of tts settings" into main 2025-01-08 17:03:31 -08:00
Jacky Wang
a29db33025 [Catalyst] Move PreferenceCoordinate
Bug: 388420844
Flag: EXEMPT refactor
Test: N/A
Change-Id: Ieafb4ce4757e0935ffb276127a3e562a6ff0bcfa
2025-01-09 07:57:59 +08:00
Matthew DeVore
926f75ec5f Merge "Use topology listener to detect changes" into main 2025-01-08 15:44:06 -08:00
Alyssa Ketpreechasawat
81d25980f8 Merge "Remove ModuleInfo#isHidden Usage from the source code." into main 2025-01-08 15:33:42 -08:00