Commit Graph

143688 Commits

Author SHA1 Message Date
Chaohui Wang
73fb290969 Check DISALLOW_CONFIG_MOBILE_NETWORKS when search
If disallowed, not show mobile related search results.

Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search Mobile Settings
Test: atest MobileNetworkSettingsSearchIndexTest
Change-Id: I79b984f41f09dd9612bcd0c9942089756d5d365d
2024-09-23 11:17:55 +08:00
Yiyi Shen
302b26ff74 [Audiosharing] Show retry dialog when error occurs in start sharing
Errors including:
1. onBroadcastStartFailed
2. onSourceAddFailed

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858894
Change-Id: I0fe13bd675672c57219d0f6f3e735515a7ed7a06
2024-09-23 11:07:20 +08:00
Jacky Wang
b6a64e9958 Update color-check-baseline.xml
`repo upload --verify` fails on HardCodedColor check and ag/29447250
did not fix the issue.

Bug: 269100659
Flag: EXEMPT lint only
Test: repo upload --verify
Change-Id: Ie5462c0956a436f6dd0d5eb95c7b8ec0d3262321
2024-09-23 11:06:20 +08:00
Treehugger Robot
d1ced23c7f Merge "Support customized summary in Channel Notification" into main 2024-09-23 00:10:43 +00:00
arunvoddu
a604a6cee8 Changed the token from 'Add satellite messaging' to 'Learn More'.
Flag: EXEMPT bugfix
Bug: 367377460
Test: Verified the UI Manually
Change-Id: Ieba6dc32dbedaea98fe39a8bb081f3562d8eeb6e
2024-09-22 15:57:47 +00:00
Dongzhuo Zhang
6faf7da877 Merge "Add aconfig flag on contacts default account settings in the app settings page." into main 2024-09-20 23:03:30 +00:00
Dongzhuo Zhang
c047d1f275 Add aconfig flag on contacts default account settings in the app
settings page.

Test: m
Bug: 368126293
Flag: com.android.settings.flags.enable_contacts_default_account_settings
Change-Id: Id03fd406b4ee096ba0d08fe1f8f93e540b611f08
2024-09-20 21:48:10 +00:00
Adam Bookatz
f528660602 OnDeviceRecognition shows only profile group
Currently, if there are multiple users on the device, then the Settings
for OnDeviceRecognition show a chooser for all users on the device, with
only the users from the same profile group as the current user working.
It shouldn't even show the users from other profile groups; we fix that
here.

Bug: 361095700
Test: on a device with multiple users and profiles, made sure that only
users from the same profile group appeared
Flag: EXEMPT bugfix

Change-Id: I139e32a6a2cfede8d8a8abf573dcbaeede789f95
2024-09-20 13:20:17 -07:00
Treehugger Robot
a0e1262ecd Merge "Move identity check strings to framework" into main 2024-09-20 18:12:48 +00:00
Treehugger Robot
35fafa5ef4 Merge "Fix mode icon sharing in modes list" into main 2024-09-20 15:36:00 +00:00
Pat Manning
6ce743bc1f Merge "Add keywords to Pointer Scale previously associated with Large Pointer." into main 2024-09-20 13:48:37 +00:00
tomhsu
0af43e2609 [Satellite] Hide BT switch in Settings search when started Satellite.
Flag: EXEMPT bugfix
fix: 360142029
Test: Manual test passed.
Change-Id: Id1e52a80e86ce6bab1eab3708588208d7981b3aa
2024-09-20 12:20:09 +00:00
Alina Zaidi
8be12edf9c Merge "[dev_option] Use DesktopModeFlags from core instead of Shell" into main 2024-09-20 09:49:16 +00:00
Matías Hernández
58b04ae7cf Fix mode icon sharing in modes list
Modes sharing the same icon would also share the applied tint (e.g. all with the "active" tint even if only the last one of them is active).

(Although it should never happen, also removed a potential NPE for mode icons without ConstantState).

Fixes: 367131481
Test: manual
Flag: android.app.modes_ui
Change-Id: I56867783310ea57f2e92c866ff0b5b53ac86bf37
2024-09-20 11:47:59 +02:00
Allen Su
f5f9e9e3d2 Merge "[ToA] Remove ToA languages" into main 2024-09-20 09:45:23 +00:00
Allen Su
1da7265d68 [ToA] Remove ToA languages
Remove language in 24Q4 ROM to prevent leak

