Commit Graph

18628 Commits

Author SHA1 Message Date
Shaowei Shen
03e7eacc6e Merge "[Touchpad & Mouse] Update title based on conditions" into main 2024-11-12 05:57:00 +00:00
Jaewan Kim
a1abfdcaca Merge "Clear Linux terminal app when disabled" into main am: 005ee9761b am: c4d90bf739
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3332054

Change-Id: Ifc0064dd155a9b4d5faf55d496f6cba3ef097251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-12 04:46:29 +00:00
Jaewan Kim
ea0b5d5950 Clear Linux terminal app when disabled
Bug: 374032310
Test: Manual, T/H
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Id56f98cf90b0598111baa3096b1b81307ebb99a3
2024-11-12 01:19:17 +00:00
Daniel Norman
453aa677e6 Merge "Enable HearingAids#AudioRouting page search if the device supports hearing aid" into main 2024-11-11 20:14:31 +00:00
Treehugger Robot
0e69ab1a0d Merge "Make Linux terminal option profile aware" into main am: 9089bca7d1 am: e3fe97469e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3332053

Change-Id: I8ea7ac95529afd0033b654d6144b012efcddf9d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-11 19:00:44 +00:00
Candice
f959debbe5 Enable HearingAids#AudioRouting page search if the device supports hearing aid
Enable searching in the AccessibilityAudioRoutingFragment only if the
page is available and the device supports hearing aid.

Bug: 353853318
Test: atest AccessibiilityAudioRoutingFragmentTest
Test: Manually. Add screen recording of search results to the bug
Test: Manually set the support to hearing aids to false and verify that searches to the page contents are not available
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: I6786c51438d49ff9bb1d458d312ec09bd16098a4
2024-11-11 13:37:34 +00:00
Haijie Hong
b33651389e Merge "Revert ANC and Spatial audio UI change" into main 2024-11-11 11:07:40 +00:00
Treehugger Robot
c0c9592660 Merge "Migrate Use Battery Saver" into main 2024-11-11 05:57:29 +00:00
shaoweishen
3ec1567922 [Touchpad & Mouse] Update title based on conditions
Update preference and page title based on device condition.

Bug: 364536531
Flag: NONE, bug fix for string title.
Test: verify on device
Change-Id: Id5b01680314c45f1b86661c60f9e7acedca8b6eb
2024-11-11 05:49:03 +00:00
Jaewan Kim
ed3abffcfc Make Linux terminal option profile aware
Bug: 374034911
Test: atest, plus following manual test \
  - Test tabbed UI with/without work profile \
  - Test that disabled by work profile launches alert dialog \
  - Test whether toggling an app only toggle the app for the user.
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I4bf0a2d521cf3e632f6c0320e0b5cc0154d5b68f
2024-11-11 14:31:19 +09:00
Haijie Hong
aaa040e085 Revert ANC and Spatial audio UI change
BUG: 378016708
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I390ff06ab11b16134d0656c9576670b319c46c74
2024-11-11 12:41:33 +08:00
Daniel Norman
1c57667439 Merge "Fix Settings Search for OneHandedSettings" into main 2024-11-11 02:25:09 +00:00
Sunny Shao
23367e380a Migrate Use Battery Saver
Test: atest BatterySaverScreenTest BatterySaverMainSwitchPreferenceTest
Bug: 377993674
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Change-Id: I0c788688ed07ddcb5b2c97b2856194fd57c318e0
2024-11-11 10:24:38 +08:00
Daniel Norman
5ddd74b917 Fix Settings Search for OneHandedSettings
- Marks top header preference as non-searchable
- Makes shortcut preference searchable

