Commit Graph

144241 Commits

Author SHA1 Message Date
Treehugger Robot
9a022bcffb Merge "[Catalyst] Call volume migration" into main 2024-10-29 05:28:28 +00:00
Treehugger Robot
3748eec701 Merge "Refactor sound settings page for catalyst" into main 2024-10-29 05:26:33 +00:00
Yiyi Shen
fba28fab5c Merge "[Audiosharing] Fix tests for hysteresis mode" into main 2024-10-29 05:01:12 +00:00
Mill Chen
8f4f371131 [Catalyst] Call volume migration
Bug: 364898621
Test: atest CallVolumePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I1464bd42fde7e0ae9063e2319c674b5e439b97f9
2024-10-29 04:25:13 +00:00
Mill Chen
3f1c7b0f49 Refactor sound settings page for catalyst
We have preferences existing in the sound settings page and new sound
screen. In order to ensure VolumeSeekBarPreferences work smoothly,
this changes support adding callback handling to
VolumeSeekBarPreferences that are migrated in the new screens.

Bug: 360015496
Test: visual test
Flag: EXEMPT refactor the existing feature
Change-Id: Iaee4581f1c2687db0b405cd9edbfef2088d9bb12
2024-10-29 04:23:16 +00:00
danielwbhuang
2d2f523abe [ToA] Use radio button style for single selection
1. Change TickButtonPreference to SelectorWithWidgetPreference
2. Modify tests

Bug: 375979373
Flag: EXEMPT bugfix
Test: atest TermsOfAddressFeminineControllerTest, TermsOfAddressMasculineControllerTest, TermsOfAddressNeutralControllerTest, TermsOfAddressNotSpecifiedControllerTest
Change-Id: I29c01fb3d2fa9545bdd817f50d9c48b3610f9785
2024-10-29 03:39:07 +00:00
Haijie Hong
cf7e295b4a Merge "Exit device details page when bond state is BOND_NONE" into main 2024-10-29 03:04:03 +00:00
Haijie Hong
2aa5942956 Merge "Hide spatial audio toggle when disconnected" into main 2024-10-29 03:03:42 +00:00
MiltonWu
1729f3e0bc FingerprintEnrollStageThresholdInteractor
Interactor for getting FingerprintManager::getEnrollStageThreshold()

Bug: b/372385781
Test: Get correct value from FingerprintManager
Flag: EXEMPT feature flag protected on override project
Change-Id: I6c43c17b944c0479b746955d0ba1422dc5744c4c
2024-10-29 02:50:58 +00:00
Treehugger Robot
b571f5ea01 Merge "FingerprintEnrollStageCountInteractor" into main 2024-10-29 02:36:42 +00:00
Jay Wang
3c800744cb Merge "Add battery replacement strings" into main 2024-10-29 01:21:27 +00:00
Diya Bera
561019c4fe Merge "Identity Check API" into main 2024-10-28 23:03:53 +00:00
Treehugger Robot
7326a1a994 Merge "Add flags for cell security features in Settings" into main 2024-10-28 19:42:47 +00:00
yomna
d6f8c58f60 Add flags for cell security features in Settings
Bug: 355062720
Test: m
Flag: com.android.settings.flags.mobile_network_security_2g
Flag: com.android.settings.flags.add_security_transparency_to_eng_menu

Change-Id: I529b68d1fbcc75d19925654dbd0e0c8d56a69548
2024-10-28 19:38:17 +00:00
Treehugger Robot
9e3d1d847f Merge "Migrate System -> Languages to Catalyst" into main 2024-10-28 18:56:18 +00:00
Julia Reynolds
cc8e87b0a5 Merge "Fix incorrect Settings assumption" into main 2024-10-28 18:32:00 +00:00
Matías Hernández
f201899e7c Merge "Add TtsSpan to schedule-time modes trigger segment so that full day names are read" into main 2024-10-28 16:26:40 +00:00
Julia Reynolds
451bd65471 Fix incorrect Settings assumption
Most apps will not have 4 bundle channels, even when
the flag is on

