Commit Graph

147568 Commits

Author SHA1 Message Date
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
Sunny Shao
7f5e1f6e8b Customize Max Screen Timeout
Make it possible to customize the maximum screen timeout.
Added a configurable max timeout value which, if provided, will
limit the predefined timeout values.
Leverage code from aosp.

Flag: EXEMPT bugfix
Bug: 309512299
Test: atest ScreenTimeoutSettingsTest
Change-Id: Ibb180c89489fe890f1929bdefd5ced87a9566f07
2025-03-10 06:52:28 +00:00
Candice
7270567527 Add content descriptions for Display size and text previews
Bug: 395882764
Test: manually
Test: atest TextReadingPreviewControllerTest
Test: atest TextReadingPreviewPreferenceTest
Flag: EXEMPT bugfix
Change-Id: Ia8702c3d0bdbbfdd554c945000777fcee6714abe
2025-03-10 06:49:43 +00: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
Jacky Wang
8db6c33b46 [Catalyst] Avoid PreferenceMetadata.getPreferenceSummary call
PreferenceMetadata.getPreferenceSummary is implementation detail.

Bug: 388167106
Flag: EXEMPT refactor
Test: atest
Change-Id: I4ec429723f0275c540b4e91e46dfc19fd592c524
2025-03-10 10:20:14 +08:00
Shen Lin
7a5269b187 Fix typo when execute query on BiometricSettingsProvider
Bug: b/387226842
Change-Id: I64f8352fd613c6a680fc32f81d6815e440458566
Test: presubmit
2025-03-09 09:12:41 -07:00
Treehugger Robot
a7a7482118 Merge "Fixed typo on log statement." into main 2025-03-08 18:19:33 -08:00
Xin Li
7d6276b890 Merge 25Q1 (ab/BP1A.250305.020) to AOSP main
Bug: 385190204
Merged-In: Ib124aa795277d5e1d66f3a98a16ab9bf1cfbe08f
Change-Id: I4844bd4b5b3c6bfc9ee0b2baac872e0a68b14f84
2025-03-08 16:09:55 -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
Treehugger Robot
027bc1cd70 Merge "packages/apps/Settings: remove deprecated Mockito usages" into main 2025-03-08 00:30:31 -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
Wes Okuhara
67fe8825ab Merge "Settings: Duplicate device product strings for desktop" into main 2025-03-07 16:10:09 -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
Bill Yi
853fd959c2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:54 -08:00
Bill Yi
08e03de83b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-07 09:18:54 -08:00
Treehugger Robot
17151798b3 Merge "Cursor colour Settings VisD update" into main 2025-03-07 08:29:18 -08:00
Michael Mikhail
0d44396f76 Merge "[catalyst] migrate media controls settings" into main 2025-03-07 07:27:51 -08:00
yyalan
3e62540560 Cursor colour Settings VisD update
Fixes: 400303794
Flag: NONE bug fix
Test: screenshot in comment
Change-Id: Ic9ddce25627c021f46de301af5e2fd22a74719e0
2025-03-07 15:12:41 +00: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
Yuri Ufimtsev
245df05c33 Merge "Add Content Protection settings to Advanced Security page" into main 2025-03-07 03:22:23 -08:00
Ramya Manoharan
338b40766c Merge "[Setting] [UI Change] SIM is an acronym and should be capitalized." into main 2025-03-07 03:03:35 -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
Treehugger Robot
95a651ca30 Merge "Fixed the color issue of Wi-Fi password EditText" into main 2025-03-07 01:44:37 -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
Weng Su
de56c24ac0 Fixed the color issue of Wi-Fi password EditText
- Use Material3 theme preset colors

Bug: 397878305
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I196db3c50a6f5edd8556073e12f4d3f6790f3bff
2025-03-07 16:01:47 +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
Yongshun Liu
8a333df6fa Merge "a11y: Clean up TestDialogHelper for magnification tests" into main 2025-03-06 20:29:05 -08: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
Xin Li
c7699dd04c [automerger skipped] Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future am: 10d930d1cf -s ours
am skip reason: Merged-In I04f90b42907d07c6111a7b41a531f7717df33672 with SHA-1 b7783cb6c9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/32153970

Change-Id: I96e7f87e0f15f41c3b6e563180f3a6f6a26c09aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-06 18:30:19 -08:00
Yongshun Liu
f171468e69 a11y: Clean up TestDialogHelper for magnification tests
This moves TestDialogHelper to a separate file, and cleans up a couple
of magnification tests.

Bug: b/397530196
Flag: EXEMPT refactor
Test: SettingsRoboTests:com.android.settings.accessibility.MagnificationModePreferenceControllerTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationCursorFollowingModePreferenceControllerTest
Change-Id: I68e70061b84dacacf95bc05c784677b8d9794754
2025-03-07 01:55:45 +00: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