Commit Graph

147772 Commits

Author SHA1 Message Date
Azhara Assanova
76b96fbb15 Fix default window type for Advanced Protection dialog
The previous window type FIRST_APPLICATION_WINDOW was incorrect and
could have caused the dialog to be dimmed and TalkBack to not be
focused. The current window type TYPE_APPLICATION fixes these issues by
correctly placing the dialog in the window hierarchy.

Bug: 404595933
Bug: 404439964
Bug: 353531691
Test: visual
Test: checked with TalkBack
Flag: EXEMPT bug fix
Change-Id: I520220c1527868b6fc928eaa35184ba9b0159e06
2025-03-19 07:18:08 -07:00
Haijie Hong
a58a764686 Merge "Scroll to top when opening more settings page" into main 2025-03-19 06:16:02 -07:00
Haijie Hong
7eacf7e6e6 Merge "Update tint of device details icon" into main 2025-03-19 04:42:16 -07:00
Haijie Hong
9ecaf7c2ae Merge "Add toast for bond loss" into main 2025-03-19 04:41:35 -07:00
Zaiyue Xue
bf5ea140f4 Merge "Support phonetype control for Settings Battery database retention time" into main 2025-03-19 04:35:46 -07:00
Haijie Hong
ce73cba979 Scroll to top when opening more settings page
Test: local tested
Flag: EXEMPT minor fix
Bug: 343317785
Change-Id: I5e90e4b1b3bcd5329c6574655ad6a3dee537438c
2025-03-19 04:28:25 -07:00
Haijie Hong
9c67a1003f Merge "Don't disable switch when changing status" into main 2025-03-19 04:27:28 -07:00
Treehugger Robot
6c59681445 Merge "[Satellite] Use satellite data mode for UX visibility" into main 2025-03-19 04:26:21 -07:00
Treehugger Robot
4d4c026080 Merge "[Catalyst] Add flags for 25Q3 sound screens" into main 2025-03-19 04:08:50 -07:00
Shawn Lin
97eb57186c Reland:Launch multiple biometric enrollment when no biometric is enrolled
When a user clicks the biometric item in the Device unlock page and no
biometric is enrolled:
- Fingerint clicked: Launch fingerprint enroll then face enroll.
- Face clicked: Launch face enroll then fingerprint enroll.

Also fixed work profile not working issue:
- Use BiometricEnrollActivity.InternalActivity to provide correct userId
  for work profile.
- Use the canAuthenticate() function that take userId as input.

Bug: 370940762
Test: atest FaceSafetySourceTest FingerprintSafetySourceTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I0800c5bb71cc3813e0336ed65898d099857175ef
2025-03-19 11:06:37 +00:00
Treehugger Robot
65a0e43a43 Merge "Fix force close in WiFi API test code" into main am: 4f52f40cf9 am: 8871bd5bb6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3534241

Change-Id: I016283e58365cffe98b9746edb0a1a8b98d16533
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-19 04:04:54 -07:00
Treehugger Robot
7f42d27cac Merge "[Catalyst] Add flag for Auto-rotate screen" into main 2025-03-19 04:01:02 -07:00
songferngwang
62163de585 Using current esim port of active esim slot
If there is no active esim and the active esim slot, then enabling esim
uses the active esim slot's port.

Bug: 394758842
Test: manual test
Flag: EXEMPT bugfix

Change-Id: Icd478a92662584d433e16b129da98204e9e2f5f3
2025-03-19 10:42:42 +00:00
Treehugger Robot
8871bd5bb6 Merge "Fix force close in WiFi API test code" into main am: 4f52f40cf9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3534241

Change-Id: I714fecd021705b20f821ebe558b30bcca51e2fb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-19 03:30:07 -07:00
Jason Chiu
6060c76b88 Apply different text style to highlighted homepage titles
Bug: 396946176
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Idf243d4f3f41070537338d9898e3ff91a7ee788a
2025-03-19 03:15:05 -07:00
Treehugger Robot
4f52f40cf9 Merge "Fix force close in WiFi API test code" into main 2025-03-19 03:04:14 -07:00
David Jacobo
076ed59b9b Merge "settings: Set explicit intent for legal info" into main 2025-03-19 02:55:53 -07:00
Zaiyue Xue
08a3aa7f33 Support phonetype control for Settings Battery database retention time
Bug: 404740486
Fix: 404740486
Test: atest
Flag: EXEMPT bug fix
Change-Id: Ifc9032e19a5b26e307d1426ea5c07de84e1613f4
2025-03-19 17:53:41 +08:00
Haijie Hong
1d2b0b9aa0 Don't disable switch when changing status
BUG: 404423669
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ie2d48b4f0bbb224e62d2746d260b1026022ebf01
2025-03-19 02:47:42 -07:00
tom hsu
dc788ed9d1 [Satellite] Use satellite data mode for UX visibility
- Use SatelliteManager#getSatelliteDataSupportMode() to check data
   restricted or not.