Test: BundleListPreferenceControllerTest
Fixes: 375674236
Flag: android.service.notification.notification_classification
Change-Id: Iab8e241881f9af71744b46fce356604cf9ed369c
2024-10-28 10:40:08 -04:00
Candice
48d984511a Enable HearingAid page search if the device supports hearing aid
Bug: 353847080
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Test: atest AccessibilityHearingAidsFragmentTest
Test: let the HearingAidHelper return false in supporting availability and check if the items exist during search
Change-Id: I6b6ffddb5ccd44795db292d1ddc3b60f69166b2a
2024-10-28 14:39:39 +00:00
Yiyi Shen
ece6ca317c [Audiosharing] Fix tests for hysteresis mode
Bug: 375975222
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I8b16d7bc32ad825d152c1092cff447bb950803aa
2024-10-28 19:21:59 +08:00
Matías Hernández
1e8933123a Add TtsSpan to schedule-time modes trigger segment so that full day names are read
Bug: 370358575
Test: atest ZenModeTriggerUpdatePreferenceControllerTest + manual with Talkback
Flag: android.app.modes_ui
Change-Id: Ia9ed53c75176d887f26da90a713f1038cf26e01f
2024-10-28 12:01:10 +01:00
Fan Wu
bee4f9310c Migrate System -> Languages to Catalyst
Bug: 375543649
Test: atest SettingsUnitTests
Flag: com.android.settings.flags.catalyst_language_setting
Change-Id: If7d01bd76ebf8cecb3bcc6b6528cfaec176cdc93
2024-10-28 10:09:40 +00:00
chelseahao
97dbd0bb54 Add developer option for le audio sharing ui flow.
Test: atest com.android.settings.development
Bug: 368401233
Flag: com.android.settingslib.flags.audio_sharing_developer_option
Change-Id: I9a8c7ad9a2620184080bcdfc9f430c3b25659b7d
2024-10-28 17:40:19 +08:00
Jay Wang
2bb1c55314 Add battery replacement strings
Flag: EXEMPT bugfix
Test: local test
Change-Id: Ifcc187d9cd230e8b8aacf3a5fd2aeea09ee19494
2024-10-28 09:36:19 +00:00
SongFerng Wang
7db2eda52d Fix startActivity for multi-user issue HSUM mode
Refer ag/30033454, Using startActivityAsUser and adding the UserHandle.CURRENT.

Bug: 368165906
Change-Id: Icf79a40b3b71fd31f6874e173074b97007f0f8c4
Test: Manual Test
Flag: EXEMPT bugfix
2024-10-28 09:22:50 +00:00
chelseahao
ae7acae24c Show error message when inputting invalid audio sharing password.
Test: atest
Bug: b/356071394
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I6e1ff6d32175ad6e4286db922645d608a2708c45
2024-10-28 09:18:02 +00:00
Haijie Hong
6c1481e5e7 Exit device details page when bond state is BOND_NONE
BUG: 356222570
Test: local test
Flag: EXEMPT minor bug fix
Change-Id: I1485aa78eb1323eefabf1eb023e24459faed51a6
2024-10-28 16:38:34 +08:00
Haijie Hong
6f9a18ec68 Hide spatial audio toggle when disconnected
BUG: 375546672
Test: atest SpatialAudioInteractorTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I524174e6ef66b5d1ef90ac171c66f05aa7e26b53
2024-10-28 15:51:11 +08:00
Treehugger Robot
75e2dc4b21 Merge "Avoid disabling the Wi-Fi hotspot switch causing Talkback confusion" into main 2024-10-28 05:38:51 +00:00
Haijie Hong
37ae076618 Merge "Fix coroutine scope expired and UI animation issue" into main 2024-10-28 05:20:31 +00:00
Haijie Hong
7764a3e5af Fix coroutine scope expired and UI animation issue
BUG: 375365790
BUG: 375146578
BUG: 375304695
BUG: 375544752
Test: atest BluetoothDeviceDetailsViewModelTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib3bc6699f256288b6c4995b78cc25a16f1af0792
2024-10-28 03:16:26 +00:00
SongFerng Wang
10373c67c0 Merge "Modify the condition for showing DSDS dialog" into main 2024-10-28 02:59:18 +00:00
Weng Su
7557a48e2e [Catalyst] Create airplane mode preference
Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceTest
atest -c VpnPreferenceControllerTest

Change-Id: Icf0bb9dfc1a8bda7a001f2ad3c6d6b835c489c0d
2024-10-28 03:54:30 +08:00
Weng Su
259d3a47c8 Avoid disabling the Wi-Fi hotspot switch causing Talkback confusion
- Use local variables to filter inappropriate callbacks when the switch is busy

Bug: 374234537
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiTetherSwitchBarControllerTest

Change-Id: If5237230c73cae5a6230a6d3fdaa65a8511bdcd8
2024-10-28 03:31:32 +08:00
Dongzhuo Zhang
d9553708e6 Show SIM account preference in Contacts Storage Settings when default
account is set as SIM account.

Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings

Change-Id: I2f80e63a807f5a060c2ef6f05e3e413c6a689e1f
2024-10-25 22:07:28 +00:00
Robin Lee
661e081c5c Merge "Override aspect ratio to fullscreen when unset for universal resizeable" into main 2024-10-25 18:24:36 +00:00
t
a2741a76cb Disable factory reset in DSU mode
Bug: 302317901
Bug: 316578327
Test: build

Merged-In: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
Change-Id: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
2024-10-25 06:34:19 +00:00
t
27619dd45c Disable factory reset in DSU mode
Bug: 302317901
Bug: 316578327
Test: build

Merged-In: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
Change-Id: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
2024-10-25 06:34:08 +00:00
t
4296cc1977 Disable factory reset in DSU mode
Bug: 302317901
Bug: 316578327
Test: build

Merged-In: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
Change-Id: I485eb6ac7beec0893d91ca5fe8ad88ecd96a5cbe
2024-10-25 06:33:59 +00:00
David Liu
c560b73be5 Merge "Migrate Data Saver" into main 2024-10-25 03:20:09 +00:00
Dongzhuo Zhang
b95032af46 Merge "Change to use android.provider.new_default_account_api_enabled flag to control the contacts storage settings launch. Bug: 368641291 Flag: android.provider.new_default_account_api_enabled" into main 2024-10-25 03:09:09 +00:00
Jason Chiu
c7acd88a83 Merge "Make TetherSettings extend RestrictedDashboardFragment" into main 2024-10-25 01:42:53 +00:00
Diya Bera
1bad4e27c1 Identity Check API
Update MANDATORY_BIOMETRICS constant to IDENTITY_CHECK

Flag: android.hardware.biometrics.Flags.FLAG_IDENTITY_CHECK_API
Bug: 373424727
Test: N/A

Change-Id: I6413e3695d1e07dcc225230f8fd2d373b1879e8f
2024-10-25 01:20:22 +00:00
David Liu
d7dec0bf7f Migrate Data Saver
Add the skeleton of the Data Saver

Bug: 368359883
Test: atest DataSaverScreenTest
Flag: com.android.settings.flags.catalyst_restrict_background_parent_entry
Change-Id: I008c1ff7a1ad4ff1eeb95be730680abe5666f26c
2024-10-24 22:27:56 +00:00
songferngwang
be68a15621 Modify the condition for showing DSDS dialog
Previous condition: there is the psim when the user enable esim
New condition: there is an active psim when the user enable esim

Bug: 362368874
Test: Test UI, atest SimOnboardingServiceTest
Flag: EXEMPT bugfix
Change-Id: I4260674794a961080b1f49e0f3d07ca9f2cf6ab6
2024-10-24 19:00:00 +00:00
Matías Hernández
a9e8225ba4 Update summary of Modes entry in Settings
Instead of the number of automatic modes, simply list the first (up to 3) existing modes, according to the standard sort order, when none are active.

As a consequence, the summary is never empty now.

Fixes: 374179941
Test: atest ZenModeSummaryHelperTest + manual
Flag: android.app.modes_ui
Change-Id: I04f9d90a5e1e4ed13d66181b85d77fef8c6ff256
2024-10-24 16:18:50 +02:00
Marzia Favaro
215e9c0f3b Override aspect ratio to fullscreen when unset for universal resizeable
Bug: 374968702
Test: UserAspectRatioDetailsTest
Test: UserAspectRatioManagerTest
Test: manual, verify which option is selected by default after app
installation
Flag: com.android.window.flags.universal_resizable_by_default

Change-Id: I04063e4a130d42a4bfd7e548940ca5e654a6d012
2024-10-24 12:57:27 +00:00
Treehugger Robot
4e8d11bb40 Merge "Fix dialog message overlap title" into main 2024-10-24 10:11:25 +00:00
MiltonWu
1cdc17a7f6 FingerprintEnrollStageCountInteractor
Interactor for getting FingerprintManager::getEnrollStageCount()

Bug: b/372385781
Test: Get correct value from FingerprintManager
Flag: EXEMPT feature flag protected on override project
Change-Id: Ib31a9c4da7b0aa7e9fce0223aa8bca207c4a7a7c
2024-10-24 09:22:35 +00:00
Jason Chiu
8547d7ad96 Make TetherSettings extend RestrictedDashboardFragment
RestrictedSettingsFragment is deprecated and no longer supported. To be
compatible with catalyst, change the super class to
RestrictedDashboardFragment.

Bug: 368359963
Test: atest TetherSettingsTest, manual test with the user restriction
Flag: EXEMPT N/A
Change-Id: If8c5af9d716c63fd33cb508394e7d13450c9d2e7
2024-10-24 09:15:41 +00:00