Commit Graph

143729 Commits

Author SHA1 Message Date
SongFerng Wang
501bc72850 Merge "Add the awaitIdle" into main 2024-09-18 09:04:20 +00:00
Treehugger Robot
96f76c33a8 Merge "Update the list of Take call on" into main 2024-09-18 09:01:11 +00:00
Jacky Wang
9fc982f7d8 Merge "Add global flag for settings catalyst" into main 2024-09-18 08:11:27 +00:00
Treehugger Robot
3cdc1e6926 Merge "Fix no option after mobile network was reseted." into main 2024-09-18 07:58:04 +00:00
Jacky Wang
504feedd6b Add global flag for settings catalyst
Bug: 323791114
Flag: com.android.settings.flags.catalyst
Test: Presubmit
Change-Id: I1addb2391405ced12f0b32b2415608cf3a472c37
2024-09-18 14:49:48 +08:00
arunvoddu
87bb5a7a62 Fixed satellite icon tint color in Satellite Messaging screen
Flag: EXEMPT bugfix
Bug: 363271994
Test: Verified Manually
Change-Id: I4d950afcb89873ae7255601a4a6f35182f1599c1
2024-09-18 06:39:04 +00:00
Jacky Wang
c62e4b3a5e Merge "Create dedicated aconfig folder for catalyst" into main 2024-09-18 05:46:40 +00:00
Treehugger Robot
662f5a6a9a Merge "Fixed the typo error in token" into main 2024-09-18 05:19:11 +00:00
Chaohui Wang
777a179bd6 Create MobileNetworkSummaryRepository
For MobileNetworkSummaryController to use, so it no longer use
MobileNetworkRepository.

Fix: 366097262
Flag: EXEMPT refactor
Test: manual - on Network & internet
Test: atest MobileNetworkSummaryRepositoryTest
Change-Id: I8a9d52af8e230fc407a4339c27f73ef79d512b24
2024-09-18 13:07:50 +08:00
tomhsu
cadeeecd22 Fix no option after mobile network was reseted.
- When reseting mobile network, subscription info will also be reset.
   It has a racing bewteen showing the UI and udpating the subscription
   info.

 - Register a receiver to receive subscription change to dynamically
   update the UI

Flag: EXEMPT bugfix
Bug: 362382003
Test: Manual test.
Change-Id: I16811503685a6b82eee5ecf3fa725255d356a765
2024-09-18 04:40:32 +00:00
arunvoddu
4d3215580d Fixed the typo error in token
Flag: EXEMPT bugfix
Bug: 363271693
Test: Built successfully
Change-Id: I0bd1853529c11feb054d9746d8663139a3a30f61
2024-09-18 03:36:31 +00:00
songferngwang
0fae9c3492 Add the awaitIdle
To fix the "androidx.compose.ui.test.ComposeTimeoutException: Condition still not satisfied after 1000 ms"

Bug: 351915085
Test: atest SimOnboardingLabelSimTest
atest SimOnboardingSelectSimTest
Flag: EXEMPT bugfix

Change-Id: I61e192ab9e0518ed40823aa92609d2f9e753bdee
2024-09-18 02:57:21 +00:00
Treehugger Robot
540ce288ad Merge "(3/N) Biometric error dialog" into main 2024-09-18 00:20:40 +00:00
Diya Bera
baa6254207 Merge "(2/N) Biometric error dialog" into main 2024-09-17 23:58:50 +00:00
Diya Bera
8444136cd3 Merge "(1/N) Biometric error dialog" into main 2024-09-17 23:57:50 +00:00
Treehugger Robot
59ed7010dd [automerger skipped] Merge "Fix errorprone issues" into main am: fdbd2d1090 am: 6b7becf63e -s ours
am skip reason: Merged-In Ia0e16b8be5284d13bed4366cbee0f92748bf2f85 with SHA-1 bcc608fbb2 is already in history

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

Change-Id: I1f4264cb329d1cfb4a1411e103a28722a91fca15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-17 22:22:59 +00:00
Treehugger Robot
6b7becf63e Merge "Fix errorprone issues" into main am: fdbd2d1090
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3269750

Change-Id: Ic329c9b9a82ee8e16b6c94264b3bc6001d98caac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-17 21:59:11 +00:00
Treehugger Robot
fdbd2d1090 Merge "Fix errorprone issues" into main 2024-09-17 21:38:22 +00:00
Yuri Lin
4dcd12f02c Merge "Right-align "end time" text on the schedule setter" into main 2024-09-17 21:24:57 +00:00
Cole Faust
784411fc25 Fix errorprone issues
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored.
https://errorprone.info/bugpatterns

