Commit Graph

145272 Commits

Author SHA1 Message Date
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
Treehugger Robot
71932d2814 Merge "Introduce overlaid BatterySaverGoogleScreen" into main 2024-11-11 18:50:33 +00:00
Treehugger Robot
1781aa3e46 Merge "Refine some preference name" into main 2024-11-11 18:48:08 +00:00
Treehugger Robot
e3fe97469e Merge "Make Linux terminal option profile aware" into main am: 9089bca7d1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3332053

Change-Id: I4d42ce3bc3f33ff25336805f1209a53dd6adade5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-11 18:38:31 +00:00
Treehugger Robot
9089bca7d1 Merge "Make Linux terminal option profile aware" into main 2024-11-11 17:57:37 +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
Treehugger Robot
7e8222833b Merge "Remove all pending messages when fragment destroyed" into main am: f85bc08954 am: 07323c29b6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3329595

Change-Id: I46c5134df5fbe920acc628f4e9456681ca21d2e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-11 12:39:49 +00:00
Treehugger Robot
07323c29b6 Merge "Remove all pending messages when fragment destroyed" into main am: f85bc08954
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3329595

Change-Id: I41cf9371fc4560182def371649bd8cd3e7963406
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-11 12:16:48 +00:00
Treehugger Robot
f85bc08954 Merge "Remove all pending messages when fragment destroyed" into main 2024-11-11 11:50:09 +00:00
Haijie Hong
b33651389e Merge "Revert ANC and Spatial audio UI change" into main 2024-11-11 11:07:40 +00:00
Chaohui Wang
e401ea4743 [Safer intents] App Time Spent Preference
Set package com.android.internal.R.string.config_systemWellbeing to the
intent.

Fix: 356117796
Flag: EXEMPT bug fix
Test: manual - on App info
Test: atest AppTimeSpentPreferenceTest
Change-Id: I2af7b53a75fe5c6915dd9781406039822789c18c
Merged-In: I2af7b53a75fe5c6915dd9781406039822789c18c
2024-11-11 09:47:24 +00:00
Chaohui Wang
87dbf9c4b8 [Safer intents] App Time Spent Preference
Set package com.android.internal.R.string.config_systemWellbeing to the
intent.

Fix: 356117796
Flag: EXEMPT bug fix
Test: manual - on App info
Test: atest AppTimeSpentPreferenceTest
Change-Id: I2af7b53a75fe5c6915dd9781406039822789c18c
Merged-In: I2af7b53a75fe5c6915dd9781406039822789c18c
2024-11-11 09:42:55 +00:00
Sunny Shao
a84dd63548 Introduce overlaid BatterySaverGoogleScreen
Test: atest BatterySaverScreenTest
Bug: 368359126
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Change-Id: Iac80ea417564fd3c6a1859269109a77e08b0815f
2024-11-11 16:13:00 +08:00
Sunny Shao
5642811b6e Refine some preference name
Test: atest DisplayScreenTest
Bug: 368359268
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I73ed10a3a0bee2dc91a0a4247fb08842db70a2d4
2024-11-11 14:03:45 +08:00
Treehugger Robot
c0c9592660 Merge "Migrate Use Battery Saver" into main 2024-11-11 05:57:29 +00:00
Bill Yi
db46e64d82 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6bd6a7190fa33d65fc3181d3a93c74bb32d618c4
2024-11-10 21:49:47 -08: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
Bill Yi
7fa2505e07 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I140ab8538bd656e6cc165cbbfdd48bd15bece4a0
2024-11-10 21:47:27 -08:00
Bill Yi
73d023c54d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia02d8127f2848b169ed68267c29994e5cbe4b1d7
2024-11-10 21:45:34 -08: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
Bill Lin
26fc990bdd Merge "Gate screen off unlock UDFPS until power optimitized" into main 2024-11-10 14:09:50 +00:00
Jacky Wang
04cf5dea9a Merge "[Catalyst] Rebind preference immediately when restriction is changed" into main 2024-11-09 04:59:39 +00:00
Wes Okuhara
fd77ab6182 Settings: Fix queryShortcuts_shouldOnlyIncludeSystemApp test
Previously this test asserted that the ActivityInfo instances
were the same address. While this can assert general equality,
it is more robust to assert the ActivityInfo's properties-
mainly that the associated application is a system app.

