Commit Graph

56092 Commits

Author SHA1 Message Date
Haijie Hong
c9ad06d9c3 Merge "Add hint for device rename editbox" into main 2025-01-13 21:14:09 -08:00
Haijie Hong
3442fb6d72 Merge "Use lifecycleScope.launch instead of post" into main 2025-01-13 21:13:55 -08:00
Yuanru Qian
bb40ebcc8a Merge "Clean up disable_bonding_cancellation_for_orientation_change as it's enabled in prod" into main 2025-01-13 21:11:26 -08:00
Yuhan Yang
a12887ff9c Merge "Add mouse scrollling speed slide bar" into main 2025-01-13 19:37:02 -08:00
Treehugger Robot
9e17ca61f4 Merge "BasePreferenceController: add some nullability annotations" into main 2025-01-13 16:14:35 -08:00
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
0999725c18 Add hint for device rename editbox
BUG: 386721884
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I0722d5e30b112c10c53f21e6b08543b2719bfa0f
2025-01-13 20:01:17 +08:00
Haijie Hong
21395089e0 Use lifecycleScope.launch instead of post
BUG: 385430945
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I30200154062115ea2db6bc87cfbc0ec339ec3171
2025-01-13 19:38:46 +08: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
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
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
YuhanYang
d5e44a0795 Add mouse scrollling speed slide bar
Bug: 383555305
Bug: 84795606
Test: Local DUT with aconfig flags enabled, verified slide bar
      appears and can be updated.
      Verified adjusting slide bar affects scrolling speed.
Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: Ia66f88ce855ab152a161ef3f81ab643415fad517
2025-01-09 16:32:22 +00: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
Harry Cutts
9b3f964f18 BasePreferenceController: add some nullability annotations
One fixes a NullAway warning reported on change
I32ba2b6b8c05c1379b4d921350050979b1866805, and the other is just nice
to have.

Bug: 245989146
Change-Id: I8a7ffbddf865bab317fdabf5110262bb0626c529
Test: TreeHugger
Flag: EXEMPT unable to flag this kind of change
2025-01-09 14:30:59 +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