Bug: 253827323
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: I9975c8689c9d673d0b676c60d68ccec1953470f8
Merged-In: Ia0e16b8be5284d13bed4366cbee0f92748bf2f85
2024-09-17 14:08:00 -07:00
Diya Bera
fc711494b9 (3/N) Biometric error dialog
Add an error dialog to help user recover from biometric error for
for identity check for enrollment, changing LSKF and accessing
biometrics settings

Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 358641110
Bug: 358179610
Test: Manual
Change-Id: Iaf1986d3c1892b6158808bc3ded96145f410dc62
2024-09-17 20:25:01 +00:00
Diya Bera
1c604f29ef (2/N) Biometric error dialog
Add an error dialog to help user recover from biometric error for
for identity check while trying to factory reset

Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 358641110
Bug: 358179610
Test: atest MainClearTest
Change-Id: Ia20389a3146aa45ad42bdc4d31f1bd9488f2dc42
2024-09-17 20:21:48 +00:00
Yuri Lin
300d3d14c3 Right-align "end time" text on the schedule setter
When the "end time" text label is wider than the actual time, then aligning it with the start of the time causes it to wrap, even when there's plenty more space on the screen. This change right-aligns it in all cases (even when it's shorter), as it's hard to get all three of "right-aligned when too long", "left-aligned to the time display when short enough", and "wraps when it hits the center line instead of overflowing".

Fixes: 367054151
Test: manual, in English & Danish
Flag: android.app.modes_ui
Change-Id: I106864d6fb09aeac5fcc8d22e8d3d67b1b31ce4e
2024-09-17 15:46:59 -04:00
Evan Chen
e3e348b2dc Update AssociationInfo with deviceIcon field
Test: CTS
Bug: 341057668
Flag:  EXEMPT bugfix

Change-Id: I1398f4a225bf84ccb80438e0ce5f04f2ee844f27
2024-09-17 18:22:29 +00:00
Treehugger Robot
ad856d326f Merge changes from topic "b361144180-PreferenceControllerMixin" into main
* changes:
  Move ListAddMode PrefController key to constructor
  ZenModesListAdd extend BasePreferenceContoller
2024-09-17 17:28:27 +00:00
Pat Manning
591d568d00 Merge "Style changes for Pointer fill color settings." into main 2024-09-17 17:12:27 +00:00
Alexander Roederer
c6c5c1dfad Move ListAddMode PrefController key to constructor
Passes the key for the ZenModesListAddModePreferenceController into the
constructor, to be supplied from the Fragment.

Flag: android.app.modes_ui
Bug: 361144180
Test: atest ZenModesListAddModePreferenceControllerTest
Change-Id: I23d5c11f8676b9ed2bde807e24f20346444e7963
2024-09-17 16:15:00 +00:00
Diya Bera
5335e26b29 (1/N) Biometric error dialog
Add an error dialog to help user recover from biometric error for
identity check feature

Flags: android.hardware.biometrics.flag.mandatory_biometrics
Fixes: 358641110
Fixes: 358179610
Test: atest DevelopmentSettingsDashboardFragmentTest

Change-Id: I6099bc57672b945fa4fa4de98be35bd097403b22
2024-09-17 14:45:51 +00:00
yumeichen
23bba426b5 Hide the Default Notification Sound if enabling customized vibration
Flag:com.android.server.notification.notification_vibration_in_sound_uri
Test: atest NotificationRingtonePreferenceControllerTest
Bug: 358525376

Change-Id: Ic7517828df746700ceb6e0605a9d32066c7aed50
2024-09-17 14:38:02 +00:00
Alexander Roederer
3791aa5ee9 ZenModesListAdd extend BasePreferenceContoller
Makes ZenModesListAddModePreferenceController extend
BasePreferenceController. This should fix warning statements, and has
the effect of adding "Create your own mode" to the Settings Search menu.

Test: build+flash
Bug: 361144180
Flag: android.app.modes_ui
Change-Id: Ic8675420b831818f658506f36938f38e803cc9aa
2024-09-17 03:20:39 +00:00
Bill Yi
636e90be58 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-16 19:03:34 +00:00
Bill Yi
5986cfb155 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-16 19:03:34 +00:00
Jacky Wang
1aa2c77730 Create dedicated aconfig folder for catalyst
There will be lots of flags for catalyst, create a dedicated aconfig
folder to maintain the catalyst flags.