Flag: EXEMPT resource only update
Test: atest GtsSettingsTestCases:com.google.android.settings.gts.TermsOfAddressTest
      atest TermsOfAddressCategoryControllerTest
Change-Id: Ie019cf1a8462b72f6adf6ae9a35e0ecb420c2af1
2024-09-20 09:18:23 +00:00
yumeichen
4edaf1b804 Support customized summary in Channel Notification
Want to show the vibration name if customised vibration in channel notification is enabled. Therefore, need the summary function could be overrided.

Flag: com.android.server.notification.notification_vibration_in_sound_uri
Test: manual test
Bug: 351975435
Change-Id: I1fcd6deb3f176ef5943da59ae8861136d4a63f79
2024-09-20 08:51:58 +00:00
Yiyi Shen
e30a71635f Merge "[Audiosharing] Add strings for loading state and error handling" into main 2024-09-20 06:03:44 +00:00
Edgar Wang
3f2d009c66 Merge "Refactor layout of ProcessStatsPreference" into main 2024-09-20 05:51:54 +00:00
Treehugger Robot
edfa685f2a Merge "Use NATIVE SQLiteMode in Robolectric" into main 2024-09-20 04:34:23 +00:00
Bill Yi
11a819a5ae Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-20 03:31:42 +00:00
Bill Yi
b27164cffe Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-20 03:31:42 +00:00
Bill Yi
557d81384b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-20 03:31:42 +00:00
Treehugger Robot
29ab4e8ee5 Merge "[Catalyst] Initial integration for Android version screen" into main 2024-09-20 02:38:44 +00:00
Daniel Santiago Rivera
9ccb389b6d Use NATIVE SQLiteMode in Robolectric
As that is more consistent with the framework SQLite implementation.

Bug: 368395032
Flag: TEST_ONLY
Test: atest SettingsRoboTests
Change-Id: I367bd28fec7170c3727948ec65a3b56992a07267
2024-09-20 01:46:57 +00:00
Diya Bera
a60540afcc Move identity check strings to framework
Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 358641110
Bug: 358179610
Test: Manual

Change-Id: I8f9cc16a0ffc43655534663203ff4da6380fbc97
2024-09-20 00:40:43 +00:00
Treehugger Robot
6c584d7f42 Merge "Shorten the dark theme effect description in Modes Settings" into main 2024-09-19 17:14:27 +00:00
George Lin
1c08e5ca62 Merge "Adding launch source info in the wallpaper picker intent (1/3)" into main 2024-09-19 15:28:41 +00:00
Joshua Mccloskey
78c32b14dc Merge "Ensure udfps enroll view is visible" into main 2024-09-19 14:56:46 +00:00
George Lin
5406db9d6e Adding launch source info in the wallpaper picker intent (1/3)
When launching Wallpaper & Style from the settings search, we should
also append the launch source information to the intent.

The major purpose if for logging. So that we know then entrypoint of the
Wallpaper & Style app.

Test: Manually tested that the intent contains the extra we need
Bug: 368052505
Flag: EXEMPT bugfix
Change-Id: I9af663dad7cb79bfe74431e6a61cd34393e60dbd
2024-09-19 14:13:53 +00:00
Yiyi Shen
133fcf3dc5 Merge "[Audiosharing] Refine share then pair flow" into main 2024-09-19 13:29:37 +00:00
Treehugger Robot
4f6b56277c Merge "Fix crash when phone process has problem." into main 2024-09-19 13:04:54 +00:00
Jacky Wang
7a7fbd0126 [Catalyst] Initial integration for Android version screen
Bug: 365886251
Flag: com.android.settings.flags.catalyst_firmware_version
Test: Manual
Change-Id: I06a9ef31e86d30e405f8fed7e130f5298971c237
2024-09-19 20:42:36 +08:00
Matías Hernández
c6739e4914 Shorten the dark theme effect description in Modes Settings
Fixes: 367214085
Test: N/A
Flag: android.app.modes_ui
Change-Id: I598aab9a98e44cb78a8e486df135a55da4d8e8fc
2024-09-19 14:23:10 +02:00
Matías Hernández
97f06864f8 Don't add the "Events" mode anymore, and delete it if disabled
Fixes: 368227085
Test: atest ZenModeHelperTest
Flag: android.app.modes_ui
Change-Id: Idd5563505ca92463485b433e80f29bf3e0f98d39
2024-09-19 13:51:19 +02:00
tomhsu
56ff329900 Fix crash when phone process has problem.
- Phone process may not exist in some situation. It shall catch the
   exception to avoid Settings crash.