Bug: b/314924127
Test: atest SettingsRoboTests:com.android.settings.shortcut.CreateShortcutPreferenceControllerTest
Flag: TEST_ONLY
Change-Id: I0d60fb848afdd40cecf3f3393421006ad1ff1086
2024-11-08 15:35:04 -08:00
Riley Jones
5a06b74ef1 Merge "Caption settings cleanup" into main 2024-11-08 21:06:11 +00:00
Riley Jones
7954ae5cc9 Merge "Caption preferences cleanup" into main 2024-11-08 20:08:30 +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
Matías Hernández
3863c67a01 Use full day names in the a11y version of schedules in mode list descriptions
Bug: 370358575
Test: atest ZenModesListItemPreferenceTest
Flag: android.app.modes_ui
Change-Id: I5d22b878c1d685476cf71167e7163be65416da68
2024-11-08 17:24:01 +01:00
Jason Chiu
8c8fbb40b7 Merge "Block the content scheme intent in AccountTypePreferenceLoader" into main 2024-11-08 10:37:31 +00:00
Ze Li
008f8550e3 Merge "[Connected devices page] Clear up old functions and add logs" into main 2024-11-08 08:45:54 +00:00
Hao Dong
d31d6d110c Fix work apps interceptor biometric prompt icon.
Use the launching app's package name to get the default logo.

Bug: 369219504
Test: manual test on work profile with testdpc
Flag: EXEMPT bugfix

Change-Id: I2d11079e8f321ae3ee8cc3c5f7b9d1a4104825a9
2024-11-08 07:25:50 +00:00
Jacky Wang
bb9cc08172 [Catalyst] Rebind preference immediately when restriction is changed
Bug: 377600992
Flag: com.android.settings.flags.catalyst
Test: testdpc
Change-Id: Iee382afb8395355ee77d604bd399972326557cc0
2024-11-08 14:55:11 +08:00
Jacky Wang
2f42a85719 Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Add restriction for SIMs and Tethering
  [Catalyst] Add restriction for Internet
2024-11-08 06:48:57 +00:00
Yiyi Shen
d690869f5b Merge "[Audiosharing] Enable audio sharing UI when preview option on." into main 2024-11-08 06:36:49 +00:00
Riley Jones
d7d4269851 Caption preferences cleanup
Bug: 353610375
Test: manually verify conditions described in bug
Flag: EXEMPT xml-only change
Change-Id: I79bf6c46638d3550ee07ab92c3cfa05de58f9a56
2024-11-08 00:20:11 +00:00
Treehugger Robot
2ae605a04e Merge "Update state when disabling and enabing develop option" into main am: 0fad6810fe am: 9c83e100ab
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2700555

Change-Id: I81157ce6b38cca1cf674ef7bfd6a7469ca901198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-07 20:17:50 +00:00
Jacky Wang
d824a682b2 [Catalyst] Add restriction for SIMs and Tethering
Bug: 377600992
Flag: com.android.settings.flags.catalyst
Test: testdpc
Change-Id: I098e49e5aad30711eedfea38361e42584b80c31b
2024-11-08 04:11:37 +08:00
Jacky Wang
02753a7e29 [Catalyst] Add restriction for Internet
Also add the missing settings:userRestriction in xml.

Bug: 377600992
Flag: com.android.settings.flags.catalyst
Test: testdpc
Change-Id: I179dbba19867d864ec2df5989857083511777514
2024-11-08 04:09:05 +08:00
Treehugger Robot
9c83e100ab Merge "Update state when disabling and enabing develop option" into main am: 0fad6810fe
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2700555

Change-Id: I83b11771e2aa0ec07c03c3030705fba56da6b2c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-07 19:56:09 +00:00
Treehugger Robot
0fad6810fe Merge "Update state when disabling and enabing develop option" into main 2024-11-07 19:14:23 +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
Harry Cutts
3d21de7e38 Merge "Touchpad: add Framework Input team as owners of more files" into main 2024-11-07 17:44:56 +00:00
Wes Okuhara
a3b4cf4f26 Merge "Settings: Re-enable WebViewAppPickerTest#testNotFinishedIfAdmin" into main 2024-11-07 17:13:49 +00:00
alisa.li
fe199d2656 Update state when disabling and enabing develop option
When not support a2dp offload, the a2dp offload preference is shown in grey, but a2dp offload preference will be set enabled when enabing develop option

Bug:295109808
Test: manual
Change-Id: I7e1d073ff9ef6b68b5f1d9faa1dac459a70d7afc
2024-11-07 10:41:57 +00:00
lbill
0d8d97ad48 Gate screen off unlock UDFPS until power optimitized
Flag: com.android.settings.flags.screen_off_unlock_power_optimization
Test: atest SetupFingerprintEnrollFinishTest
      atest FingerprintSettingsUnlockCategoryControllerTest
      atest FingerprintSettingsScreenOffUnlockUdfpsPreferenceControllerTest
Test: manual verify the function hide behind flag screen_off_unlock_power_optimization
Bug: 368465560
Bug: 377635539
Change-Id: Icf3ff83b2a2717228b54ec03e3c27228bb1cad93
2024-11-07 09:15:13 +00:00