fix jira issues.
authorChangyong Jeon <fin10.jeon@samsung.com>
Thu, 18 Jul 2013 10:34:56 +0000 (19:34 +0900)
committerChangyong Jeon <fin10.jeon@samsung.com>
Thu, 18 Jul 2013 10:34:56 +0000 (19:34 +0900)
Change-Id: I7b549b299d85e85157f4c0364e5bec57cd4bdf42

Installer/src/IstInstalledPopup.cpp
InstallerService/src/InstallerService.cpp

index ded911e..bedba93 100644 (file)
@@ -121,7 +121,11 @@ InstalledPopup::OnInitializing(void)
 
        if (!__isLaunchable)
        {
-               GridLayout* pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetLayoutN());
+               GridLayout* pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetLandscapeLayoutN());
+               pLayout->SetColumnCollapsed(2, true);
+               pLayout->Update();
+               delete pLayout;
+               pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetPortraitLayoutN());
                pLayout->SetColumnCollapsed(2, true);
                pLayout->Update();
                delete pLayout;
index e134421..fc2e1dc 100644 (file)
@@ -216,15 +216,19 @@ InstallerServiceApp::OnPackageInstallationCompleted(const Tizen::App::PackageId&
        r = notificationManager.NotifyByAppId(mainAppId, request);
        AppLogExceptionIf(IsFailed(r), "[%s] Failed to notify message.", GetErrorMessage(r));
 
-       String* pFilePath = dynamic_cast<String*>(__filePathList.GetAt(++__index));
-       if (pFilePath)
+       String* pFilePath = null;
+       do
        {
-               r = Install(*pFilePath);
-               if (r == E_SUCCESS)
+               pFilePath = dynamic_cast<String*>(__filePathList.GetAt(++__index));
+               if (pFilePath)
                {
-                       return;
+                       r = Install(*pFilePath);
+                       if (r == E_SUCCESS)
+                       {
+                               return;
+                       }
                }
-       }
+       } while (pFilePath);
 
        __pFrame->SetShowState(false);
        Terminate();
@@ -261,6 +265,7 @@ InstallerServiceApp::Install(const Tizen::Base::String& filePath)
 
        delete __pInfo;
        __pInfo = PackageManager::GetInstance()->GetPackageInfoFromFileN(filePath);
+       TryReturn(__pInfo, GetLastResult(), "[%s] Failed to get the packageInfo. - %ls", GetErrorMessage(GetLastResult()), filePath.GetPointer());
        __packageId = __pInfo->GetId();
 
        PackageAppInfo* pMainAppInfo = __pInfo->GetPackageAppInfoN(__pInfo->GetMainAppId());
@@ -297,6 +302,7 @@ InstallerServiceApp::Install(const Tizen::Base::String& filePath)
        __pProgress->SetValue(0);
        __pDegreeLabel->SetText(L"0%");
 
+       __pFrame->Invalidate(true);
        __pFrame->SetShowState(true);
        __pFrame->Show();