Only Adapt MMC unmount event
authorHyukSoon Choi <hs619.choi@samsung.com>
Mon, 18 Mar 2013 13:43:00 +0000 (22:43 +0900)
committerHyukSoon Choi <hs619.choi@samsung.com>
Mon, 18 Mar 2013 13:43:00 +0000 (22:43 +0900)
Change-Id: If45f0b586764f3fa4c8b09656602ab9dd99972ee
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
src/GlGalleryApp.cpp

index 4554054..da30a26 100644 (file)
@@ -243,8 +243,7 @@ void
 GalleryApp::OnDeviceStateChanged(DeviceType deviceType, const Tizen::Base::String& state)
 {
        AppLogDebug("ENTER");
-       if (deviceType == DEVICE_TYPE_STORAGE_CARD
-                       && (state == DEVICE_STORAGE_CARD_MOUNTED || state == DEVICE_STORAGE_CARD_UNMOUNTED))
+       if (deviceType == DEVICE_TYPE_STORAGE_CARD && state == DEVICE_STORAGE_CARD_UNMOUNTED)
        {
                SceneManager* pSceneManager = SceneManager::GetInstance();
                AppAssert(pSceneManager);