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

Commit 077ff2f3 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "AudioProductStrategy: fix attributesMatches()" into rvc-dev am: 09116b99 am: 539a59da

Change-Id: Ia0e1940a6294ba12af91f40b681368d9e7c837f8
parents 6e52ff40 539a59da
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -374,8 +374,8 @@ public final class AudioProductStrategy implements Parcelable {
        if (refAttr.equals(sDefaultAttributes)) {
            return false;
        }
        return ((refAttr.getUsage() == AudioAttributes.USAGE_UNKNOWN)
                || (attr.getUsage() == refAttr.getUsage()))
        return ((refAttr.getSystemUsage() == AudioAttributes.USAGE_UNKNOWN)
                || (attr.getSystemUsage() == refAttr.getSystemUsage()))
            && ((refAttr.getContentType() == AudioAttributes.CONTENT_TYPE_UNKNOWN)
                || (attr.getContentType() == refAttr.getContentType()))
            && ((refAttr.getAllFlags() == 0)