Commit Graph

144388 Commits

Author SHA1 Message Date
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
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
Daniel Huang
e7ba339a6e Merge "Add feature flag for regional preferences APIs" into main 2024-11-07 07:58:09 +00: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
danielwbhuang
2133c646f8 Add feature flag for regional preferences APIs
Bug: 370379000
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: manual
Change-Id: I165a800dcf6dbc299f86e6cf89ffc4c94ecd9e15
2024-11-07 12:11:21 +08: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
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
Treehugger Robot
855a4d3d14 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-06 22:34:34 +00:00
Treehugger Robot
f015d04933 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-06 22:34:34 +00:00
Treehugger Robot
f4db8c550d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-06 22:34:34 +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
Treehugger Robot
9d1515e3ca Merge "Use the DND icon for modes of type UNKNOWN" into main 2024-11-06 19:15:38 +00:00
Treehugger Robot
2c948dd18d Merge "Move When to start tab below grid" into main 2024-11-06 19:06:09 +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
Daniel Norman
214a71a697 Merge "Explicitly mark the TopIntroPreference not searchable" into main 2024-11-06 17:57:25 +00:00
Prince
776af69b32 Move When to start tab below grid
Test: Device Tested
Fixes: 376237263
Flag: com.android.systemui.dream_overlay_updated_font
Change-Id: Ic974a18ba0fcaf879ade7965f3372af8ca17966a
2024-11-06 17:00:03 +00:00
Julia Reynolds
106738a1b1 Merge "Add skeleton page for bundling" into main 2024-11-06 16:59:57 +00:00
Matías Hernández
13c6cb4c22 Use the DND icon for modes of type UNKNOWN
Fixes: 376404078
Test: manual
Flag: android.app.modes_ui
Change-Id: I0b0959a468b2dde495b301fa723c7bef265fb3fe
2024-11-06 17:35:45 +01: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
Bill Yi
2a99f03da5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I770cf07e0ab03286988607caec851e572edb6e3a
2024-11-06 03:41:31 -08:00
Bill Yi
1df24f975b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdee22db099165a9ed553031a11c24eff2b02ad1
2024-11-06 03:39:11 -08:00
Bill Yi
5ad1b75dd1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e43ec42db46df704b8afd2fefb58edb27ec6887
2024-11-06 03:37:26 -08: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
Xiaohui Chen
5585690b00 Merge "settings: fix roboletric test in MainClearTest" into main 2024-11-06 01:05:37 +00:00