Flag: EXEMPT bugfix
fix: 365669913
Test: build pass
Change-Id: I2b95f46b8887a9c8416fb4a5724537ad27e86850
2024-09-19 11:37:02 +00:00
Treehugger Robot
2b9e976cbb Merge "Hide the Default Notification Sound if enabling customized vibration" into main 2024-09-19 10:07:01 +00:00
Alina Zaidi
76bbdd58ab [dev_option] Use DesktopModeFlags from core instead of Shell
Test: Current tests pass
Bug: 368055148
Flag: EXEMPT refactoring
Change-Id: I5f40bd1e00c0fdddfdeefc886e691c9b732387b8
2024-09-19 10:05:02 +00:00
Haijie Hong
54bd56f077 Merge "Disable toggles if isAllowedChangingState is false" into main 2024-09-19 09:47:05 +00:00
Haijie Hong
57b66a716f Merge "Fix spatial audio toggle string" into main 2024-09-19 09:22:12 +00:00
Haijie Hong
5f94ee807c Disable toggles if isAllowedChangingState is false
BUG: 343317785
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Iaf53773bd47c35b742dc81a30b5d2fe459e65878
2024-09-19 15:53:14 +08:00
Chaohui Wang
275fbccd47 Merge "Create MobileNetworkSummaryRepository" into main 2024-09-19 07:51:18 +00:00
Matías Hernández
38623b006f Merge changes I28f7e3e6,I30450d13 into main
* changes:
  Fix existing DND Settings shortcuts to point to Modes
  Refactor shortcut updating, and do it on BOOT_COMPLETE
2024-09-19 07:38:44 +00:00
Yiyi Shen
800f81c832 [Audiosharing] Refine share then pair flow
Currently when there is one active LEA headset and users toggle on the audio sharing, a dialog will pop up to ask users to pair new headset and share audio with it. After user click pair new device button on the dialog:

1. Route users to pair new device page.
2. If users pair an LEA headset, finish the pair new device page and
   auto add source to the headset with loading indicators on audio
   sharing page.
3. If users pair a classic headset, wait for timeout, pop up dialog
   saying the paired headset is not compatible for audio sharing and
   finish the pair new device page.

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 331892035
Change-Id: Ifb9579db0ef57d3a379cb5d17c66a604d1396bb4
2024-09-19 14:03:48 +08:00
Arun Voddu
f2335dc8f9 Merge "Fixed satellite icon tint color in Satellite Messaging screen" into main 2024-09-19 04:48:19 +00:00
Yiyi Shen
f71cb5466c Revert^2 "Fix text alignment in RTL mode for volume sliders"
This reverts commit 78ce35afc8.

Reason for revert: This change is not the culprit for b/367986833. The test can pass with this change: https://android-build.corp.google.com/abtd/run/L76900030006546930/

Change-Id: Ic13423f4ee7f4744526b11632edc4ee3795c4131
2024-09-19 03:50:57 +00:00
Bill Yi
a160739eb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ad36f3bbe74e1faf9bb0bff9722bb295cc7f84b
2024-09-18 15:43:22 -07:00
Bill Yi
952d40cc63 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d7b5fb779808c73f15b3447f4519e9c40e76fff
2024-09-18 15:41:06 -07:00
Bill Yi
11d8ccc006 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e4c893ff2575a57470d644facf5e883f5875940
2024-09-18 15:39:17 -07:00
Joshua McCloskey
6383e738d4 Spit up FingerprintManagerInteractor 2/N
Test: atest, screenshot tests passed
Flag: com.android.settings.flags.fingerprint_v2_enrollment
Change-Id: I1a2cf61290906e112a5a0129ef7ed3587d14de7e
2024-09-18 19:33:04 +00:00