Commit Graph

143322 Commits

Author SHA1 Message Date
Chaohui Wang
ca8a69bd9e Merge "Create EuiccRepository" into main 2024-08-29 06:52:07 +00:00
Haijie Hong
5247f4936d Merge "Show a dialog if bluetooth key is missing when reconnecting" into main 2024-08-29 05:59:34 +00:00
Haijie Hong
cafb920cdd Merge "Clean up settings subsequent pairing aconfig flag" into main 2024-08-29 05:30:34 +00:00
Yiyi Shen
053bbbbd40 Merge "[Audiosharing] Fix text truncated" into main 2024-08-29 05:23:13 +00:00
Yiyi Shen
840495eb5c [Audiosharing] Fix text truncated
Fix: 359814312
Test: manual
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ia278d30019efad4a035d02f7ea3812e84dfdba8f
2024-08-29 12:08:10 +08:00
Chaohui Wang
f218f76221 Create VideoCallingRepository
Also support settings search for video calling.

Fix: 233327342
Flag: EXEMPT bug fix
Test: manual - on mobile settings
Test: manual - search video calling
Test: unit test
Change-Id: Ic4a25849f77f1759fa157931d428daa9e6854ff2
2024-08-29 03:37:50 +00:00
Chaohui Wang
f74e90787e Create EuiccRepository
Which also avoid calling from main thread.

Bug: 356684993
Flag: EXEMPT bug fix
Test: manual - on SIMs
Test: atest EuiccRepositoryTest
Change-Id: I0b11b0bd1e8a4b5754781e888fd220fa3080a212
2024-08-29 11:34:19 +08:00
Yiyi Shen
a73545d878 Merge "Register callbacks on background thread to avoid ANR" into main 2024-08-29 03:26:31 +00:00
Yuri Lin
772928694f Merge "Add modes to Settings homepage." into main 2024-08-29 00:56:11 +00:00
Yuri Lin
3ccbb0ffa5 Add modes to Settings homepage.
Also moves the modes entrypoints out of the sub-pages it was previously in (notifications and sound settings).

Bug: 353700470
Test: manual by opening the homepage
Flag: android.app.modes_ui
Change-Id: I53124bfed25c43fc2dabaf9c43ce0513bbfc7377
2024-08-28 13:13:46 -04:00
Chris Antol
468e15f49a Supported updated suggestion cards in AOSP Settings
Flag: com.android.settings.flags.updated_suggestion_card_aosp
Bug: 323258154
Test: Enable flag and trigger suggestion cards to show
Change-Id: Iee47d05d8d75c10ba073ae3541f108bc37b4c09b
2024-08-28 16:35:01 +00:00
Pat Manning
4c90aa7404 Merge "Replace Large mouse pointer setting with Pointer Scale" into main 2024-08-28 12:22:36 +00:00
Matías Hernández
227548d927 Make ZenIconLoader injectable (in SystemUI)
In settings, reduce calls to getInstance(), and pass it to preferences and their controllers instead.

Bug: 360399800
Test: atest ZenModesListItemPreferenceTest ZenModesListPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I318320575e3bd32b5d13a385fa644f8032484e1c
2024-08-28 14:10:20 +02:00
Pat Manning
f81aec1662 Replace Large mouse pointer setting with Pointer Scale
Bug: 269100659
Test: LargePointerIconPreferenceControllerTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Ic643eb1eb862388eddf5d6f3de2d25739d4d23ad
2024-08-28 11:16:09 +00:00
Vaibhav Devmurari
23e09a5d62 Fix: Show string "Layout" if only single valid IME exists
From UX mocks, we need to show IME names in heading if there
are multiple IMEs. But in situation where we have multiple
IMEs but one of the IMEs doesn't have any valid subtype for PK,
it should work as if there is only a single IME.

Bug: 361528038
Test: manual
Flag: EXEMPT bugfix
Change-Id: Idd03a224b300df31b3265a5d58f79c0fc5d1535a
2024-08-28 09:02:15 +00:00
Shawn Lin
829b6cdbb1 Merge "Opt-out predictive back gesture for biometric face settings pages" into main 2024-08-28 08:54:46 +00:00
Haijie Hong
34cf0cbea1 Show a dialog if bluetooth key is missing when reconnecting
BUG: 360031750
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: Iab75675b4cd8fec7ab55516cd0f057a9c7d92f7e
2024-08-28 15:55:35 +08:00
Treehugger Robot
23513bf7fe Merge "bluetooth: Refactor BT Audio Codec list" into main am: 7c9f1454da am: 96fcc4903b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241342

