Commit Graph

24256 Commits

Author SHA1 Message Date
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
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
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
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
Daniel Huang
44a205b6a5 Merge "Improve dialog popup" into main 2025-03-18 19:47:22 -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
Bill Lin
20df11e9ca Merge "Revert "Launch multiple biometric enrollment when no biometric is enrolled"" into main 2025-03-18 05:15:37 -07:00
Haijie Hong
a333827d6d Move enable/disable LE Audio to Utils
Bug: 381353150
Test: atest UtilsTest
Flag: EXEMPT minor refactor
Change-Id: Id017f2b5a0f51d19878bf91b219334baeda97d6d
2025-03-18 19:44:47 +08:00
Shivangi Dubey
9e3b9146dd Refactor ShadowDeviceStateAutoRotateSettingManager
Update ShadowDeviceSttaeAutoRotateSettingManager as per the latest changes to DeviceStateAutoRotateSettingManager.
Test: atest DeviceStateAutoRotateSettingControllerTest
Bug: 394303723
Bug: 394303731
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor

Change-Id: I8ea694709ccfd08310b241713b5ec67f2e070e2c
2025-03-18 04:03:43 -07:00
Haijie Hong
fc10fdf30b Check bond state when bluetooth key is missing
Bug: 403847818
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I3f310b5758ebecd7591d76988b351d3c6a7dfc67
2025-03-18 18:56:24 +08:00
Allen Su
e8bd9e66b8 Improve dialog popup
1. Disable dialog when the sys language doesn't change
2. Associate region with system locale

Bug: 402600866
Test: atest LocaleListEditTest
Flag: EXEMPT bugfix
Change-Id: I2c7ddbf89b6caa02a35e247ebe97086f5880adee
2025-03-18 10:37:37 +00:00
Bill Lin
cb181c50b5 Revert "Launch multiple biometric enrollment when no biometric is enrolled"
This reverts commit c4ee2b83e5.

Reason for revert: b/404133188

Change-Id: I523ab1cc638ac9782a6b60a7f640f620bb3aae22
2025-03-18 03:28:08 -07:00
Haijie Hong
519f1752f0 Show bond loss UI in device details
Bug: 380801155
Test: atest BluetoothDetailsFragmentTest
Flag: EXEMPT minor change
Change-Id: I458778e1a3adde4ec1ddd8b84b8dc7f1d91621f5
2025-03-18 11:41:52 +08:00
Xiaomiao Zhang
2897cf5def Add SafeSearch content filters preference.
Test: atest SupervisionSafeSearchPreferenceTest
Test: locally deployed on physical device
Bug: 401569571
Flag: android.app.supervision.flags.enable_web_content_filters_screen
Change-Id: Ia889c4c8f4df8d1b714909b19a7e0b5ef40154cf
2025-03-17 19:49:43 +00:00
Shivangi Dubey
b830e703f3 Integrate refactored device-state auto-rotate setting manager
Added DeviceStateAutoRotateSettingManagerProvider to provide appropriate implementation of DeviceStateAutoRotateSettingManager based on flag.
Integrate DeviceStateAutoRotateSettingManagerImpl to be used when auto-rotate refactor flag is ON.
For more info:go/auto-rotate-refactor
Bug: 394303723
Bug: 394303731
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor
Test: atest DeviceStateAutoRotateSettingManagerProviderTest

Change-Id: I63494b6548f1f533a9a1979f2b19640c3ad1dc8d
2025-03-17 18:28:02 +00:00
Xiaomiao Zhang
4d0be536c7 Create data store for supervision safe sites preference.
Test: atest SupervisionWebContentFiltersScreenTest
Test: atest SupervisionSafeSitesPreferenceTest
Test: deployed locally to a physical device
Flag: android.app.supervision.flags.enable_web_content_filters_screen
Bug: 401568468
Change-Id: I7fe8a9c5932b4c8f63c4067ba6914eb73d0e2373
2025-03-17 17:55:57 +00:00
Treehugger Robot
a9ef330701 Merge "Move the content description for Display size and text preview to xml" into main 2025-03-17 10:47:30 -07:00
Tom Hsu
4829391574 Merge "[Satellite] Remove useless unitest" into main 2025-03-17 09:33:17 -07:00
Treehugger Robot
1bb0fe126f Merge "[Satellite] Refactor code to controller base." into main 2025-03-17 08:34:53 -07:00
tom hsu
9757bd2d5f [Satellite] Remove useless unitest
Flag: EXEMPT bug fix
Bug: b/387596751
Test: atest pass
Change-Id: I26c676b36ebfd6727b69adadb753e3c2697c8780
2025-03-17 14:34:32 +00:00
tom hsu
f0efc2e363 [Satellite] Refactor code to controller base.
- Your mobile plan

Flag: EXEMPT refactor
Bug: b/403149290
Test: atest pass
Change-Id: Ia21f3d8b301401799263a1a2b43d82e9a46729a5
2025-03-17 13:52:58 +00:00
Jacky Wang
91dab36efd Change storage_summary string id to fix crash
ag/32322018 reverts storage_summary string for default locale but other
languages might be still using stale translations and cause
MissingFormatArgumentException crash.

As a quick fix, change the string id to make it as a new string. The
side-effect is that storage summary is not localized for a while.

