Disable sound related logic 63/320563/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20250306.110528 accepted/tizen/7.0/unified/20250306.122052
authorWootak Jung <wootak.jung@samsung.com>
Fri, 16 Sep 2022 05:43:23 +0000 (14:43 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 5 Mar 2025 02:29:28 +0000 (11:29 +0900)
Change-Id: Ib3942580a61856f37844cf05227d5ae775a67d0e

src/bt-syspopup-m.c

index 087c41a5b8adf98ceb1ce943bd9adac427676877..3f52c0a540cfd9c17a41369d36a0e4fc5c931c27 100644 (file)
@@ -309,6 +309,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;
@@ -547,6 +548,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)
 {
@@ -2838,7 +2840,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);
@@ -2862,7 +2866,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);