Merge "Audio focus: no "strong duck" for navigation use case" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2cdaf2f5c8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user