summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-12-09 18:11:49 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2014-12-09 18:46:19 -0800
commit1767df778e20c1395afc63b3a0479bd903e7b9f0 (patch)
tree13cc4ca445421ccc4679f03262098bbfe1043027 /media
parent1487d270e86845e93a9abd1af020b45d6799b257 (diff)
downloadframeworks_av-1767df778e20c1395afc63b3a0479bd903e7b9f0.zip
frameworks_av-1767df778e20c1395afc63b3a0479bd903e7b9f0.tar.gz
frameworks_av-1767df778e20c1395afc63b3a0479bd903e7b9f0.tar.bz2
AudioPolicyManager: distinguish between mirroring and rerouting
In the screen mirroring case, the notification manager queries the policy to see if media "is playing remotely": if yes, it will not request audio focus before playing a notification. This is the correct behavior for screen mirroring, but doesn't work when audio is rerouted to an external policy. This change consists in not reporting "remote" activity when playing to a mix of an external policy by looking at the address of the output on which playback is active for the given stream type. Bug 16009464 Change-Id: Iebbf5a8c738ab36c1cf2055e921c0a3472503125
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions