Modify the bundle internal API to publie API 13/62213/1 accepted/tizen/common/20160317.160543 accepted/tizen/ivi/20160318.112744 accepted/tizen/mobile/20160318.112047 accepted/tizen/tv/20160318.112432 accepted/tizen/wearable/20160318.112409 submit/tizen/20160317.024859
authorHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 15 Mar 2016 02:06:55 +0000 (11:06 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 15 Mar 2016 02:06:55 +0000 (11:06 +0900)
Change-Id: Id631ee1b3e0c5e0c5b1cb61ccce642914e9e117d
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
src/libraries/bt-callback.c
src/ui/bt-main-ug.c
src/ui/bt-main-view.c

index 9f2c15a..4fcb2ff 100644 (file)
@@ -25,7 +25,7 @@
 #include <vconf-keys.h>
 #include <bluetooth.h>
 #include <efl_extension.h>
-#include <bundle_internal.h>
+#include <bundle.h>
 
 #include "bt-debug.h"
 #include "bt-main-ug.h"
@@ -1040,7 +1040,7 @@ void _bt_cb_audio_state_changed(int result, bool connected,
                b = bundle_create();
                retm_if (!b, "Unable to create bundle");
 
-               bundle_add(b, "event-type", "terminate");
+               bundle_add_str(b, "event-type", "terminate");
 
                ret = syspopup_launch("bt-syspopup", b);
                if (0 > ret)
index b0f24f8..ef2a9ac 100644 (file)
@@ -32,7 +32,7 @@
 #include <efl_extension.h>
 #include <device/power.h>
 #include <gesture_recognition.h>
-#include <bundle_internal.h>
+#include <bundle.h>
 
 #ifdef TIZEN_REDWOOD
 #include <setting-cfg.h>
@@ -418,7 +418,7 @@ static void __bt_create_autoconnect_popup(bt_dev_t *dev)
        b = bundle_create();
        retm_if (!b, "Unable to create bundle");
 
-       bundle_add(b, "event-type", "music-auto-connect-request");
+       bundle_add_str(b, "event-type", "music-auto-connect-request");
 
        ret = syspopup_launch("bt-syspopup", b);
        if (0 > ret)
index 96b2ac5..c97e67d 100644 (file)
@@ -32,7 +32,7 @@
 #include <app_control.h>
 #include <notification.h>
 #include <efl_extension.h>
-#include <bundle_internal.h>
+#include <bundle.h>
 
 #include "bt-main-ug.h"
 #include "bt-string-define.h"
@@ -4882,11 +4882,11 @@ void _bt_main_launch_syspopup(void *data, char *event_type, char *title,
        ret_if(b == NULL);
 
        if (event_type)
-               bundle_add(b, "event-type", event_type);
+               bundle_add_str(b, "event-type", event_type);
        if (title)
-               bundle_add(b, "title", title);
+               bundle_add_str(b, "title", title);
        if (type)
-               bundle_add(b, "type", type);
+               bundle_add_str(b, "type", type);
 
        ret = syspopup_launch("bt-syspopup", b);
        if (0 > ret) {