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

Commit 9691946d authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

Merge "fix AudioAttributes matching rule in AudioProductStrategy" into qt-dev

am: 41a45543

Change-Id: I16dacfe98a8b5a39effb0d7a8236b14fa5b216f4
parents 00f5ccae 41a45543
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttribu
             (clientAttritubes.content_type == refAttributes.content_type)) &&
            ((refAttributes.flags == AUDIO_FLAG_NONE) ||
             (clientAttritubes.flags != AUDIO_FLAG_NONE &&
            (clientAttritubes.flags & refAttributes.flags) == clientAttritubes.flags)) &&
            (clientAttritubes.flags & refAttributes.flags) == refAttributes.flags)) &&
            ((strlen(refAttributes.tags) == 0) ||
             (std::strcmp(clientAttritubes.tags, refAttributes.tags) == 0));
}