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

Commit 2cdaf2f5 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android (Google) Code Review
Browse files

Merge "Audio focus: no "strong duck" for navigation use case" into udc-dev

parents aa792b8d 5e896ddd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -812,8 +812,7 @@ public final class PlaybackActivityMonitor
            return false;
        }
        final int reqUsage = requester.getAudioAttributes().getUsage();
        if ((reqUsage == AudioAttributes.USAGE_ASSISTANT)
                || (reqUsage == AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE)) {
        if (reqUsage == AudioAttributes.USAGE_ASSISTANT) {
            return true;
        }
        return false;