Change-Id: Ib2e3b5568569052b4d0ccd92b42e9c5e4ba3ddb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-28 07:31:49 +00:00
Treehugger Robot
96fcc4903b Merge "bluetooth: Refactor BT Audio Codec list" into main am: 7c9f1454da
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241342

Change-Id: I87e97131d3361224aa898838bf6c04308d95bd28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-28 07:23:17 +00:00
Treehugger Robot
7c9f1454da Merge "bluetooth: Refactor BT Audio Codec list" into main 2024-08-28 07:12:30 +00:00
Haijie Hong
dc68fd4253 Clean up settings subsequent pairing aconfig flag
BUG: 362649019
Test: atest FastPairDeviceGroupControllerTest
Flag: EXEMPT clean up
Change-Id: Ia49b0e4e9e5b9af7fe33b2182344f7a43786f111
2024-08-28 14:28:20 +08:00
Haijie Hong
4775f41ec6 Merge "Add help button on the top right corner of more settings page" into main 2024-08-28 05:35:57 +00:00
Haijie Hong
c23786f329 Merge "Use Spatializer in overlay for new device details page" into main 2024-08-28 04:20:13 +00:00
Treehugger Robot
ef600038a1 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:39 +00:00
Treehugger Robot
4bdd91ff21 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:39 +00:00
Treehugger Robot
5dc46dc26e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:39 +00:00
Yiyi Shen
faefac6ca8 Merge "[Audiosharing] Route to audio sharing page to start broadcast." into main 2024-08-28 01:56:09 +00:00
Yiyi Shen
f1edce7116 Merge "[Audiosharing] Handle auto start intent from QS" into main 2024-08-28 01:55:41 +00:00
Chris Antol
4ac18324a8 Merge "Checks cross user permission before handling intent" into main 2024-08-27 23:38:08 +00:00
Daniel Norman
1890c16f90 Populates collection info count for A11y toggle feature pages.
This helps an accessibility service like TalkBack inform the user that
there are items that are skipped when navigating the list because they
are unimportant to accessibility.

Bug: 318607873
Test: atest AccessibilityFragmentUtilsTest
Test: atest ToggleScreenMagnificationPreferenceFragmentTest
Test: Enable TalkBack that supports the collection info count feature,
      open any of the pages from the bug, observe the item count and
      (un)important count are correct.
Flag: com.android.settings.accessibility.toggle_feature_fragment_collection_info
Change-Id: If64c89f2eb2f8301076baa79b9530124c850d2fc
2024-08-27 23:36:19 +00:00
Treehugger Robot
78e191a69c Merge "Use ZenMode.getIconKey() and ZenIconLoader.getIcon() in Settings" into main 2024-08-27 23:24:11 +00:00
Fan Wu
d3b3edd451 Checks cross user permission before handling intent
Bug: 326057017

Test: atest

Flag: EXEMPT bug fix
Change-Id: I3444e55b22b7487f96b0e3e9deb3f844c4c4723a
2024-08-27 21:50:01 +00:00
Jakub Rotkiewicz (xWF)
b91de2f3b1 Merge "bluetooth: Fix Mono/Stereo selection with new codec list" into main am: c640aeeec9 am: 51cac72d94
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241341

Change-Id: I8a782e17854159f468acf4fb157a294896c4f120
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 20:48:49 +00:00
Jakub Rotkiewicz (xWF)
f9f4f7052e [automerger skipped] Merge "bluetooth: remove debug logs guard" into main am: 8b780a831e am: ab1a9a73e9 -s ours
am skip reason: Merged-In Ia1626aa6904c90729de518102aedbab226a25692 with SHA-1 9534a05eeb is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241340

Change-Id: I5199faa28020cf79d71252ef67d5defe83809adb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 20:48:13 +00:00
Jakub Rotkiewicz (xWF)
51cac72d94 Merge "bluetooth: Fix Mono/Stereo selection with new codec list" into main am: c640aeeec9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241341

