Commit Graph

143690 Commits

Author SHA1 Message Date
Diya Bera
8444136cd3 Merge "(1/N) Biometric error dialog" into main 2024-09-17 23:57:50 +00:00
Android Build Coastguard Worker
3b91412668 Snap for 12378824 from ad856d326f to 24Q4-release
Change-Id: I384501a1d8990fac19ac77ff6e729cbc7786b5c3
2024-09-17 23:23:24 +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
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
Android Build Coastguard Worker
911cab80ea Snap for 12373988 from 636e90be58 to 24Q4-release
Change-Id: I07480bc35dc29f0f859a67b1b9e35fece241bc1e
2024-09-16 23:21:45 +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
Android Build Coastguard Worker
0a403f7af7 Snap for 12369952 from 1e733f0177 to 24Q4-release
Change-Id: Ib64188a1c39a457f9bd684854117879d85aaf757
2024-09-14 22:56:32 +00: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
Android Build Coastguard Worker
ba863ca150 Snap for 12368321 from 428829bfc5 to 24Q4-release
Change-Id: I657935e185a2cf0d3543c26f0e553ea87fcc5ec3
2024-09-14 01:22:08 +00: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
Jacky Wang
f6a573530e Move ObservablePreferenceFragment class
Bug: 365922551
Flag: EXEMPT Move class only
Test: Presubmit
Change-Id: I17851055b09d73b95e6adaafbe96f4375d5f637e
2024-09-13 20:39:59 +08:00
Matías Hernández
31e3f274d5 Fix existing DND Settings shortcuts to point to Modes
Fixes: 365545604
Test: atest ShortcutsUpdaterTest + manual (flag flip + reboot)
Flag: android.app.modes_ui
Change-Id: I28f7e3e69175e92611668fdfa655a817ffcc905e
2024-09-13 11:25:03 +00:00
Matías Hernández
939189bde8 Refactor shortcut updating, and do it on BOOT_COMPLETE
This CL shuffles quite a bit of code around, but the effective differences are:
* Unified shortcut updating code (language switch & backup restoration).
* Shortcuts are also updated on boot (flagged by MODES_UI which will need this).
* Removed usage of (long obsolete) AsyncTask.

A further CL will add some special-casing for the DND->Modes shortcut transition.

Bug: 365545604
Test: atest com.android.settings.shortcut + manual (switch language, reboot)
Flag: android.app.modes_ui
Change-Id: I30450d13cb05008d2a71ed89d4781eb81e5532b9
2024-09-13 12:16:46 +02:00
Haijie Hong
be7402b5bb Fix spatial audio toggle string
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I1e0e1191682576051b010e4c0dc34809cd1654f9
2024-09-13 09:36:53 +00:00
Matías Hernández
be15428df8 Merge "Use the Modes icon in the "dummy" ModesActivity" into main 2024-09-13 09:32:18 +00:00
Haijie Hong
237264fe56 Merge "Show highlight for device setting items" into main 2024-09-13 08:58:44 +00:00
Treehugger Robot
c37ea6a376 Merge "Customize Fingerprint enroll activities" into main 2024-09-13 06:04:35 +00:00
Chaohui Wang
958639b79c Merge "Create SimRepository" into main 2024-09-13 02:40:52 +00:00
Chun-Ku Lin
1e9c06c280 Merge "Load icon from correct package for Accessibility slices" into main 2024-09-13 00:21:35 +00:00
Android Build Coastguard Worker
2c93e6c816 Snap for 12361654 from f37570e46e to 24Q4-release
Change-Id: I8eb0b17ae5eea2c3bb31fc4f2c7a2cf16a31b2e6
2024-09-12 23:21:19 +00:00
Treehugger Robot
b041a687ca Merge "Uses placeholder and percentage formatter for seek bar state strings." into main 2024-09-12 22:41:52 +00:00