Fix: 353591062
Test: manually confirm above behaviors
Test: atest OneHandedSettingsTest
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: I3355f817358cec1d265b89d75229ffc2742efe1c
2024-11-11 00:39:08 +00:00
Riley Jones
5a06b74ef1 Merge "Caption settings cleanup" into main 2024-11-08 21:06:11 +00:00
Riley Jones
b3eea625ec Caption settings cleanup
Bug: 353757664
Test: atest com.android.settings.accessibility
Test: Manually verify conditions described in bug
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: Iff25702843e5dd3e7ebcca1a13f190d48cf83e7a
2024-11-08 19:09:06 +00:00
Jason Chiu
8c8fbb40b7 Merge "Block the content scheme intent in AccountTypePreferenceLoader" into main 2024-11-08 10:37:31 +00:00
Treehugger Robot
0f687eafc5 Merge "Fix stray ProfileSelectDialog when only one profile exists" into main 2024-11-07 19:09:43 +00:00
Matías Hernández
b152c2d34f Fix stray ProfileSelectDialog when only one profile exists
Fixes: 377829434
Test: atest ZenModePrioritySendersPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ia5f667fd937107af98dfb3a073cadeb935ff8a8a
2024-11-07 18:52:59 +01:00
Wes Okuhara
a3b4cf4f26 Merge "Settings: Re-enable WebViewAppPickerTest#testNotFinishedIfAdmin" into main 2024-11-07 17:13:49 +00:00
Jason Chiu
841fb3846b Block the content scheme intent in AccountTypePreferenceLoader
Bug: 366401629
Flag: EXEMPT security fix
Test: atest AccountTypePreferenceLoaderTest, manual
Change-Id: Ica87087341cc983df04190919e33dc369fa18619
2024-11-07 16:06:06 +08:00
Wes Okuhara
329fbfed7d Settings: Re-enable WebViewAppPickerTest#testNotFinishedIfAdmin
Since the time the test was ignored, this tests seems to have
self-resolved and now passes.

Bug: b/313615637
Test: atest SettingsRoboTests:com.android.settings.webview.WebViewAppPickerTest#testNotFinishedIfAdmin
Flag: TEST_ONLY
Change-Id: I3cd0595fd1a89ee944cd6c8e650c84b4ecdeb99f
2024-11-06 22:59:02 +00:00
David Liu
7b846bc9ad Merge changes from topic "fix-expressive-design-preference-group" into main
* changes:
  [Expressive design] preference group - fix preference highlight
  Fix expressive design preference group
2024-11-06 20:47:59 +00:00
Daniel Norman
214a71a697 Merge "Explicitly mark the TopIntroPreference not searchable" into main 2024-11-06 17:57:25 +00:00
Julia Reynolds
106738a1b1 Merge "Add skeleton page for bundling" into main 2024-11-06 16:59:57 +00:00
Candice
3e96c9459b Explicitly mark the TopIntroPreference not searchable
Bug: 353847080
Test: Manually. Add screen recording to the bug
Test: atest AccessibilityHearingAidsFragmentTest
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: I7bdeb07d78ed717abf0aee53bc63952edb183354
2024-11-06 12:31:45 +00:00
Jacky Wang
33c580ec45 [Catalyst] Support restriction for Display settings
NO_IFTTT=Catalyst only

Bug: 377600992
Flag: com.android.settings.flags.catalyst_display_settings_screen
Test: testdpc
Change-Id: I0a9a125a24614ea8d93e870891c7db6f73f4ac9e
2024-11-06 16:49:27 +08:00
David Liu
7e625884e3 [Expressive design] preference group - fix preference highlight
Support preference highlight feature

Bug: 376137920
Test: atest HighlightablePreferenceGroupAdapterTest
Flag: EXEMPT resource only update
Change-Id: I017f292778c984c0a8a207b837144fb9e344e9a8
2024-11-06 05:35:28 +00:00
Dongzhuo Zhang
288cb40982 Merge "Few update on contacts storage settings. 1. Add account preference category to contacts storage settings page 2. Preload account icon in settings constructor 3. Re-fetch account in controller to refresh the default account after user sets a different default account." into main 2024-11-06 03:47:19 +00:00
Xiaohui Chen
5585690b00 Merge "settings: fix roboletric test in MainClearTest" into main 2024-11-06 01:05:37 +00:00
Dongzhuo Zhang
2f16e5824e Few update on contacts storage settings.
1. Add account preference category to contacts storage settings page
2. Preload account icon in settings constructor
3. Re-fetch account in controller to refresh the default account after user sets a different default account.

Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: android.provider.new_default_account_api_enabled

Change-Id: I3ca2a7a0905118c7a3a47fe4573781ae86c246bd
2024-11-05 23:25:02 +00:00
Daniel Norman
e784d052b9 Merge "Allow connected Hearing Aid devices to be searched by names" into main 2024-11-05 20:17:20 +00:00
Daniel Norman
aaa48abc5e Merge "Allow saved Hearing Aid devices to be searched by names" into main 2024-11-05 18:33:59 +00:00
Julia Reynolds
976850dbdd Add skeleton page for bundling
Test: BundleTypePreferenceControllerTest
Test: BundleGlobalPreferenceControllerTest
Test: BundlePreferenceControllerTest
Fixes: 376476949
Flag: android.app.notification_classification_ui
Change-Id: I6fa7ddfeb5ee6d2033dee4b57b0cc0e76bb347f6
2024-11-05 17:03:40 +00:00
Xiaohui Chen
7b73897b26 settings: fix roboletric test in MainClearTest
MainClearTest#testShowWipeEuicc_developerMode_unprovisioned

