summaryrefslogtreecommitdiff
path: root/android/a2dp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-17 15:16:01 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-18 23:32:37 +0200
commit73f26e34e8c642bf493a63fe14f005563a19d183 (patch)
tree0becaa200b67741cea4c0802cf54ba3316c0735a /android/a2dp.c
parent5ab13f553970e86e71a57813a457f0aae9be4f56 (diff)
downloadbluez-73f26e34e8c642bf493a63fe14f005563a19d183.tar.gz
android/A2DP: Notify when audio state change to suspend
Diffstat (limited to 'android/a2dp.c')
-rw-r--r--android/a2dp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/a2dp.c b/android/a2dp.c
index 12a8a6931..8ec03c8e8 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -1007,6 +1007,8 @@ static gboolean sep_suspend_ind(struct avdtp *session,
return FALSE;
}
+ bt_audio_notify_state(setup, HAL_AUDIO_SUSPEND);
+
return TRUE;
}