Commit Graph

56952 Commits

Author SHA1 Message Date
Jan Tomljanovic
07d1c5067c Add owners files for safetycenter in settings.
Bug: 398185839
Test: not needed
Flag: NONE nothing to test
Relnote: N/a
Change-Id: I5769bba62af30d844e96f3adaef34d53521cd1ca
2025-03-11 14:29:27 +00:00
Shivangi Dubey
4038a20ed3 Merge "Create new device state auto rotate setting manager" into main 2025-03-11 05:18:21 -07:00
Haijie Hong
2b47ca1608 Merge "Reimplement device details UI without ComposePreference" into main 2025-03-11 01:29:30 -07:00
Menghan Li
173dceca7c Merge "refactor(A11yFeedback): Simply feedback logic into menu controller" into main 2025-03-11 00:49:19 -07:00
Haijie Hong
02bd645834 Reimplement device details UI without ComposePreference
Replace ComposePreference with androidx.preference.Preference.

ANC toggle will still use Compose until SegmentedButtonPreference is ready.

BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Treehugger Robot
87a9cdf16f Merge "Fix biometric activities launched twice" into main 2025-03-10 23:50:12 -07:00
Shawn Lin
1639966d43 Merge "Disable search index of combine biometrics settings page when flag is on" into main 2025-03-10 22:19:22 -07:00
Treehugger Robot
56fe19d962 Merge "Reduce storage requirement for Terminal App" into main am: 7d6225d0a4 am: c8c1639835
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3499330

Change-Id: Ibdbc1999af1f98e7025134ce18444f8ef9b250c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-10 20:24:40 -07:00
Yiyi Shen
e9af487df1 Merge "[Audiosharing] Allow showing dialog when parent atLeast CREATED" into main 2025-03-10 19:55:03 -07:00
Shawn Lin
17707fb1a8 Disable search index of combine biometrics settings page when flag is on
Bug: 370940762
Test: m
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I64d4db90b9b347bd948bb8f5f8854119f4544d5a
2025-03-11 02:54:59 +00:00
Menghan Li
a389ff59ab refactor(A11yFeedback): Simply feedback logic into menu controller
Bug: 393980229
Test: atest FeedbackMenuControllerTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I03af00957c2bcca1d1cc81970eccad6dd69bb4ac
2025-03-11 02:43:32 +00:00
Treehugger Robot
7d6225d0a4 Merge "Reduce storage requirement for Terminal App" into main 2025-03-10 19:29:41 -07:00
Jacky Wang
84f84ca8c0 [Catalyst] Use KeyValueStoreDelegate
NO_IFTTT=Catalyst only

Bug: 388167106
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: I3d04e1bf2620fe7f910fe63f22c17da290e9172d
2025-03-11 09:39:28 +08:00
Jacky Wang
6f684c73e0 [MainSwitchPreference] Remove SettingsMainSwitchPreferenceController
NO_IFTTT=Update base class

Bug: 401406987
Flag: EXEMPT refactor
Test: manual
Change-Id: I68093366f63fa5b4184aa7b3dde8bc2609f17dfb
2025-03-11 00:35:01 +08:00
Yiyi Shen
f3f3db1d91 [Audiosharing] Allow showing dialog when parent atLeast CREATED
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I6b4b363dab9531de0874a157254a1e9848ff0448
2025-03-10 19:20:54 +08:00
Jacky Wang
7867f29788 [Catalyst] Remove PreferenceScreenBinding
By removing PreferenceScreenBinding, PreferenceScreenMetadata with not
Preference entry point is greatly simplified.

NO_IFTTT=Catalyst only

Bug: 388167106
Flag: EXEMPT refactor
Test: manual
Change-Id: Ie62313c9c6737a4aad8e363f947a68eada4393f5
2025-03-10 18:25:15 +08:00
Treehugger Robot
9066ecf68a Merge "[Settings] Save query status of search view" into main 2025-03-10 02:22:54 -07:00
Milton Wu
52845fdf8d Fix biometric activities launched twice
Save launched state

Bug: 401461494
Test: After pressing Done in biometric confirmation page, intro page
      don not show again
Flag: EXEMPT bug fix
Change-Id: I7dfca8e2a6752a20de0429b61f8d9885fdd12e47
2025-03-10 09:21:43 +00:00
Treehugger Robot
838cc2526c Merge "Update the required or optional styles of EditText in VPN settings" into main 2025-03-10 01:51:16 -07:00
Zoey Chen
ba7eab896f [Settings] Save query status of search view
Bug: 394494567
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ic82d9ae98c843d96378427aa9e8c9d5e3aa3b5ac
2025-03-10 07:45:23 +00:00
Weng Su
e82b0b2eea Update the required or optional styles of EditText in VPN settings
- Follow the Required text indicator in the Google Material 3 guidelines

Bug: 401956268
Flag: EXEMPT refactor
Test: Manual testing
Change-Id: Ifeb1b882b34151ebef18edc32e7f2a3c116921c2
2025-03-10 15:32:42 +08:00
Jacky Wang
2380c5d1e4 [Catalyst] Avoid PreferenceMetadata.getPreferenceTitle call
Bug: 388167106
Flag: EXEMPT refactor
Test: atest
Change-Id: I6491f076c22e5cca4981d4a9270f92cd53173f74
2025-03-10 10:40:59 +08:00
Treehugger Robot
a7a7482118 Merge "Fixed typo on log statement." into main 2025-03-08 18:19:33 -08:00
Treehugger Robot
6d35640bc6 Merge "Show dialog for changing the region of non-system language" into main 2025-03-08 07:50:52 -08:00
Felipe Leme
8f5a40af42 Fixed typo on log statement.
Test: no, thanks
Bug: 395189824
Flag: EXEMPT minor string change

Change-Id: I51d9ee64fba403ead19cef569dbb101f88e52e2b
2025-03-07 18:35:30 -08:00
danielwbhuang
5139f57ee0 Show dialog for changing the region of non-system language
User wants to add the same language (non system language) with a different region. Adding the same language again with a different region will change the region of that language to the new region.

Bug: 388942734
Test: manual verification
Flag: EXEMPT bugfix
Change-Id: Ib124aa795277d5e1d66f3a98a16ab9bf1cfbe08f
2025-03-08 09:42:26 +08:00
Ebru Kurnaz
4af902652b Merge "Update Size preference if the resolution has changed." into main 2025-03-07 16:35:22 -08:00
Nigel Tao
7a81ed89fa Merge "Fix Settings/Storage "Format USB drive" title string" into main 2025-03-07 14:58:24 -08:00
Ebru Kurnaz
991170694c Update Size preference if the resolution has changed.
Flag: com.android.settings.flags.display_size_connected_display_setting
Test: atest ExternalDisplayPreferenceFragmentTest
Bug: 399357095
Change-Id: I9e84c4958ffe7d679caabe28987b6ffffccbfc85
2025-03-07 19:05:05 +00:00
Diya Bera
ea342bbd82 Merge "Update Identity Check for Fingerprint Settings" into main 2025-03-07 09:49:13 -08:00
Michael Mikhail
0d44396f76 Merge "[catalyst] migrate media controls settings" into main 2025-03-07 07:27:51 -08:00
Treehugger Robot
2342373850 Merge "Use SatelliteManager API to check device support satellite or not." into main 2025-03-07 05:29:01 -08:00
tom hsu
76517509a0 Use SatelliteManager API to check device support satellite or not.
Flag: EXEMPT bug fix
Bug: b/401045618
Test: atest pass
Change-Id: Icbf9cf0f8da9c04d8b637f326e3bad7fb2a30916
2025-03-07 11:59:08 +00:00
Jacky Wang
0da0270ff7 [MainSwitchPreference] Remove OnCheckedChangeListener from NightDisplayActivationPreferenceController
Bug: 400335057
Flag: EXEMPT refactor
Test: manual
Change-Id: I97506685a9a188755297c90d15ead738667c8d5c
2025-03-07 19:44:59 +08:00
Jacky Wang
9eb7cd95b4 [MainSwitchPreference] Use OnPreferenceChangeListener for DarkModeActivationPreferenceController
Bug: 400335057
Flag: EXEMPT refactor
Test: manual
Change-Id: I6c6a053b64a0a10773bf9d51c44387a3597e91ad
2025-03-07 19:44:59 +08:00
Jacky Wang
1684b4387e [MainSwitchPreference] Deprecate SettingsMainSwitchPreferenceController
Bug: 401406987
Flag: EXEMPT refactor
Test: manual
Change-Id: Icdef50d0da777751f37b9d0d1984db636c7086f1
2025-03-07 19:44:59 +08:00
Jacky Wang
0fb23e3a7e Merge "[Catalyst] Extract datastore for VibrationMainSwitchPreference" into main 2025-03-07 03:25:48 -08:00
Shivangi Dubey
e077c9632b Create new device state auto rotate setting manager
As part of auto-rotate setting refactor, create a new manager to be used between sysui and settings.
This manager will replace the current DeviceStateRotationLockManager.
Next CL: Integrate this manager to be used when auto-rotate refactor flag is ON.
For more info:go/auto-rotate-refactor
Bug: 394303723
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor
Test: atest DeviceStateAutoRotateSettingManagerImplTest

