Commit Graph

55737 Commits

Author SHA1 Message Date
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
Owner Cleanup Bot
d4d8afa861 [owners] Remove clairewang@google.com from src/com/android/settings/fuelgauge/protos/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.
If this change is unnecessary or in error, vote the lowest CR value
(i.e. reject the CL) and the bot will abandon it. Vote the highest CR to
approve this change. You may also abandon this change.

See the owner's recent activity for context:
https://android-review.googlesource.com/q/clairewang@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: Ic721ef22503796ffa60b3aee904e6d219fbb674f
2024-10-25 17:23:00 +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
tomhsu
6825f23d07 Fix dialog message overlap title
Flag: EXEMPT bug fix
Fix: b/326853900
Test: Manual test. see b/326853900#4
Change-Id: Id6e4e27eba5a90820d93802ff4a7c3fb1f053190
2024-10-24 09:00:34 +00:00
Jacky Wang
825cc7e5ed Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Migrate "Dark theme" settings
  Refactor DarkModePreference for catalyst
2024-10-24 07:06:27 +00:00
Jacky Wang
2d1770e4f7 [Catalyst] Migrate "Dark theme" settings
Bug: 375132235
Flag: com.android.settings.flags.catalyst_dark_ui_mode
Test: Manual
Change-Id: I40f305fe8d89feac84e2316c7a90c6eeb2b4a5fa
2024-10-24 11:27:07 +08:00
Fan Wu
60521ee2f9 Add WifiCallingScreen and corresponding TS flag
Bug: 372732219
Test: atest
Flag: com.android.settings.flags.catalyst_wifi_calling_settings

Change-Id: I3d78b6745e1127a0a7e73ec20ae95e9c9db2c139
2024-10-24 10:44:24 +08:00
Jacky Wang
45a2c3e5b8 Refactor DarkModePreference for catalyst
Bug: 375132235
Flag: EXEMPT refactor
Test: N/A
Change-Id: I17a63ad62d3b9fced4305d464372f2eab5023e3f
2024-10-24 07:54:26 +08:00
Edgar Wang
4d2012ccf9 [Homepage Revamp] hide the scroll bar of homepage
Bug: 364612225
Test: visual
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b246d2e8152eda94691a463a70973166e98c39c9)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e3c7913e3c9ffb9e95675d1731e8bf9a58082a18)
Merged-In: I0d4c48ef6debfa82597db48a4320b0500f330b1b
Change-Id: I0d4c48ef6debfa82597db48a4320b0500f330b1b
2024-10-23 22:47:58 +00:00
Matías Hernández
5c751da617 Merge "Change the icon in the trigger segment for TYPE_DRIVING modes" into main 2024-10-23 18:06:09 +00:00
David Liu
b42e77308c Merge "Migrate Adaptive Connectivity" into main 2024-10-23 17:47:48 +00:00
Treehugger Robot
384c432857 Merge "Removes overrides for shortcut-required service toggling." into main 2024-10-23 16:49:20 +00:00
Matías Hernández
1694adb1aa Change the icon in the trigger segment for TYPE_DRIVING modes
Use the "settings gear" icon instead of the "car" icon.

Fixes: 369326738
Test: manual
Flag: android.app.modes_ui
Change-Id: I49d7089558fcd0b9e02020a8ad215bc23ebb8e0e
2024-10-23 16:13:57 +00:00
Chris Antol
ab9f9780ab Merge "Add Lock Screen page skeleton and TS flag" into main 2024-10-23 16:00:05 +00:00
David Liu
b415befd53 Migrate Adaptive Connectivity
Add the skeleton of the Adaptive Connectivity

Bug: 368359961
Test: atest AdaptiveConnectivityScreenTest
Flag: com.android.settings.flags.catalyst_adaptive_connectivity
Change-Id: I45aa92635780230c8b89205cd13b7d968438e424
2024-10-23 14:52:48 +00:00
Treehugger Robot
d324df3997 Merge "Update WifiCallingSettingsForSub to inherit DashboardFragment. Controller logic will be refactored later" into main 2024-10-23 11:14:54 +00:00
Treehugger Robot
633e8dcd92 Merge "[Catalyst] Internet screen migration" into main 2024-10-23 10:23:46 +00:00
Yiyi Shen
56d56c4450 Merge "[Audiosharing] Update button background radius" into main 2024-10-23 10:07:56 +00:00
Shaowei Shen
f77fbbe473 Merge "[Physical Keybard] add Mouse key main page" into main 2024-10-23 09:55:56 +00:00
Fan Wu
059593f1b1 Update WifiCallingSettingsForSub to inherit DashboardFragment. Controller logic will be refactored later
Bug: 372732219
Test: atest
Flag: EXEMPT refactor
Change-Id: I8fc419acd0311cc5b11d78662fb6a13b2c61b169
2024-10-23 09:07:59 +00:00
Treehugger Robot
8b89ffb13c Merge "Reafactor DataProcessManager Callback Function Logic" into main 2024-10-23 08:30:38 +00:00
Jason Chiu
2cf3e627ce [Catalyst] Internet screen migration
- Add a flag for the migration
- Add the skeleton of the screen