Bug: 313566998
Test: run atest SettingsRoboTests:com.android.settings.MainClearTest#testShowWipeEuicc_developerMode_unprovisioned
Flag: TEST_ONLY
Change-Id: Icdd3b251f03b10b8ba11338a955216ba35de41b5
2024-11-04 16:48:42 +00:00
Candice
db622c1aea Allow connected Hearing Aid devices to be searched by names
Bug: 353847080
Test: atest AvailableHearingDevicePreferenceControllerTest
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: I634c5ce7b31ae5d7f78a006b9cedc0725794482a
2024-11-04 09:14:00 +00:00
Candice
898d1e07ad Allow saved Hearing Aid devices to be searched by names
Bug: 353847080
Test: atest SavedHearingDevicePreferenceControllerTest
Test: Manually. Add video to the bug
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: Ic20a74bf6ffa28a82eeb44a0651861d2ff22e246
2024-11-04 09:10:53 +00:00
Treehugger Robot
f796239aa5 Merge "Fix catalyst settings test failure" into main 2024-11-04 02:05:59 +00:00
Jacky Wang
96aa9b27f1 Fix catalyst settings test failure
NO_IFTTT=Catalyst only

Bug: 332201912
Flag: EXEMPT test
Test: atest
Change-Id: I064a63dfe075374fbbe7bee293d8efe70a91e473
2024-11-04 06:30:36 +08:00
Jacky Wang
d655faf940 Enable AutoBrightnessScreenTest
NO_IFTTT=Enable test

Bug: 374712065
Flag: EXEMPT test
Test: atest
Change-Id: I1402bbf37644cb9b22aca6b9cae06306524a3b8f
2024-11-04 04:14:09 +08:00
Jacky Wang
45f5ef607d [Catalyst] Proivde KeyValueStore for "Adaptive brightness"
NO_IFTTT=Ignore test

Bug: 374712065
Flag: com.android.settings.flags.catalyst_screen_brightness_mode
Test: adb shell settings delete/get/put system screen_brightness_mode
Change-Id: I57b72082853493173648d4658d2f225121f68bbf
2024-11-03 21:25:41 +08:00
Sunny Shao
369263156b [Catalyst] Migrate Adaptive brightness in the DisplayScreen
Migrate the AutoBrightnessPreferenceController to be a Catalyst type preference.

Test: atest AutoBrightnessScreenTest
Bug: 374712065
Flag: com.android.settings.flags.catalyst_screen_brightness_mode
Change-Id: I80d17a4f7fae237825ab84d1f428614affcb9065
2024-11-03 09:40:22 +08:00
David Liu
2977bc7825 Merge "Migrate About phone" into main 2024-10-31 19:02:58 +00:00
Treehugger Robot
1b72d667f0 Merge "[Catalyst] Tethering screen migration" into main 2024-10-31 16:00:32 +00:00
Treehugger Robot
b0e3c959ec Merge "[Catalyst] Create airplane mode preference" into main 2024-10-31 15:50:01 +00:00
Treehugger Robot
44d6809ab7 Merge changes Ibf8f546c,I172f336a into main
* changes:
  [Catalyst] Ring volume migration (1/n)
  [Catalyst] Media volume migration
2024-10-31 15:47:02 +00:00
Mill Chen
7c9379e5d2 [Catalyst] Ring volume migration (1/n)
Bug: 373978964
Test: atest SeparateRingVolumePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: Ibf8f546c84ffb5467f62a250de37d96b5c974e15
2024-10-31 10:22:56 +00:00
Mill Chen
75b443375f [Catalyst] Media volume migration
Bug: 364898461
Test: atest MediaVolumePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I172f336a7d1c843d071dd920d29aa35b4a1a8aaf
2024-10-31 02:43:34 +00:00
Jason Chiu
792d8a97dd [Catalyst] Tethering screen migration
- Add a flag for the migration
- Add the skeleton of the screen

Test: atest TetherScreenTest
Bug: 368359963
Flag: com.android.settings.flags.catalyst_tether_settings
Change-Id: Ib9987def4f1a644f7661e75c314b3a556e8f210c
2024-10-31 09:25:23 +08:00
Treehugger Robot
01359592a2 Merge "Clean up android.webkit.update_service_v2." into main 2024-10-30 21:21:33 +00:00