Flag: EXEMPT bug fix
Bug: b/401043401
Test: atest pass
Test: Manual test
Change-Id: I6f3e25610717eca0f6e871a9e1158422659058ea
2025-03-19 09:45:52 +00:00
Yiyi Shen
049835b568 [Audiosharing] Avoid dup volume control entries
Test: atest
Bug: 402384034
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I1c975a39106d50746c692586bf682301dd299f40
2025-03-19 17:45:33 +08:00
Sunny Shao
4bebfc4c59 [Catalyst] Add flag for Auto-rotate screen
Test: compile
Bug: 352179685
Flag: com.android.settings.flags.catalyst_auto_rotate
Change-Id: I2423d9a2a62a9796a147ae74e26955d0269621d5
2025-03-19 09:11:52 +00:00
Jason Chiu
590a364902 [Catalyst] Add flags for 25Q3 sound screens
Test: compile
Bug: 352179685
Flag: com.android.settings.flags.catalyst_sound_screen_25q3
Flag: com.android.settings.flags.catalyst_spatial_audio
Change-Id: I3295469a7c8d0eaf0eb5f73ba77931383b4b7cbb
2025-03-19 17:08:39 +08:00
Treehugger Robot
339367886d Merge "Settings: Start search result deep link in same task" into main 2025-03-19 01:02:31 -07:00
Yuanru Qian
0a4000d723 Merge "Update the audio sharing QR code logic to enable OEMs providing customized QR code image" into main 2025-03-19 00:24:22 -07:00
Haijie Hong
6c608b7e8a Merge "Show bond loss UI in device details" into main 2025-03-19 00:22:21 -07:00
Haijie Hong
2b0aee3a33 Merge "Update talkback when device is disconnected" into main 2025-03-19 00:22:10 -07:00
Treehugger Robot
08dec34389 Merge "[Satellite] Change footer format in satellite setting" into main 2025-03-19 00:18:02 -07:00
noshinmir
492e750c7c Use separate metric actions and tag id for wifi scorer and auto mobile network switch
Bug: 393645580
Flag: com.android.settings.flags.enable_nested_toggle_switches
Test: Build pass, presubmit

Change-Id: I65625603449b4a3b599ce6acf944c6467b0efcec
2025-03-18 23:28:10 -07:00
Haijie Hong
d6f7270748 Add toast for bond loss
Test: local tested, haven't find good way to add unit test for reflection.
Flag: EXEMPT minor fix
Bug: 380801155
Change-Id: Ia0d05ef933b0ae24077f31e4ff46c9948b99628a
2025-03-18 23:20:20 -07:00
tom hsu
9896b590d3 [Satellite] Change footer format in satellite setting
- Use controller base design instead of current

Flag: EXEMPT bug fix
Bug: b/401648126
Fix: b/402037025
Test: Manual test
Test: atest pass
Change-Id: Icb3fd6a1c5340e554593fc57cb238bf98d3ed0e3
2025-03-18 22:59:38 -07:00
Fan Wu
da96c12e9d Merge "[Catalyst] Add flag for Tether screen 25q3 release" into main 2025-03-18 22:54:27 -07:00
Haijie Hong
a4d68b6ac2 Update tint of device details icon
Test: local tested
Flag: EXEMPT minor fix
Bug: 343317785
Change-Id: I33bbc1aa5ea920fc9799ab489d59609aecf4365a
2025-03-18 22:07:52 -07:00
Sunny Shao
b6e34d2c9f Merge "[Catalyst] Add multiple flags for 25Q3" into main 2025-03-18 22:03:58 -07:00
Haijie Hong
ab32535297 Update talkback when device is disconnected
Test: local tested
Flag: EXEMPT minor fix
Bug: 404422637
Change-Id: If69b728d07f13d557ba2318af9eaf794311cc683
2025-03-19 12:45:45 +08:00
David Jacobo
617cc51bdb settings: Set explicit intent for legal info
This CL sets the full component for the Settings intent that opens
"Legal information->Third-party...".

