Commit Graph

145881 Commits

Author SHA1 Message Date
Sunny Shao
34ff37e91c [Catalyst] Implement get{Read,Write}Permissions for Dark theme
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385271120
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I09cae1d99d149cc7c481080388c6d44088e857c2
2024-12-23 15:36:52 +08:00
Jacky Wang
6291dd79e6 Fix flaky LifecycleAwareAsyncTaskTest
Fix: 385137513
Flag: TEST_ONLY
Test: atest SettingsRoboTests:LifecycleAwareAsyncTaskTest --rerun-until-failure 500
Change-Id: I269d2fa1c63e0b805d7d1b0710919f60c2096ec0
2024-12-23 15:31:45 +08:00
Sunny Shao
973e13a885 [Catalyst] Implement get{Read,Write}Permissions for Remove Animation
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385276024
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Change-Id: I8fc8006151c52856140ca595dfbf9079166eec40
2024-12-23 15:05:44 +08:00
Zoey Chen
749103ff8e [Settings] Add feature flag for new UI
Bug: 385659296
Change-Id: Iaab6a60f72a5e79d44de69770622ee2a577a8175
Flag: com.android.settings.flags.settings_expressive_design_enabled
Test: manual
2024-12-22 22:45:46 -08:00
Chaohui Wang
d830acf625 Send initial status for wifiStateFlow
To make sure this flow is never empty, use unknown as default.

Fix: 383050153
Flag: EXEMPT bug fix
Test: manual - on Network & internet
Test: unit test
Change-Id: Iaa421749ab917ebc651a95ccdf1a4ab1cb9ba112
2024-12-23 11:50:51 +08:00
Jacky Wang
6d9de7840f [Catalyst] Simplify RemoveAnimationsPreferenceTest
Bug: 373451690
Flag: TEST_ONLY
Test: atest
Change-Id: Idc64a811d97b5fd3047ad4167b98da5b97c0fee0
2024-12-23 10:23:46 +08:00
Menghan Li
9aa9199f08 feat(EDT): Migrate entry into Display Settings
The EDT toggle will be an subsetting in the DarkTheme settings page
- When the Dark Theme main toggle is on, we check the EDT setting to
decide applying normal DarkTheme or EDT now.
- The EDT preference is disabled when DarkTheme is off

Bug: 368721320
Flag: android.view.accessibility.force_invert_color
Test: atest ToggleForceInvertPreferenceControllerTest
            DarkModeSettingsFragmentTest
Change-Id: I64e47f92b14ee24a91f469cb55c7bb1285f05c62
2024-12-23 00:05:23 +00:00
Qiang Chen
7abc384e33 Show GSM settings with CDMA phone type
Phone type may be changed to CDMA if no SIM is in this sub and will not
show GSM settings in current design, so remove sub info check for
showing GSM settings.
Show GSM settings if the current radio can support both 3GPP and 3GPP2
radio technologies at the same time.

Bug: 278178437
Test: Manaul

Change-Id: I4f8cbfcdcff8f74944e2ba9a79b0945be6dd6ebd
2024-12-22 17:46:53 +05:30
Vladimir Komsiyski
18fe317f1d Merge "VDM Settings" into main 2024-12-20 23:46:44 -08:00
Rupesh Bansal
99b6ebb402 Merge "Changing eventFlags to eventFilter" into main 2024-12-20 21:25:48 -08:00
Bill Yi
beb3846356 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c67555f2cc94d0e6139ab6dc6d5a6de729ac695
2024-12-20 15:52:41 -08:00
Bill Yi
375bc2b6b4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11479ed283ff52aa193d95eae7050ecb0fc6141f
2024-12-20 15:50:23 -08:00
Kyle Zhang
a538d07519 Merge "Fix force L3 preference unit test" into main am: 3874c11b94 am: 8d7fc7232b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3426487

Change-Id: I5a86b61ebee69fb52b4bc7bcf83e901d1aeab300
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-20 15:26:40 -08:00
Solti
5a3cfb9f0c Disable ANGLE as system GLES dev option
This change prevents the feature from being inadvertently exposed to the
wider user base while it undergoes further refinement and stabilization
for a smoother user experience.

Test: atest SettingsUnitTests:com.android.settings.development.graphicsdriver.GraphicsDriverEnableAngleAsSystemDriverControllerJUnitTest
Test: locally build Husky and confirm the dev option is disabled, even
with the "debug.graphics.angle.developeroption.enable" prop set.
Flag: EXEMPT bugfix
Bug: b/384047927

