Change bundle_add() to bundle_add_str() 41/54741/1
authorJanusz Kozerski <j.kozerski@samsung.com>
Thu, 17 Dec 2015 14:07:52 +0000 (15:07 +0100)
committerJanusz Kozerski <j.kozerski@samsung.com>
Thu, 17 Dec 2015 14:08:31 +0000 (15:08 +0100)
Function bundle_add has been removed from header.

Change-Id: Ibd8b1a893a0e466eae84a389dffde5c0c58f55b4

src/agent/ui/AskUINotificationBackend.cpp

index 16df9d6..cf71387 100644 (file)
@@ -165,7 +165,7 @@ bool AskUINotificationBackend::createUI(const std::string &client, const std::st
         return false;
     }
 
-    if (bundle_add(b, "buttons", tmpBuffer)) {
+    if (bundle_add_str(b, "buttons", tmpBuffer)) {
         int erryes = errno;
         ALOGE("Unable to add button to bundle: <" << strerror(erryes) << ">");
         bundle_free(b);