Bug: 300111126
Test: make -j64 SettingsRoboTests
Test: create ika environment, manually open legal info.
Flag: EXEMPT bug fix

Change-Id: I3169620c0f2ff78a39b456597384a9738bc38a9f
2025-03-18 21:13:13 -07:00
Wes Okuhara
cf2bcd7f1a Settings: Start search result deep link in same task
This fixes a bug where the deep link initiated from a search result
would open the results page in a separate window. The root cause was the
inclusion of the FLAG_ACTIVITY_NEW_TASK intent flag.

Bug: 381127948
Test: atest SettingsSpaUnitTests:com.android.settings.activityembedding
Test: atest CtsSettingsTestCases:SettingsMultiPaneDeepLinkTest
Test: Manually verify UI
Flag: com.android.settings.flags.settings_search_result_deep_link_in_same_task
Change-Id: I91f9e5096ad02bd87e43bae03a2b3e69256be651
2025-03-18 21:12:08 -07:00
Fan Wu
12602faf71 [Catalyst] Add flag for Tether screen 25q3 release
Bug: 352179685
Test: NA
Flag: com.android.settings.flags.catalyst_tether_settings_25q3
Change-Id: Ia65214550e4ae40b59a545f6a3bacaa22bc844b0
2025-03-18 21:02:15 -07:00
Jason Hsu
1f8cd5ecc2 Merge "Update string id to use generic 'Done' button" into main 2025-03-18 20:28:22 -07:00
Daniel Huang
44a205b6a5 Merge "Improve dialog popup" into main 2025-03-18 19:47:22 -07:00
Android Build Coastguard Worker
93278a6b67 Snap for 13235988 from 4bc471f61e to 25Q2-release
Change-Id: Ifc3e397531aca70c7a40287ada0a08b0eb54bb60
2025-03-18 18:19:10 -07:00
Nate Fischer
c11576fe2d WebView: defend against null array
This guards against iterating over a null array. This scenario should
never happen on user devices, however we know it can happen if you
install a trunk-staging build of the settings app on top of a nextfood
device configuration. This happens because of a flag mismatch
(updateServiceIpcWrapper is enabled in the trunk-staging app but the
service is not implemented by a nextfood platform build).

This is a low risk change since we know users cannot usually get into
this state.

Fixed: 391725109
Test: N/A - this bug is not possible in any configuration we test
Flag: EXEMPT bugfix
Change-Id: I654e0be5ad94e769cd8325ce5d20d241a4a13c13
2025-03-18 14:11:55 -07:00
Bill Yi
445db9936b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6c9bd9a42fd61e7ec570c8288f7a7e313590ff72
2025-03-18 13:51:16 -07:00
Bill Yi
cf71586a1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6b7059865262905cd350b495b4675cf57280597e
2025-03-18 13:49:15 -07:00
Bill Yi
edb65dbd6d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iba3812000a2442dad525ba2483ec382f85426c78
2025-03-18 13:47:38 -07:00
Android Build Coastguard Worker
06baa0c198 Merge cherrypicks of ['googleplex-android-review.googlesource.com/32404081'] into 25Q2-release.
Change-Id: I980d8a9f1aeaa6a2c9db04139daf2f02efd34f19
2025-03-18 08:48:30 -07:00
Bill Lin
2e8d1fa67c Revert "Launch multiple biometric enrollment when no biometric is enrolled"
This reverts commit c4ee2b83e5.

Reason for revert: b/404133188
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cb181c50b5b0a04f7aec81aaa96657ca5c22c611)
Merged-In: I523ab1cc638ac9782a6b60a7f640f620bb3aae22
Change-Id: I523ab1cc638ac9782a6b60a7f640f620bb3aae22
2025-03-18 08:48:14 -07:00
Haijie Hong
4bc471f61e Merge "Move enable/disable LE Audio to Utils" into main 2025-03-18 07:25:17 -07:00
Haijie Hong
1ac71efdc4 Merge "Check bond state when bluetooth key is missing" into main 2025-03-18 07:24:52 -07:00
Shivangi Dubey
f01555e294 Merge changes from topic "integrate-auto-rotate-manager" into main
* changes:
  Refactor ShadowDeviceStateAutoRotateSettingManager
  Integrate refactored device-state auto-rotate setting manager
2025-03-18 06:48:17 -07:00