NSE_42316
[apps/osp/Gallery.git] / src / GlGalleryApp.cpp
index 7a43aab..27764b0 100644 (file)
@@ -181,6 +181,11 @@ GalleryApp::OnForeground(void)
                pMainFrame->Invalidate(true);
        }
 
+       ContentUpdateEventListener* pContentListener = ContentUpdateEventListener::GetInstance();
+       if (pContentListener->GetChangeNotificationStatus() == true)
+       {
+               pContentListener->ResumeOperation();
+       }
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
 }
 
@@ -239,3 +244,16 @@ GalleryApp::SetFrameEnabled(const bool enabled)
                pMainFrame->SetEnabled(enabled);
        }
 }
+
+bool
+GalleryApp::IsHwKeySupported(void)
+{
+       AppLogDebug("ENTER");
+
+       bool isHwKeyExist = false;
+       Tizen::System::SystemInfo::GetValue(L"http://tizen.org/feature/input.keys.back", isHwKeyExist);
+
+       AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
+
+       return isHwKeyExist;
+}