Change-Id: I160840a25d38bf305871d7e146745df0d56f0227
2024-12-20 23:06:49 +00:00
Kyle Zhang
8d7fc7232b Merge "Fix force L3 preference unit test" into main am: 3874c11b94
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3426487

Change-Id: I534c0a3f718ae7197c7a043f4c1709aa5e73014c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-20 15:02:22 -08:00
Kyle Zhang
3874c11b94 Merge "Fix force L3 preference unit test" into main 2024-12-20 14:18:22 -08:00
Chris Antol
6877d115e5 Support IntRange of value in PrefService
Bug: 384955673
Test: unit test
Flag: com.android.settingslib.flags.settings_catalyst
Change-Id: I0d5f67541ee48d758fc8fd0e38fe4c348127017c
2024-12-20 21:59:44 +00:00
Pat Manning
27bf7fc326 Merge "Increase touch target of pointer stroke preference options." into main 2024-12-20 09:36:43 -08:00
Jaewan Kim
614074e5c7 Hide Linux terminal if VM isn't supported
Bug: 385216798
Test: atest
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I06fe52cf877deb3cd9ebc61af1579931b97d7766
2024-12-21 00:31:55 +09:00
Pat Manning
9e93a0df64 Increase touch target of pointer stroke preference options.
Fix: 374886964
Test: Manual. TalkBack.
Flag: EXEMPT Bugfix.
Change-Id: I10ba80b26be5444096e6f81d1d2c12f3eb46b1ff
2024-12-20 07:26:47 -08:00
Treehugger Robot
54653364bc Merge "[Catalyst] Refine Wi-Fi preferences" into main 2024-12-20 06:56:56 -08:00
Weng Su
9d83ce76ba [Catalyst] Refine Wi-Fi preferences
- Use application context to get system services to avoid memory leaks

NO_IFTTT=Catalyst only

Bug: 385116691
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiHotspotSwitchPreferenceTest \
         WifiSwitchPreferenceTest

Change-Id: I4340136d8d0118801ef450809424127f84afbb92
2024-12-20 21:45:49 +08:00
Jacky Wang
7a60e22763 Merge "[Catalyst] Update required permissions for Mobile data" into main 2024-12-20 03:37:34 -08:00
Jacky Wang
5aef4cdb07 [Catalyst] Update required permissions for Mobile data
NO_IFTTT=Catalyst only

Bug: 385282727
Bug: 368355368
Flag: com.android.settings.flags.catalyst_mobile_network_list
Test: devtool
Change-Id: Idcbdfa639df61d9bc2fd5a4bf5563e49067c834f
2024-12-20 18:04:42 +08:00
Treehugger Robot
bd3daa87cd Merge "Create a new region picker page" into main 2024-12-20 01:33:28 -08:00
Angela Wang
5ccc566161 Migrate SeekBarPreference to SliderPreference
Flag: EXEMPT flag by System prop
Bug: 349675952
Bug: 384648854
Test: manually check the UI
Test: atest AmbientVolumePreferenceTest
Change-Id: Ibe8ba3f8e46337b9771fd4921aee4dea21612e06
2024-12-20 01:17:22 -08:00
danielwbhuang
09b9d052fc Create a new region picker page
1. The region which is selected in region picker will also apply to the first locale.
2. When a user change the first locale, the region of the first locale will be updated to the region picker.

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv
Change-Id: I001e0910ce9d1601513ed2f52e6ee30d3551859f
2024-12-20 16:12:25 +08:00
Jacky Wang
70c56ec8c9 [Catalyst] Update getRead/WritePermissions return type
NO_IFTTT=Catalyst only

Bug: 374115149
Flag: com.android.settings.flags.catalyst_mobile_network_list
Test: devtool
Change-Id: I30c93cc1c07691c1e0498916bbdfb423fa1734a0
2024-12-20 13:38:49 +08:00
Treehugger Robot
75cae48694 Merge "[HSUM] Fix BatteryOptimizationModeAppListPageProviderTest" into main 2024-12-19 21:06:29 -08:00
mxyyiyi
56c4bd723a [HSUM] Fix BatteryOptimizationModeAppListPageProviderTest
Headless System User Mode will use startActivityAsUser() instead of startActivity().