Change-Id: I08cbe0634d9c4926af2d9ac927e81960d966f5bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 20:42:02 +00:00
Jakub Rotkiewicz (xWF)
ab1a9a73e9 Merge "bluetooth: remove debug logs guard" into main am: 8b780a831e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241340

Change-Id: Ied02c723be359d7d2873313a05ea9d6c178cd5e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 20:41:40 +00:00
Jakub Rotkiewicz (xWF)
c640aeeec9 Merge "bluetooth: Fix Mono/Stereo selection with new codec list" into main 2024-08-27 20:25:46 +00:00
Jakub Rotkiewicz (xWF)
8b780a831e Merge "bluetooth: remove debug logs guard" into main 2024-08-27 20:25:31 +00:00
Jakub Rotkiewicz
97b113a660 bluetooth: Refactor BT Audio Codec list
* Show only selectable codecs to the user
* Removed redundant 'abstract' layer
* Disable codec selection when BluetoothA2dp, active device unavailable
  or HD Audio disabled.

Bug: 329809288
Bug: 346490998
Flag: EXEMPT - refactor
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Merged-In: I56ebfeaf2cfa22ec253db897d7b7e96d1f8eee61
Change-Id: I23714715d9257479f5eac1a172ba1804da7e64e3
2024-08-27 20:15:01 +00:00
Treehugger Robot
c96571371c Merge "Gate work profile code path in StylusDeviceController." into main 2024-08-27 20:06:14 +00:00
Yiyi Shen
23601a670d Register callbacks on background thread to avoid ANR
Fix: 360798156
Test: atest
Flag: EXEMPT small fix
Change-Id: Ia40bbe33952fa7ea2b951c04cf47b4a05f641e26
2024-08-27 15:37:59 +00:00
Diya Bera
b8ab650afe Add mandatory biometric for exported enroll intents
Flag: android.hardware.biometrics.flags.mandatory_biometrics
Fixes: 358173662
Test: N/A
Change-Id: Ic67d42ba84220f4c18cf445ae75d4f7f8dfd1f39
2024-08-27 14:10:17 +00:00
Yiyi Shen
d7d72f70d5 [Audiosharing] Handle auto start intent from QS
When intent extra EXTRA_START_LE_AUDIO_SHARING is true, audio sharing
page needs auto toggle on the main switch and start audio sharing.

And if there are one active sink and one connected sink, auto add source
to them without popping up dialog.

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 331892035
Change-Id: I0c677ea33c9e0e3eeb8495c8618bff685b13a8ed
2024-08-27 11:45:30 +00:00
Haijie Hong
4b04b5e2d4 Use Spatializer in overlay for new device details page
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I6c80fac5e74902dd746262e555eb0a5a2e865718
2024-08-27 13:27:35 +08:00
Chun-Wei Wang
31ebeb690e Support alternate button
Align the behavior of frp and repair to have them
support the alternate button.

Bug: 339735656
Test: presubmit
Change-Id: Ib785db5ef16a68df4980dee451c6b638692adc5f
2024-08-27 10:16:11 +08:00
Bill Yi
c6dc7bd45b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I17e9aa8b6a7abca8d891d32732aef4b405362483
2024-08-26 16:40:17 -07:00
Bill Yi
14956078e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I08e37b009a69693ff4f1c6b1a69ba6e91d43af0f
2024-08-26 16:37:51 -07:00
Bill Yi
2a94059149 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f459f9993b33465157c35a95112acf56241a09f
2024-08-26 16:35:58 -07:00
Jakub Rotkiewicz (xWF)
d0ea9bc2bc Merge "bluetooth: remove debug logs guard" into main 2024-08-26 11:46:31 +00:00
Jakub Rotkiewicz
4f441c03a7 bluetooth: Fix Mono/Stereo selection with new codec list
When SBC was selected and user changed Channel mode from Stereo to Mono
the codec type wasn't set properly and the reconfiguration failed.

Bug: 329809288
Flag: EXEMPT - minor refactor
Test: manual - choose SBC and change mode to MONO
Merged-In: If847bab1cc05d8c38a680e87277dd857970b4251
Change-Id: Ie32e3a3aa85f866d504dde7396feacf154a2298b
2024-08-26 11:44:27 +00:00