Test: atest NetworkProviderScreenTest
Bug: 372733639
Flag: com.android.settings.flags.catalyst_internet_settings
Change-Id: Ia007b06501ef16e85df3e2f58536e8488d27bb3f
2024-10-23 15:34:39 +08:00
shaoweishen
0393a8165b [Physical Keybard] add Mouse key main page
Add page for Mouse key, which contain a main switch toggle and list of
explain images.
demo video: b/346949547#comment38
images:
https://screenshot.googleplex.com/3mc6KnyMdvfAia9.png
https://screenshot.googleplex.com/489mTfSYg9KMUpW.png

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: Ia40d5f071cc674ce0118d7ec8a4f0d5e914ce8b9
2024-10-23 07:24:12 +00:00
Zaiyue Xue
bdaadc471b Reafactor DataProcessManager Callback Function Logic
Keep the current thread for period job flow; only call handler back to
the main thread in UI flow.

Bug: 374570240
Fix: 374570240
Test: manual
Flag: EXEMPT bug fix
Change-Id: Ie923dbbd858c0c7000fa16a6c639f56624b2ece5
2024-10-23 13:33:17 +08:00
Yiyi Shen
f6787fd88b [Audiosharing] Update button background radius
Test: manual
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 366149567
Change-Id: I6aa2b0efb1e2d7b1d08d958fa065d739bef48812
2024-10-23 13:18:45 +08:00
SongFerng Wang
bca26d6151 Merge "Add the condition to hide the MMS messages preference" into main 2024-10-23 03:43:36 +00:00
Dongzhuo Zhang
b48d9f0e56 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

Change-Id: I5d415daab83f1836d55d340ed0172c51ecf21622
2024-10-22 22:47:22 +00:00
Torne (Richard Coles)
b78509129b Clean up android.webkit.update_service_v2.
This flag shipped in V and can now be cleaned up.

Bug: 356086806
Flag: EXEMPT cleaning up launched flag
Test: atest ApplicationFeatureProviderImplTest
Change-Id: I763683bdd708902305d53c504abc6fae96d4deb4
2024-10-22 16:26:32 -04:00
Chris Antol
f141563830 Add Lock Screen page skeleton and TS flag
Bug: 372307567
Test: none
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Change-Id: I0740fea06e8f69bb8408ef5389b34756cfe475c7
2024-10-22 18:04:46 +00:00
Chun-Ku Lin
7446c0fa22 Merge "Remove backing fields for ColorAndMotionScreen" into main 2024-10-22 13:30:44 +00:00
Treehugger Robot
7f076bb3c4 Merge "Fix force close for updating UI after activity destroyed." into main am: c3ea626cd3 am: 5c3479b265
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3316490

Change-Id: Ifa9536dd3bc78759b0d74b8c588fea86a60e3d16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 10:32:37 +00:00
songferngwang
8f6145c143 Add the condition to hide the MMS messages preference
If the carrier config KEY_MMS_MMS_ENABLED_BOOL is false, then the
settings hide the MMS messages preference

Test: atest MmsMessagePreferenceControllerTest
Bug: 371965435
Flag: EXEMPT bugfix
Change-Id: I93479bba28120f7b6cc5449f4a8277945d308e40
2024-10-22 10:28:13 +00:00
Treehugger Robot
7cbf627778 Merge "Set availability of AddUserWhenLockedPreference before it gets displayed." into main 2024-10-22 10:14:21 +00:00
Jacky Wang
b05a1aa543 Remove backing fields for ColorAndMotionScreen
Bug: 373451690
Flag: EXEMPT refactor
Test: atest
Change-Id: I371bd221b6079c9816725e5253e110eef423fc5e
2024-10-22 17:42:38 +08:00
YK Hung
e72b2d2be1 Remove unsued legacy clearMemory() method
Test: atest
Bug: 373544647
Flag: EXEMPT for simple fix
Change-Id: I0efff624a0d05ec3b6b1ff34ba15db7a2abac031
2024-10-22 06:28:47 +00:00