Commit Graph

55737 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Rupesh Bansal
5c6c9018a1 Merge "Changed to use the new hidden API." into main 2024-11-07 06:53:27 +00:00
Ze Li
e3db9b8941 [Connected devices page] Clear up old functions and add logs
Test: atest: com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceControllerTest
Bug: 365044575
Change-Id: Id648be40a4735688bbe1b4779d5812ea93baee2a
Flag: EXEMPT refactor
2024-11-07 05:37:18 +00:00
Jason Chiu
23e1e904f7 Merge "Add an action name and support 2-pane UI in Backup page" into main 2024-11-07 03:52: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
Rupesh Bansal
24f961a07a Changed to use the new hidden API.
Bug: 372700957
Test: refactoring
Flag: EXEMPT Refactoring
Change-Id: I5eb7d5ab94ebd273aea9226cd3cbed5de0d49baa
2024-11-06 18:11:40 +00:00
Julia Reynolds
106738a1b1 Merge "Add skeleton page for bundling" into main 2024-11-06 16:59:57 +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
Haijie Hong
2c4aec3a23 Merge "Also disable main content if switch is disabled" into main 2024-11-06 07:05:01 +00:00
Jacky Wang
b5d407abdf Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Support restriction for Sound settings
  Add SettingsPreferenceBindingFactory and support restriction
  Implement RestrictedPreferenceHelperProvider for restricted preference
2024-11-06 06:50:12 +00:00
Jason Chiu
9eab62acdc Add an action name and support 2-pane UI in Backup page
Fix: 377618895
Test: manual, atest UserBackupSettingsActivityTest
Flag: EXEMPT only export activity
Change-Id: If0469a42548a7ba1153dd41f88b68972ce5a23e4
2024-11-06 14:44:17 +08:00
Haijie Hong
ffa4fba144 Also disable main content if switch is disabled
BUG: 377530027
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I883618919523fea2305858c370390c88511d5a0f
2024-11-06 13:37:35 +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
Jacky Wang
d33b0a5114 [Catalyst] Support restriction for Sound settings
NO_IFTTT=Catalyst only

Bug: 377600992
Flag: com.android.settings.flags.catalyst_sound_screen
Test: testdpc
Change-Id: I2d768155f450f415c2279bbff69f94e8934b4383
2024-11-06 12:01:03 +08:00
Jacky Wang
f18e3bafe6 Add SettingsPreferenceBindingFactory and support restriction
Bug: 377600992
Flag: com.android.settings.flags.catalyst
Test: testdpc
Change-Id: I14c37a3cfb1d69108ad4f5dabd4f35e8ec8899bd
2024-11-06 11:47:29 +08: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
Jacky Wang
3551614baf Implement RestrictedPreferenceHelperProvider for restricted preference
Bug: 377600992
Flag: EXEMPT library
Test: Manual
Change-Id: I73e60ea7a392aac96e701b9d7f0ff617e449f3b2
2024-11-06 11:43:42 +08: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
Joshua Mccloskey
c8c6c80562 Merge changes I3726df57,If1dea7b3 into main
* changes:
  Updated Orientation interactor
  Added interupt to accessibility interactor
2024-11-05 23:24:34 +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
Harry Cutts
83b1491d85 Touchpad: add Framework Input team as owners of more files
Bug: 353947750
Bug: 374965372
Test: none
Flag: EXEMPT owners change

Change-Id: I160af9ed4ec15f3fe8a41ae8c840a5bf9ec3b999
2024-11-05 18:20:03 +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