Fixed liveboxid
authorHeeJu Kang <mobum.kang@samsung.com>
Fri, 4 Jan 2013 06:10:52 +0000 (15:10 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Fri, 4 Jan 2013 06:10:52 +0000 (15:10 +0900)
Change-Id: Ia582996174d84e5464b40173fa66d1d9de75d5a7
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
src/FShell_LiveboxViewModel.cpp

index bd604c6..afa97e0 100644 (file)
@@ -45,7 +45,15 @@ _LiveboxViewModel::Initialize(const AppId& appId, const Tizen::Base::String& pro
 {
        __appId = appId;
        __providerName = providerName;
-       __liveboxId = __appId + L"." + __providerName;
+
+       if (__providerName.IsEmpty())
+       {
+               __liveboxId = __appId;
+       }
+       else
+       {
+               __liveboxId = __appId + L"." + __providerName;
+       }
 
        SysLog(NID_UI_CTRL, "(%ls %ls %ls)", __appId.GetPointer(), __providerName.GetPointer(), __liveboxId.GetPointer());