Disable sound related logic 66/281366/1
authorWootak Jung <wootak.jung@samsung.com>
Fri, 16 Sep 2022 05:43:23 +0000 (14:43 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 16 Sep 2022 05:44:04 +0000 (14:44 +0900)
Change-Id: Ib3942580a61856f37844cf05227d5ae775a67d0e

src/bt-syspopup-m.c

index 6bd8d1c4fe9148ee5272b9238e715e1725a93335..2dc547baab68e3ac7f59aedce58a8c405a2c3178 100644 (file)
@@ -195,6 +195,7 @@ static void __bluetooth_cleanup_win(struct bt_popup_appdata *ad)
        }
 }
 
+#if TIZEN_FEATURE_SOUND
 static void __bluetooth_player_free_job_cb(void *data)
 {
        FN_START;
@@ -433,6 +434,7 @@ static int __bluetooth_notify_event(struct bt_popup_appdata *ad)
        FN_END;
        return ret;
 }
+#endif
 
 static void __bluetooth_parse_event(struct bt_popup_appdata *ad, const char *event_type)
 {
@@ -2714,7 +2716,9 @@ static void __bluetooth_reset(app_control_h app_control, void *data)
                        if (ret != 0)
                                __bluetooth_remove_all_event(ad);
 
+#if TIZEN_FEATURE_SOUND
                        __bluetooth_notify_event(ad);
+#endif
 
                        /* Change LCD brightness */
                        ret = display_change_state(LCD_NORMAL);
@@ -2738,7 +2742,9 @@ static void __bluetooth_reset(app_control_h app_control, void *data)
                        if (ret != 0)
                                __bluetooth_remove_all_event(ad);
 
+#if TIZEN_FEATURE_SOUND
                        __bluetooth_notify_event(ad);
+#endif
 
                        /* Change LCD brightness */
                        ret = display_change_state(LCD_NORMAL);