Commit Graph

145563 Commits

Author SHA1 Message Date
Chaohui Wang
554da2d561 Fix TetherPreference summary missing
PreferenceController need a constructor(context, key) to work in xml.

Bug: 377146536
Flag: EXEMPT bug fix
Test: manual - on Network & internet
Change-Id: Ib3c0155eacdff128333abf04a8103300623f4c2a
2024-12-25 15:23:13 +08:00
Sunny Shao
249a4426b6 [Catalyst] Implement get{Read,Write}Permissions for Adaptive brightness
NO_IFTTT=Catalyst migration

Test: Devtool
Bug: 385266613
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I32e8b5e30269397b6198bcd87d366ada73d84893
2024-12-25 14:48:57 +08:00
Sunny Shao
1f5b0e9a7c [Catalyst] Implement get{Read,Write}Permissions for Always show time and info
NO_IFTTT=Catalyst migration

Test: devtool
Bug: 385272042
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Change-Id: I67513e205113df531accd9f84480d7921144df52
2024-12-25 14:14:26 +08:00
Daniel Huang
abf6c94d7d Merge "Show dialog when user chnages the region" into main 2024-12-24 21:55:39 -08:00
danielwbhuang
833a0e3c92 Show dialog when user chnages the region
1. show dialog
2. change the region of the top locale

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv, atest
Change-Id: I9746cdec670899b3768dcd1e0aa59e1959dd7e06
2024-12-25 12:00:09 +08:00
Yuchen
ccf8ae4fa3 [Expressive design] Update wifi entry preference padding.
Bug: 349681531
Flag: EXEMPT migration
Test: visual
Change-Id: I511d2b3e183472a12fdd07a293eda4c04617bc6c
2024-12-25 03:19:55 +00:00
Jacky Wang
e7fbf8f92c [Catalyst] Refactor DarkModeScreen
By virtue of KeyValueStore abstraction, the per-fragment state could be
moved into storage.

NO_IFTTT=Catalyst only

Bug: 375132235
Flag: com.android.settings.flags.catalyst_dark_ui_mode
Test: Manual
Change-Id: Ifff1c6e0b51cda981337b84008713c35a0a724ea
2024-12-25 10:39:25 +08:00
Sunny Shao
0ef3c2ca0d [Catalyst] Implement get{Read,Write}Permissions for Brightness level
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385035021
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Idf07b75ab9776b33bcddb1ffc93eca7594524c14
2024-12-25 10:32:58 +08:00
Chaohui Wang
a16f8fcf53 Clean up UiccInfoEntity
It's not used any more.

Bug: 348118234
Flag: EXEMPT clean up
Test: manual - on Mobile Settings
Test: atest DefaultSubscriptionControllerTest
Change-Id: I663efc1bb53230c34bc30641703e78fb170772d8
2024-12-25 10:12:29 +08:00
Treehugger Robot
3b54bb45e6 Merge "[Catalyst] Implement get{Read,Write}Permissions for Dark theme" into main 2024-12-24 06:23:28 -08:00
Treehugger Robot
ba8348c6a2 Merge "[Catalyst] Implement get{Read,Write}Permissions for Screen attention" into main 2024-12-24 04:03:33 -08:00
Treehugger Robot
571800ddc2 Merge "[Catalyst] Implement get{Read,Write}Permissions for Smooth display" into main 2024-12-24 02:05:21 -08:00
Sunny Shao
79004d10f0 [Catalyst] Implement get{Read,Write}Permissions for Screen attention
NO_IFTTT=Catalyst migration

Test: devtool
Fix: 385274700
Flag: com.android.settings.flags.catalyst_screen_timeout
Change-Id: I77c4584fa92713854520594a1bdb9448937d14fb
2024-12-24 00:59:20 -08:00
Shawn Lin
1ef5e68927 Merge "Revert "[Biometric Onboarding & Edu] Update Set up Fingerprint/F..."" into main 2024-12-23 23:10:08 -08:00
Menghan Li
242b3b8abd Merge changes I97841c5b,I64e47f92 into main
* changes:
  feat(EDT): Update the preference interaction and visiblity logic
  feat(EDT): Migrate entry into Display Settings
2024-12-23 22:00:42 -08:00
Treehugger Robot
8e86a05eab Merge "Avoid string mismatch of menu name and dialog title" into main 2024-12-23 20:38:18 -08:00
Menghan Li
dfb3c5b881 feat(EDT): Update the preference interaction and visiblity logic
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
Change-Id: I97841c5b2f03c8c0fb37e0be309d15f312bfedbd
2024-12-24 04:02:13 +00:00
Jason Hsu
a1046fc847 Merge "[HA Input] Add UI to support hearing device microphone change ability in device details page" into main 2024-12-23 19:50:24 -08:00
Jean Chen
70f77e1c80 Merge "feat(HCT): Notification disappear behavoir" into main 2024-12-23 19:49:05 -08:00
Treehugger Robot
6d2e29113a Merge "[Settings] Add feature flag for new UI" into main 2024-12-23 19:38:20 -08:00
Daniel Huang
4a580bcda0 Merge "Migrate ToA to the new entry point" into main 2024-12-23 19:37:47 -08:00
tomhsu
940fc8f39e Avoid string mismatch of menu name and dialog title
- 2 different strings cause this issue.

