TSAM-6015: added support of uri without prefix to AppControlCompose 16/78416/1
authorAndrey Klimenko <and.klimenko@samsung.com>
Tue, 5 Jul 2016 11:08:59 +0000 (14:08 +0300)
committerAndrey Klimenko <and.klimenko@samsung.com>
Tue, 5 Jul 2016 11:08:59 +0000 (14:08 +0300)
Change-Id: Id156a9603f25cae4d5e344d132f6c48a70c7761b
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
src/Common/AppControl/src/AppControlCompose.cpp

index 8a2f49d..ba1cf8e 100644 (file)
@@ -230,6 +230,10 @@ bool AppControlCompose::parseUriShare(app_control_h handle)
                 }
                 res = true;
             }
+            else
+            {
+                m_FileList.push_back(uriToParse); // no prefix, uri is a path to file itself
+            }
         }
         free(uri);
     }