Commit Graph

147497 Commits

Author SHA1 Message Date
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
Yiyi Shen
16fa7c1e33 Merge "[Audiosharing] Use metadata from callback to add source" into main 2025-03-18 01:47:42 -07:00
Yiyi Shen
383d2c165e [Audiosharing] Use metadata from callback to add source
Instead of query metadata from LocalBluetoothLeBroadcast. In some corner
case, LocalBluetoothLeBroadcast receive callbacks later than Settings
app so it can not return latest metadata.

Test: atest
Flag: EXEMPT small fix
Bug: 402199690
Change-Id: I0d1d36d0e594dc997b05b2f1d302ce1e2787990a
2025-03-18 14:39:04 +08:00
Mir Noshin Jahan
54804166e4 Merge "Add Settings contract keys for adaptive Wi-Fi and mobile network toggle switches" into main 2025-03-17 20:19:58 -07:00
Treehugger Robot
1905834638 Merge "[Satellite] Add log for the bug analysis" into main 2025-03-17 17:26:12 -07: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
tom hsu
e845919cbf [Satellite] Add log for the bug analysis
Flag: EXEMPT bug fix
Bug: b/404265450
Test: Manual test
Change-Id: I05a01151615437603ba71e3d3021a9d4f0da069a
2025-03-17 19:36:47 +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
4a048a361b Merge "Change storage_summary string id to fix crash" into main 2025-03-17 06:35:51 -07:00
Treehugger Robot
51a7f2c109 Merge "[Satellilte] Remove dynamic string of messaging and connectivity" into main 2025-03-17 06:05:57 -07: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
tom hsu
006007446b [Satellilte] Remove dynamic string of messaging and connectivity
Flag: EXEMPT bug fix
Bug: b/401648126
Test: Manual test.
Change-Id: I3ec28cfa2a05b421f19918414af8e75c5c0b224e
2025-03-17 11:28:02 +00:00
Yiyi Shen
c41fc92733 Merge "Move setScanMode to background thread to avoid ANR" into main 2025-03-17 02:58:02 -07:00
Treehugger Robot
94ca67cfbc Merge "Remove hardcoded color for dynamic items" into main 2025-03-17 02:12:06 -07:00
Yiyi Shen
c79e14a2fd Move setScanMode to background thread to avoid ANR
Test: atest
Bug: 397951829
Flag: EXEMPT small fix
Change-Id: I6450fc9cef1cfea3bb940e5d37a552df1f75dd23
2025-03-17 16:42:09 +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
Daniel Norman
998eea6957 Merge changes Ie00cdf3e,I0bb03792 into main
* changes:
  workaround(expressive): Fix padding issues Setup > Vision settings
  feat(expressive): Remove the `Done` button for expressive SUW on Vision settings.
2025-03-14 15:53:02 -07:00
Chun-Ku Lin
f5cc0119ee workaround(expressive): Fix padding issues Setup > Vision settings
- Works around issue where Setup and Settings libraries are clashing
  when applying their new expressive themes at the same time.
- Updates illustration prefs to match parent width. Otherwise this new
  padding workaround causes the images to get clipped.

Fix: 390545391
Bug: 400479388
Test: manual only; see screenshots
Flag: EXEMPT using custom flagging from Setup ThemeHelper lib
Change-Id: Ie00cdf3e68a2ff7c40aedd04eb5bed0adaa9cf84
2025-03-14 14:00:04 -07: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
Daniel Norman
f257978cee feat(expressive): Remove the Done button for expressive SUW on Vision settings.
This button is not included in expressive SUW mocks on this page.

Fix: 346560989
Test: visual-only change; observe button is gone
Flag: EXEMPT using custom SUW expressive flagging
Change-Id: I0bb0379241c941b29151c5cf5f25ad130cc5a8ed
2025-03-14 11:17:17 -07:00
Treehugger Robot
8ba39ac1bd Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:44 -07:00
Treehugger Robot
f1313205fb Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-14 09:49:44 -07:00
Jason Chiu
3b32efc316 Remove hardcoded color for dynamic items
Bug: 403063643
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I42bbcc6a155feb1fd6576af5b1aac0d8fd07583a
2025-03-14 06:47:45 -07: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
Bill Yi
ba63c3bd6b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c18ead68a734a5e19dfb7cd54d416f12085e9e4
2025-03-14 01:17:19 -07:00
Bill Yi
4e4d0062e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibcb5258754809359206afd10309f0059498e4557
2025-03-14 01:15:19 -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
Treehugger Robot
504218a317 Merge "Use ButtonPreference for consistent style" into main 2025-03-13 23:54:09 -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
Annemarie Apple
30cc4181c6 Merge "Update the strings to match the display names" into main 2025-03-13 22:46:21 -07:00