Bug: 335132588
Flag: EXEMPT Move aconfig flag
Test: Presubmit
Change-Id: I3806320b16b464e29311d74a3941b40ce5051702
2024-09-17 01:31:26 +08:00
Pat Manning
4a552541aa Style changes for Pointer fill color settings.
Fix: 362455374
Test: Manual. Visual Changes only.
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Id7a9d7eef540ea33f6bb47451b3d5c25328f9707
2024-09-16 14:01:55 +00:00
Dennis Shen
8427d5d2a8 Merge "Replace system_ext container with system" into main 2024-09-16 12:20:17 +00:00
Treehugger Robot
16b9831831 Merge "Avoid launching captive portal pages when uri is empty" into main 2024-09-16 10:40:36 +00:00
Weng Su
0256fe816d Avoid launching captive portal pages when uri is empty
- If uri is empty it will cause ActivityNotFoundException when calling startActivity

Bug: 363782926
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiDetailPreferenceController2Test

Change-Id: I48b9a53afe08a7c5e8e512c1961d6aea22a12a21
2024-09-16 17:05:10 +08:00
Treehugger Robot
1e733f0177 Merge "Support flagging for PreferenceScreenCreator" into main 2024-09-14 16:46:19 +00:00
Jacky Wang
7630a4ca95 Support flagging for PreferenceScreenCreator
Bug: 335132588
Flag: com.android.settingslib.flags.settings_catalyst
Test: Presubmit & Local test
Change-Id: I8e1d8ee679c84401bfcfcfb21f221a619257f6a2
2024-09-14 23:18:33 +08:00
Yiyi Shen
e1faf0c8a9 Fix text alignment in RTL mode for volume sliders
The volume bars with layout preference_volume_slider won't align title text right in RTL mode (Force RTL layout direction is Developer options),
e.g. Sound & vibration page, Audio sharing page.

Test: manual
Bug: 359514080
Flag: EXEMPT minor layout change
Change-Id: I43daa46438e3fa0a879d831a97d05b31c7dcb52f
2024-09-14 08:16:48 +00:00
Yiyi Shen
7006151729 [Audiosharing] Add strings for loading state and error handling
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Bug: 362858894
Change-Id: I9a10b1954e5d0924cf0799db01842fff4be73ed0
2024-09-14 14:00:32 +08:00
Chaohui Wang
eff7ddf339 Not set subId for Wi-Fi data usage
Otherwise the DataUsageList page will be closed since no active sub has
id = 0.

Bug: 348118234
Flag: EXEMPT bug fix
Test: manual - on DataUsageSummary
Test: atest DataUsageSummaryTest
Change-Id: Ic8387e4fbfe0f0027e87e545be9d7e92ae771136
2024-09-14 12:43:11 +08:00
Treehugger Robot
428829bfc5 Merge "Provide installed a11y services/activities from dynamicRawData for search" into main 2024-09-13 20:19:40 +00:00
Treehugger Robot
02b60ddb14 Merge "[AudioStream] Hysteresis mode support" into main 2024-09-13 18:47:47 +00:00
Matías Hernández
5dedf28f66 Merge "Remove "Do Not Disturb" from Sound summary in Settings top screen" into main 2024-09-13 18:46:25 +00:00
Bill Yi
30ecd5d263 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I10b3de902bb6816c4249cc175e8ecca5670e7094
2024-09-13 11:30:07 -07:00
Bill Yi
582e4fe856 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I827e4a7e82da9e5fa04dd222f3058f15a567ff38
2024-09-13 11:27:33 -07:00
Matías Hernández
46744e40f0 Merge "Rename usages of ZenRule.isAutomaticActive() to isActive() in Settings" into main 2024-09-13 17:43:29 +00:00
Rongxuan Liu
2c3f54c5e3 [AudioStream] Hysteresis mode support
Flag: com.android.settingslib.flags.audio_sharing_hysteresis_mode_fix
Test: atest com.android.settings.connecteddevice.audiosharing.audiostreams
Test: manual test with broadcast hysteresis mode
Bug: 355222285
Bug: 355221818
Change-Id: If3a1fbdc391eeda6979868829bc00c435a43c329
2024-09-13 17:14:01 +00:00
Dennis Shen
6e1b274f03 Replace system_ext container with system
Bug: b/365135457
Test: m
Flag: EXEMPT refactor
Change-Id: I574c5971e93172b3919b5676f917761d77aa0841
2024-09-13 12:42:21 +00:00