commit | 12bd6e4a5c26bd8035bf804d0cc821bd9b8cce9b | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu Mar 15 09:33:34 2012 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Apr 02 09:31:09 2012 -0700 |
tree | 3073991cdb70440f70dcc2a446f2830f87a0ca5a | |
parent | 48fa8d5b1c55f7ee0762b5c40176f397cf137875 [diff] |
Only duplicate notifications when no media is playing Map the NOTIFICATION stream type to a new strategy, named STRATEGY_NOTIFICATION_RESPECTFUL, which differs from STRATEGY_NOTIFICATION in that, when media is playing, the notifications will use the same output as the MEDIA strategy. This will results in the notifications not being duplicated on the speaker when a headset is in use for media playback. Change-Id: I032be0e2d383c69b5b6c912d7174753f5572c4b4