Flag: EXEMPT bug fix
Fix: b/385687217
Test: Manual test
Change-Id: Ib1a5b8271d7825d95a09c3d6c11fa66a1a6cb0e5
2024-12-23 19:35:07 -08:00
Solti Ho
288aa8b183 Merge "Disable ANGLE as system GLES dev option" into main 2024-12-23 19:25:49 -08:00
Chaohui Wang
8c0b1ef270 Merge "Send initial status for wifiStateFlow" into main 2024-12-23 19:02:54 -08:00
Angela Wang
a4e7f063bd Merge "Migrate SeekBarPreference to SliderPreference" into main 2024-12-23 17:51:06 -08:00
chenjean
0d8356610e feat(HCT): Notification disappear behavoir
1. When a user taps the notification body, it should function like clicking the "Open Settings" action button, taking them directly to the Settings page and the notification should disappear automatically.
2. To ensure the notification remains visible until the user interacts with it, we need to add the FLAG_NO_CLEAR flag. This will prevent the notification from being dismissed when the user uses the "Clear all" button in the notification shade.

Bug: 385794406
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Test: manual
Change-Id: Ie2cd17e744363b9834021ddef48ec5a59f19ec64
2024-12-23 17:42:01 -08:00
Priyanka Advani (xWF)
2574343b43 Revert "[AAPM] Add advanced protection dialog according to API f..."
Revert submission 30767017-aapm-dialog-api-feedback

Reason for revert: Droidmonitor created revert due to b/384828570. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:30767017-aapm-dialog-api-feedback

Change-Id: Ibf26aca2453f2007370974290f5c16d6b091341e
2024-12-23 13:41:43 -08:00
Treehugger Robot
b514c11cc9 Merge "Reduce the Terminal app storage requirement from 128GB to 64GB." into main am: d16d627a71 am: 7b45904c6b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3404569

Change-Id: I488e748dfcf6a2e034cb86925ff112a354f82c58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-23 11:17:15 -08:00
Treehugger Robot
7b45904c6b Merge "Reduce the Terminal app storage requirement from 128GB to 64GB." into main am: d16d627a71
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3404569

Change-Id: I7c537930bb0d05d81c10feb99a0b7e8d0e7cc583
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-23 10:52:27 -08:00
Treehugger Robot
d16d627a71 Merge "Reduce the Terminal app storage requirement from 128GB to 64GB." into main 2024-12-23 10:20:45 -08:00
Zhibin Liu
b5b9402925 Merge "Check package name format before using it for SPA nav" into main 2024-12-23 06:47:04 -08:00
zhibinliu
b2ee5ccf5b Check package name format before using it for SPA nav
Bug: b/372895305
Test: unit test
Flag: EXEMPT bug fix
Change-Id: Ife615c78c48a2d6f5b938c880c9c2128c5551644
2024-12-23 06:41:40 -08:00
jasonwshsu
1258059feb [HA Input] Add UI to support hearing device microphone change ability in device details page
In this patch:
* Add custom dialog preference: HearingDeviceInputRoutingPreference and its controller
* Contain radio group to show 'hearing device microphone' and 'this phone's microphone' for user's preference
* set/get user's preference via BluetoothDevice#isMicrophonePreferredForCalls, BluetoothDevicwe#setMicrophonePreferredForCalls
* check if support HapProfile and if in AudioManager#getDevice(GET_DEVICES_INPUTS) list

Bug: 349255906
Test: atest HearingDeviceInputRoutingPreferenceTest BluetoothDetailsHearingDeviceInputRoutingControllerTest BluetoothDetailsHearingDeviceControllerTest
Flag: com.android.settingslib.flags.hearing_devices_input_routing_control
Change-Id: I2e4dbc7fb98353ed52d0d175df4e8725df6b9a05
2024-12-23 19:57:39 +08:00
Treehugger Robot
5c13f16954 Merge "[Catalyst] Implement get{Read,Write}Permissions for Remove Animation" into main 2024-12-23 02:34:57 -08:00
danielwbhuang
bedf5c3805 Migrate ToA to the new entry point
1. Add the new entry point
2. Use flag to control the migration

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest
Change-Id: Ie78a0f16188f3c4414dcd653189e5772f99ecb4d
2024-12-23 17:56:55 +08:00
Sunny Shao
69b90da388 [Catalyst] Implement get{Read,Write}Permissions for Smooth display
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385267421
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I475ba6dc0cf44802c293deeda98ea8ca12d4df9e
2024-12-23 15:48:50 +08:00
Shawn Lin
b75b3a373f Revert "[Biometric Onboarding & Edu] Update Set up Fingerprint/F..."
Revert submission 30754151-boe_fp_unlock

Reason for revert: prevent from leakage

Reverted changes: /q/submissionid:30754151-boe_fp_unlock

Change-Id: Ida3d127cc8cd71366c4375e90d6058e510f590c9
2024-12-22 23:44:11 -08:00
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