Commit Graph

143764 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker
e715355e6b Snap for 12283639 from c96571371c to 24Q4-release
Change-Id: I2e3169ad8f0b2ba70c2512dc88c7b5f14a970736
2024-08-27 23:21:40 +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
Android Build Coastguard Worker
5acc8f7306 Snap for 12278291 from d0ea9bc2bc to 24Q4-release
Change-Id: I2531b231cde9c457527fd04b891bff0a772873e9
2024-08-26 23:21:11 +00: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
Jakub Rotkiewicz
1b0d956d08 bluetooth: remove debug logs guard
Bug: 329809288
Flag: EXEMPT - log only
Test: mmm packages/apps/Settings
Merged-In: Ia1626aa6904c90729de518102aedbab226a25692
Change-Id: I1d7c2784d8c81c3c3bfd035c64042553261261f8
2024-08-26 11:43:53 +00:00
Treehugger Robot
25c58a6e50 Merge "Clean up EuiccPreferenceController" into main 2024-08-26 07:59:04 +00:00
SongFerng Wang
71d9d362b2 Merge "Modify the preferredSimDialogFragment" into main 2024-08-26 07:20:30 +00:00
Shawn Lin
b7d190008f Opt-out predictive back gesture for biometric face settings pages
Bug: 360782826
Test: manual
Flag: EXEMPT only disable predictive back gesture configs
Change-Id: Ib14cc714050c8700a4a5037a8793b7d22fe2135b
2024-08-26 06:48:19 +00:00
Treehugger Robot
9c44e35d02 Merge "Refine WifiDetailsSettingsActivity" into main 2024-08-26 02:25:19 +00:00
Matías Hernández
dd7f6b9163 Use ZenMode.getIconKey() and ZenIconLoader.getIcon() in Settings
Bug: 360399800
Bug: 361597532
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I82baaeaaa0d722f8042c7ac6be33b8654418391f
2024-08-25 15:50:56 +02:00
Android Build Coastguard Worker
6ff4228ce3 Snap for 12272146 from ba055aa8c2 to 24Q4-release
Change-Id: Ie7f42157b54eee1504ee974992b6cab456a613af
2024-08-24 01:21:25 +00:00
Treehugger Robot
ba055aa8c2 Merge "Add log for enable/disable zen mode" into main 2024-08-23 18:38:19 +00:00
Rambo Wang
deadbda614 Merge "Turn off RILD reset in Reset Network Settings Flow" into main 2024-08-23 18:20:01 +00:00
Jacob Hobbie
42d6144c02 Allow Watch Unlock to exit back to Device Unlock settings.
Seeking to imitate the behavior from fingerprint and face unlock. In GMS
Core we will control when to send the RESULT_TIMEOUT resultCode, but we
should generally exit all the way out to Device Unlock, where there is a
passcode entry requirement, when we swipe away from Watch Unlock's
settings.

Flag: com.android.settings.flags.active_unlock_finish_parent
Test: Manually
Bug: 343576960

Change-Id: Ia9a1564295a44ab6925ea9fceebf92f437e03731
2024-08-23 18:19:52 +00:00
Michał Brzeziński
f7222611d9 Merge "Launching touchpad tutorial as user 0" into main 2024-08-23 15:45:13 +00:00
Rambo Wang
dd7d18ec8a Turn off RILD reset in Reset Network Settings Flow
The CL temporarily removes RILD reset in the flow and plans to bring it back when a more reliable solution is available.

Resetting RID in the flow may cause device failure to camp on the default cellular network.

The interface used to reset RILD in the flow was designed for telephony process silent restart feature. The implementation doesn't  work well together with other reset options (e.g. nvResetConfig).

Bug: 356272264
Test: Execute feature test plan, including regression test
Flag: com.android.internal.telephony.flags.reset_mobile_network_settings
Change-Id: I955bcb0b151f27dc73c03a580c0144bea9e3bfa3
2024-08-23 15:17:21 +00:00
Weng Su
a21fbfa612 Refine WifiDetailsSettingsActivity
- Use the parameter's intent to avoid re-creating it in getIntent()

Bug: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ia3549eccf22e30c4fd1ae011c51cf7840c76b1e5
2024-08-23 17:41:10 +08:00
songferngwang
b6be744bc6 Modify the preferredSimDialogFragment
After the telephony flag resetPrimarySimDefaultValues on, the telephony
set the preferred default subscription to remaining sim. Therefore, here
can ask whether the user uses [remaining SIM] for mobile data or not

Bug: 349783684
Test: remove the sim card, and settings show "use mobile data" dialog
Flag: EXEMPT bugfix
Change-Id: I5e3399e777bf1e8ef7998074082e55635eb23eb4
2024-08-23 09:24:21 +00:00
Treehugger Robot
f94d376104 Merge "Avoid launching Wi-Fi details settings if WifiEntry key is lost" into main 2024-08-23 07:48:57 +00:00
Treehugger Robot
bd74edd186 Merge "Add metrics for driving and bedtime interstitials" into main 2024-08-23 02:59:26 +00:00
Android Build Coastguard Worker
8779a8892e Snap for 12265118 from 4327d5e873 to 24Q4-release
Change-Id: Ibb1f005983bb326025c3874707b4593399334f0c
2024-08-22 23:21:49 +00:00
Weng Su
64987b0bea Avoid launching Wi-Fi details settings if WifiEntry key is lost
- When restarting Wi-Fi details settings from the recent apps, the extra data of the sent Intent may be lost, resulting in the loss of the necessary WifiEntry key

- Don't launch Wi-Fi details settings and remove it from recent apps in the above case

Fix: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ifa9718b0197ab27b77c24b706f7974a664980fba
2024-08-23 06:19:39 +08:00