Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd88020a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check context type with AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING...

Merge "Check context type with AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING usage" am: a1d09e3b am: 063130d4

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2107787



Change-Id: I77740b0283dc7d698bb1fc158b431781b429bb60
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a80fcc9c 063130d4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3126,9 +3126,13 @@ class LeAudioClientImpl : public LeAudioClient {
      case AUDIO_USAGE_MEDIA:
        return LeAudioContextType::MEDIA;
      case AUDIO_USAGE_VOICE_COMMUNICATION:
      case AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING:
      case AUDIO_USAGE_CALL_ASSISTANT:
        return LeAudioContextType::CONVERSATIONAL;
      case AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING:
        if (content_type == AUDIO_CONTENT_TYPE_SPEECH)
          return LeAudioContextType::CONVERSATIONAL;
        else
          return LeAudioContextType::MEDIA;
      case AUDIO_USAGE_GAME:
        return LeAudioContextType::GAME;
      case AUDIO_USAGE_NOTIFICATION: