Merge "LeAudio: Fix audio modes priority" into tm-qpr-dev
diff --git a/system/bta/le_audio/client.cc b/system/bta/le_audio/client.cc
index 8a57d05..4664a26 100644
--- a/system/bta/le_audio/client.cc
+++ b/system/bta/le_audio/client.cc
@@ -748,14 +748,15 @@
/* Highest priority first */
LeAudioContextType::CONVERSATIONAL,
LeAudioContextType::RINGTONE,
- LeAudioContextType::GAME,
LeAudioContextType::LIVE,
LeAudioContextType::VOICEASSISTANTS,
+ LeAudioContextType::GAME,
LeAudioContextType::MEDIA,
LeAudioContextType::EMERGENCYALARM,
LeAudioContextType::ALERTS,
LeAudioContextType::INSTRUCTIONAL,
LeAudioContextType::NOTIFICATIONS,
+ LeAudioContextType::SOUNDEFFECTS,
};
for (auto ct : context_priority_list) {
if (metadata_context_type.test(ct)) {
@@ -3508,14 +3509,15 @@
* call volume slider while not in a call.
* LeAudioContextType::RINGTONE,
*/
- LeAudioContextType::GAME,
LeAudioContextType::LIVE,
LeAudioContextType::VOICEASSISTANTS,
+ LeAudioContextType::GAME,
LeAudioContextType::MEDIA,
LeAudioContextType::EMERGENCYALARM,
LeAudioContextType::ALERTS,
LeAudioContextType::INSTRUCTIONAL,
LeAudioContextType::NOTIFICATIONS,
+ LeAudioContextType::SOUNDEFFECTS,
};
for (auto ct : context_priority_list) {
if (available_remote_contexts.test(ct)) {