Change-Id: Id1e09174fa3fb094f3aaf635b622b4bb9610f7f2
2025-03-07 09:56:17 +00:00
Treehugger Robot
b9f1396ddc Merge "fix(hct): Hardcode the names of Outline text and HCT in our notif." into main 2025-03-07 01:55:12 -08:00
Zoey Chen
4011a8e250 Merge "[Settings] Use Settings flag to keep consistency" into main 2025-03-07 01:45:29 -08:00
Jacky Wang
206d27d778 [Catalyst] Extract datastore for VibrationMainSwitchPreference
NO_IFTTT=Catalyst only

Bug: 368360218
Flag: EXEMPT refactor
Test: atest
Change-Id: I3c308b0ed1462a10ddd0daf55f30996a23e747d7
2025-03-07 16:53:26 +08:00
Zoey Chen
59cccc6775 [Settings] Use Settings flag to keep consistency
Bug: 401438916
Test: manual
Flag: EXEMPT refactor
Change-Id: Ie7d1bf50c119eb5b5bcea55508c6a8a842bc60ee
2025-03-07 07:49:17 +00:00
Shaowei Shen
e4fed1e6b0 Merge "[Physical Keyboard] Listen input devices change" into main 2025-03-06 19:25:51 -08:00
Zoey Chen
8c3d699dc3 Merge "[Settings] Add test cases for App LocalePicker page" into main 2025-03-06 18:56:36 -08:00
Zoey Chen
bf014ead27 [Settings] Add test cases for App LocalePicker page
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleAllListPreferenceControllerTest
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleSuggestedListPreferenceControllerTest
Bug: 396285228
Flag: EXEMPT refactor
Change-Id: Icd3bcddda47e38cabdca2702f7a42e6b6b43c67e
2025-03-07 00:58:05 +00:00
Riley Jones
b15a8557c0 Merge "Fix for next button contentdescription in TextReadingPreviewPreference" into main 2025-03-06 16:14:03 -08:00
Treehugger Robot
ccadee76e0 Merge "Use correct shortcut preference key on Magnification screen" into main 2025-03-06 12:47:54 -08:00
Daniel Norman
1a983ff386 fix(hct): Hardcode the names of Outline text and HCT in our notif.
This should help prevent localization issues caused by capitalization of
this templated string, since these feature names should not be
capitalized unless they are at the beginning of the sentence.

The 'Settings' app name should always be capitalized since it's the
proper name of an app, so that remains templated.

Bug: 399358129
Test: atest HighContrastTextMigrationReceiverTest;
      (this test asserts against a hardcoded version of the entire
       string)
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Change-Id: Iaaa2ac10a56c1e4f7e5a8fd0d1c8eaf8b0293a27
2025-03-06 20:44:21 +00:00
Xin Li
10d930d1cf Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future
Bug: 385190204
Merged-In: I04f90b42907d07c6111a7b41a531f7717df33672
Change-Id: I58e92a6e45193de820f7432dcb365c41c14d3141
2025-03-06 12:22:41 -08:00
Riley Jones
fd0c711002 Fix for next button contentdescription in TextReadingPreviewPreference
Test: Enable talkback and verify next button outputs a correct description
Bug: None
Flag: EXEMPT small cleanup change
Change-Id: Ib71e2a42b810b0ba5d92ec630f90ca7a32fbba46
2025-03-06 19:41:26 +00:00