Battery Level error pop up check:N_SE-37121
authorrahul varna <rahul.varna@samsung.com>
Mon, 6 May 2013 06:52:40 +0000 (12:22 +0530)
committerrahul varna <rahul.varna@samsung.com>
Mon, 6 May 2013 06:52:40 +0000 (12:22 +0530)
Signed-off-by: rahul varna <rahul.varna@samsung.com>
project/src/Camera/CameraCaptureForm.cpp
project/src/Recorder/VideoRecorderForm.cpp

index 803852f..2fc7cfb 100644 (file)
@@ -3774,9 +3774,9 @@ CameraCaptureForm::OnBackground(void)
        AppLog("OnBackground Enter");
        if (__pCamera != null)
        {
-               ClearErrorPopup();
                FreeResources();
        }
+       ClearErrorPopup();
        __background = true;
 }
 
index 6b1b5ce..3e99704 100644 (file)
@@ -1235,9 +1235,12 @@ VideoRecorderForm::Activate(void* pActivateParam)
 
        AppLog("VideoRecorderForm::Activate enter CAM TYPE = %d", __camType);
 
+       __cameraError = CAMERA_ERROR_NONE;
+
        if (IsBatteryLevelLow() == true)
        {
                ShowMessagePopup("Please Charge the Battery to use Video Recorder", ID_BUTTON_ERROR_POPUP_OK);
+               __cameraError = CAMERA_ERROR_DEVICE_INTERRUPTED;
                return E_SUCCESS;
        }
        else