Fix: 404116634
Flag: EXEMPT bugfix
Test: Verified with zh_TW locale
Change-Id: I5d7d6be2c1eb524622f1013120cb44403b1f6f29
2025-03-17 19:41:57 +08:00
Mir Noshin Jahan
b96eb497da Merge "Add Wi-Fi and adaptive mobile network (5G PM) toggle event in Adaptive Connectivity UX" into main 2025-03-16 23:18:27 -07:00
Treehugger Robot
3c6c586407 Merge "[Satellite] Move entitlment check to auto type only." into main 2025-03-16 22:56:23 -07:00
Treehugger Robot
b08aeb717c Merge "Fix test failed due to wrong string." into main 2025-03-16 22:51:19 -07:00
Yiyi Shen
470f275feb Merge "[Audiosharing] Use getBroadcastToUnicastFallbackGroup to get primary" into main 2025-03-16 22:15:17 -07:00
tom hsu
6828692238 Fix test failed due to wrong string.
Flag: EXEMPT bug fix
Fix: b/404076543
Test: atest pass
Change-Id: Id1152aeed25cb2956b54a9071a0a76bc2a938b15
2025-03-17 04:41:06 +00:00
tom hsu
7ca28dd3d6 [Satellite] Move entitlment check to auto type only.
Flag: EXEMPT bug fix
Bug: b/401648126
Test: atest pass
Change-Id: Ide6f8520b5e1e60f700586ef00970a4f55f5babe
2025-03-17 03:52:02 +00:00
Candice
526dacdc82 Move the content description for Display size and text preview to xml
Bug: 395882764
Test: atest TextReadingPreviewControllerTest
Test: atest TextReadingPreviewPreferenceTest
Flag: EXEMPT BUGFIX
Change-Id: I070ec2b9b39a205fd3a97636f0c45fb50b670049
2025-03-17 03:02:32 +00:00
Treehugger Robot
accbe2362a Merge "Screen Resolution: add space for 4-digit values" into main 2025-03-14 13:28:57 -07:00
Vadym Omelnytskyi
14050c89f5 Screen Resolution: add space for 4-digit values
Add logic that composes screen resolution string with non-breaking
spaces. Now setting page will show "1 080 x 1 280" instead of "1080 x
1280"

Test: atest -c <SETTINGS_APP_PATH>/tests/unit/src/com/android/settings/display/ScreenResolutionFragmentTest.java
Test: verified on device
Flag: EXEMPT no API change
Bug: 385895191
Change-Id: I9a4bbd7c20e8c700dee6e997a36d4fda69f4d780
2025-03-14 18:52:45 +00:00
Weng Su
040e2a867a Fixed accessibility issues in Wi-Fi password view in Settings
- Keep the Save button enabled at all times

- Show "*required" or "The password is invalid" to remind the user
  - Show "Password (optional)" to indicate that it can remain unchanged, when modifying Wi-Fi configuration

Bug: 386897596
Bug: 402694144
Flag: EXEMPT bugfix
Test: Manual testing
  atest SettingsUnitTests:AddNetworkFragmentTest
  atest WifiConfigControllerTest \
        WifiConfigController2Test \
        WifiDialogActivityTest
Change-Id: I09b7684674ff376139565fcc196cde8d8d20a864
2025-03-14 21:05:16 +08:00
Treehugger Robot
cec2696f62 Merge "Revert "L10n fix for IW locale in storage_summary string"" into main 2025-03-14 03:09:18 -07:00
Jason Chiu
54c9bffa9f Merge "Support icon color scheme for homepage injections" into main 2025-03-14 02:48:57 -07:00
Treehugger Robot
078fcd0925 Merge "[Satellite] Refactor about content of Satellite setting" into main 2025-03-14 02:22:41 -07:00
Treehugger Robot
594062970c Merge "Use WaitForDeviceAvailable" into main 2025-03-14 01:24:58 -07:00
Garvita Jain
76943a5b1d Revert "L10n fix for IW locale in storage_summary string"
This reverts commit 4e5595050f.

Reason for revert: <Settings crash in Beta 3>

Change-Id: Icb882eef67904ebbe2ecd3d1eb6620e64453d23b
2025-03-14 01:08:30 -07:00
Garvita Jain
d987500c52 Merge "Revert "[L10n fix] Use whitespace regex for splitting string by delimiter."" into main 2025-03-14 01:02:05 -07:00
tom hsu
c19341db32 [Satellite] Refactor about content of Satellite setting
Flag: EXEMPT refactor
Bug: b/403149290
Test: Manual test pass
Test: atest pass
Change-Id: I55868869a9442648995343c857758c23fe358bc2
2025-03-14 07:42:27 +00:00
Treehugger Robot
b4a1d57206 Merge "[Satellite] Move satellite setting related code to a folder" into main 2025-03-14 00:16:07 -07:00
Pawan Wagh
cc282f8470 Use WaitForDeviceAvailable
WaitForDeviceOnline doesn't gurantee that device
can execute commands

Test: atest -c Enable16KbTest
Bug: 401597066
Change-Id: Icf55035ebe4b4a028892dc22665dafc8a5b492b4
2025-03-14 06:46:47 +00:00
Jason Chiu
3e064619ec Support icon color scheme for homepage injections
Bug: 402607181
Test: visual, atest SettingsRoboTests:DashboardFeatureProviderImplTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Iac6434864c38b08e2a35cc58f910a3cf1a6dc113
2025-03-14 14:34:36 +08:00
Haijie Hong
fe3cf14287 Merge "Update dialog UI for bonding loss" into main 2025-03-13 20:32:26 -07:00
Garvita Jain
0cac1c2b43 Revert "[L10n fix] Use whitespace regex for splitting string by delimiter."
This reverts commit 08e18d6241.

Reason for revert: <Followup to splitting freespace string>

Change-Id: I169abdd990d94d6a04d0a500b9802ff438c21876
2025-03-13 20:15:41 -07:00
Treehugger Robot
b09e60e9bd Merge "Customize Max Screen Timeout" into main 2025-03-13 20:14:55 -07:00
Adrian Roos
3ab16de602 Merge "packages/apps/Settings: remove usages of deprecated Mockito matchers" into main 2025-03-13 13:31:54 -07:00