[0.2.110] update flags include null string 95/168495/1 accepted/tizen/unified/20180131.060516 submit/tizen/20180130.062218
authorEunhae Choi <eunhae1.choi@samsung.com>
Thu, 25 Jan 2018 11:58:16 +0000 (20:58 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 29 Jan 2018 05:30:48 +0000 (14:30 +0900)
- to clear the value, null str have to be applied too.
- ex) subtitle_uri

Change-Id: I83962a724c28e36ee20f82e3b4c068c21e093e56
(cherry picked from commit 798e47a639c818dc2f68b428ab264ff872585639)

mm_attrs_private.c
packaging/libmm-common.spec

index d243708..2afd86d 100644 (file)
@@ -491,9 +491,7 @@ int mmf_attribute_set_string(mmf_attribute_t *item, const char *string, int size
        return_val_if_fail(item, -1);
 
        if (mmf_value_set_string(&item->tmpval, string, size) == 0) {
-               if (string)
-                       item->flags |= MM_ATTRS_FLAG_MODIFIED;
-
+               item->flags |= MM_ATTRS_FLAG_MODIFIED;
                return 0;
        }
        return -1;
index 6ca926f..0d266ad 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-common
 Summary:    Multimedia Framework Common Lib
-Version:    0.2.109
+Version:    0.2.110
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0