Commit Graph

23949 Commits

Author SHA1 Message Date
Chelsea Hao
97ccf7d696 Merge "Use LocalBluetoothLeBroadcastSourceState." into main 2025-01-15 19:11:20 -08:00
Jacky Wang
22ce449414 [Catalyst] Update metrics logging for AirplaneModePreference
NO_IFTTT=Catalyst only

Bug: 386330825
Bug: 389886085
Flag: com.android.settings.flags.catalyst
Test: atest
Change-Id: I1d1fced2e24bd10839dd8f29a6fdd6f0bd04667c
2025-01-16 07:30:38 +08:00
Jacky Wang
22d3b0420e [Catalyst] Setup metrics logger for preference ui action
Bug: 389886085
Flag: com.android.settings.flags.catalyst
Test: atest&manual
Change-Id: I8c3ce6cbdeeefe7857132a40ea486d0f56928d7a
2025-01-16 07:30:38 +08:00
Chun-Ku Lin
38ed880811 Partial flag clean up: Remove large mouse pointer in A11y Setting screen
Customization on mouse pointer has been moved to other screen, which is
released in 24Q4. Cleaning up the reference in a11y settings earlier for
cleaner ColorAndMotionScreen catalyst migration.

Bug: 346358375
Flag: EXEMPT partial clan up on android.view.flags.enable_vector_cursor_a11y_settings
Test: build succeed
Change-Id: Ie5c22f6cd1a55102240a86e13f17591e29ddbbf8
2025-01-15 23:29:51 +00:00
Riley Jones
e5649f2ca6 Merge "Cleanup qs shortcut flag in OneHandedSettingsUtils" into main 2025-01-15 10:51:57 -08:00
Vitor Carvalho
387268db8c Update ParentalControlsUtils to call the new internal API that is aware of SupervisionManager, introduced in ag/31120568.
Bug: 382038943
Flag: android.app.supervision.flags.deprecate_dpm_supervision_apis
Test: atest ParentalControlsUtilsTest
Change-Id: I884aa5f90a298c5e3e0fe85a5944d75234846140
2025-01-15 14:05:11 +00:00
Yiyi Shen
9c1447536a Merge "[Audiosharing] Use setBroadcastToUnicastFallbackGroup to set primary" into main 2025-01-15 02:34:03 -08:00
chelseahao
47fcd60315 Use LocalBluetoothLeBroadcastSourceState.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ic49a6782b63c91e95dd16898b5443585068e45f0
2025-01-15 01:33:49 -08:00
Treehugger Robot
eb927665a3 Merge "24Q4: Removal of a2dp_offload_codec_extensibility_settings" into main 2025-01-15 01:05:14 -08:00
Yiyi Shen
27e4fcc6c6 [Audiosharing] Use setBroadcastToUnicastFallbackGroup to set primary
Flag: com.android.settingslib.flags.adopt_primary_group_management_api
Test: atest
Bug: 381946931
Change-Id: Ib06dd2e202b07b9cdb25b1a671ee4d57246415ba
2025-01-15 15:55:07 +08:00
Jakub Rotkiewicz
1dda4f5526 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
Merged-In: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
Change-Id: I3fad2d0b5b356afd3524ef9ddc0cf1ccbaed9eb4
2025-01-15 07:52:37 +00:00
Jakub Rotkiewicz
672fcd51ab developer settings: remove unused a2dp Preference
Bug: 329809288
Flag: EXEMPT - unused code
Test: m -j
Merged-In: Ibd526fffddf5ea545afc437a5daee12bb1cf8746
Change-Id: Ie219247e1fd0fd92407c04d5d775a685a13467c4
2025-01-15 07:49:22 +00: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
Jakub Rotkiewicz (xWF)
15b146e3ed Merge "developer settings: remove unused a2dp Preference" into main 2025-01-14 23:16:50 -08:00
Treehugger Robot
2af2cfb887 Merge "Following up on comments from ag/31234899." into main 2025-01-14 12:51:21 -08:00
Angela Wang
e87733be63 Merge "Show ambient volume contrl only for hearing devices" into main 2025-01-13 22:44:41 -08:00
Shawn Lin
2b8a202028 [Biometric Onboarding & Edu] Support ways to use section for Face & FP
Move "Ways to use" section from "Face & Fingerprint Unlock" page to
"Face unlock" & "Fingerprint unlock" pages which means Face &
Fingerprint settings now have their own "Unlock your phone" & "Verify
it's your in app" settings.

Bug: 370940762
Test: atest FaceSettingsAppsPreferenceControllerTest
            FaceSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsAppsPreferenceControllerTest
	    FingerprintSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsFragmentTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I702da9bb9415b6deb741132ccde6b8be7ae38de0
2025-01-14 05:35:53 +00:00
Riley Jones
9e890a93f8 Cleanup qs shortcut flag in OneHandedSettingsUtils
Test: atest OneHandedSettingsUtilsTest
Bug: 367414968
Flag: EXEMPT flag cleanup
Change-Id: Ic906bd025ea9df7c5b083899608be4e1324ae317
2025-01-14 01:29:00 +00:00
Elliot Sisteron
2603d5ed75 Following up on comments from ag/31234899.
Lmk if I missed anything.

Bug: 388476345
Change-Id: If4d789abeb984eb0aad7d10dff9b8a366d2f5df1
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
2025-01-13 15:48:22 -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
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
Angela Wang
713efe9334 Show ambient volume contrl only for hearing devices
Flag: EXEMPT bugfix
Bug: 388156028
Test: atest BluetoothDetailsAmbientVolumePreferenceControllerTest
Change-Id: Ia38fd90f798dec9a46366ca15e358b42f7d7fe70
2025-01-13 09:07:08 +00: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
73196499c3 Merge "Fix WifiTetherSecurityPreferenceControllerTest bug" into main 2025-01-11 22:11:17 -08:00
Weng Su
8e2441b764 Fix WifiTetherSecurityPreferenceControllerTest bug
Bug: 389096329
Flag: EXEMPT bugfix
Test: Manual testing
atest -c SettingsUnitTests:WifiTetherSecurityPreferenceControllerTest

Change-Id: I71f55d3b091b744d4d98728ab62491f0b1f8cb22
2025-01-11 01:50:21 +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
Jakub Rotkiewicz
6b7a5073f0 developer settings: remove unused a2dp Preference
Bug: 329809288
Flag: EXEMPT - unused code
Test: m -j
Change-Id: Ibd526fffddf5ea545afc437a5daee12bb1cf8746
2025-01-10 12:42:25 +00: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
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
Wenyu Zhang
aea94181aa Merge "a11y: Initialize slider position with cursor area size setting" into main 2025-01-09 17:58:57 -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
Ioana Alexandru
2da22cd198 Merge "Update usages of TestModeBuilder" into main 2025-01-09 13:46:05 -08:00
Lucas Silva
ee449cebde Merge "Add posturing dream trigger to Settings UI" into main 2025-01-09 12:55:19 -08:00
Treehugger Robot
5667b48b34 Merge "Removing upstream flag as it is now the default. Also moving to internal robolectric projects to no longer use the _upstream suffix." into main am: 7aa0ef4049 am: e96beeeb46
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3443580

Change-Id: Iaf9c2effb80f752248786899b2fc32dad335358f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-09 10:44:22 -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
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
Menghan Li
e8dfb5d2fd Merge "fix(ReduceBrightColorsPreferenceController) Different feature configs" into main 2025-01-09 01:16:31 -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