Send the positive response for AVRCP_EVENT_VOLUME_CHANGED 38/225738/1 submit/tizen/20200225.002806
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 24 Feb 2020 07:27:50 +0000 (16:27 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 24 Feb 2020 07:29:25 +0000 (16:29 +0900)
Change-Id: If243d77e095b607052d17d93616b0d0711d724a7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
profiles/audio/avrcp.c

index 0a32e13..4edc9c9 100644 (file)
@@ -4279,9 +4279,9 @@ static gboolean avrcp_get_capabilities_resp(struct avctp *conn, uint8_t code,
                        if (!session->controller ||
                                                !session->controller->player)
                                break;
+#endif
                        /* fall through */
                case AVRCP_EVENT_VOLUME_CHANGED:
-#endif
                        avrcp_register_notification(session, event);
                        break;
                }