Bug: 383541859
Flag: EXEMPT bug fix
Test: atest BatteryOptimizationModeAppListPageProviderTest
Change-Id: Ic4a0fca1a5835c0dab292b8665551cb2ca9f6640
2024-12-20 11:52:04 +08:00
Kyle Zhang
3d84ccf8a2 Fix force L3 preference unit test
Bug: 385101776
Change-Id: I898b7855d3922636c09c99414cdaefee236fc71f
2024-12-19 16:02:45 -08:00
Dongzhuo Zhang
a88bee12d6 Merge "Update cloud_off icon color to match with the theme color." into main 2024-12-19 13:17:13 -08:00
Dongzhuo Zhang
2fdea0aa59 Update cloud_off icon color to match with the theme color.
Test: atest CtsSettingsTestCases
Bug: 382359013
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings

Change-Id: I9d0e7d70798b230dada5711b392c76bbf94a07f4
2024-12-19 11:41:45 -08:00
Bill Yi
fa4cbfc7b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-19 11:40:41 -08:00
Bill Yi
05830e69f6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-19 11:40:41 -08:00
Azhara Assanova
f2f9874122 Merge "[AAPM] Add advanced protection dialog according to API feedback" into main 2024-12-19 09:41:27 -08:00
Jason Hsu
aea33ee8d2 Merge "Fix '<b>' did not get bold in HearingDevice footer." into main 2024-12-19 08:39:01 -08:00
Jason Hsu
a21781781e Merge "Update contentDescription to announce 'than' rather than '>'" into main 2024-12-19 08:38:33 -08:00
Vladimir Komsiyski
af3e3026ff VDM Settings
Demo: go/vdm-settings-demo

Bug: 371713473
Bug: 338974320
Test: atest
Flag: android.companion.virtualdevice.flags.vdm_settings
Change-Id: I4a818b1b31ad59ee3de22105b969aec4c7f4d529
2024-12-19 04:57:19 -08:00
SongFerng Wang
b8c4231fed Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main am: 51769c2ed4 am: bb4a442684
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3405179

Change-Id: Ida3e7053ec531ed13f2121fc8861a472f02b70a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-19 04:04:09 -08:00
SongFerng Wang
bb4a442684 Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main am: 51769c2ed4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3405179

Change-Id: If5614a4e728ea949b8fa07a7c5a90aa506a6093b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-19 03:41:41 -08:00
jasonwshsu
9b4575a52a Fix '<b>' did not get bold in HearingDevice footer.
Root Cause: Did not use <![CDATA[ ...]]> to represent it contains html tag <b>.

Solution: Use <![CDATA[ and Html.fromHtml to add Spanned for the footer string.

Bug: 378806589
Test: Enable bold text to test the effect
Flag: EXEMPT bugfix
Change-Id: I56827dc18e7183c0458c83dac0dbeca7eb8bb16d
2024-12-19 19:36:08 +08:00
SongFerng Wang
51769c2ed4 Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main 2024-12-19 02:56:12 -08:00
jasonwshsu
7bb0c30688 Update contentDescription to announce 'than' rather than '>'
Root Cause: Talkback announce '>' (greater than), which is not user expected.

Solution: Update contentDescription with string contain 'than'

Bug: 378804585
Test: Enable screen reader to check
Flag: EXEMPT bugfix
Change-Id: Ibc7a2f7c7d1100dd25ddf29c2fffb22ac5ad52c6
2024-12-19 16:39:59 +08:00
Vincent Wang
19544f9079 Merge "Remove reduant files from settings" into main 2024-12-19 00:27:51 -08:00
Yiyi Shen
1219568e77 Update talkback text for device details gear button
Announce "Device name + Configure device detail. Double tap to activate"
instead of "Settings"

Flag: EXEMPT small fix
Bug: 379994439
Test: manual
Change-Id: I8a0d620c2aba0ada559ea3617535413bed8eee48
2024-12-19 15:11:48 +08:00
Angela Wang
597b3c6480 Merge "Reset descriptions for SeekBarPreference" into main 2024-12-18 20:38:58 -08:00
Daniel Norman
5e390e57b5 Merge "Strings updates for the new version of High contrast text." into main 2024-12-18 20:24:22 -08:00
Treehugger Robot
352a867aec Merge "[Catalyst] Include read/write permissions in get preference API" into main 2024-12-18 20:11:28 -08:00
Chelsea Hao
341fe8eb13 Merge "Export AudioSharingReceiver so that it could be launched by sysui." into main 2024-12-18 19:18:15 -08:00