Fixed automatic screen transition in movemail form while sending an email 35/15235/1 master
authorSrinivasa Rao Payyavula <p.srinivasa@samsung.com>
Fri, 17 Jan 2014 06:45:42 +0000 (12:15 +0530)
committerSrinivasa Rao Payyavula <p.srinivasa@samsung.com>
Fri, 17 Jan 2014 06:45:42 +0000 (12:15 +0530)
Change-Id: Iace0407d52b4c8ca264b200c45dd5dc5e1240d80
Signed-off-by: Srinivasa Rao Payyavula <p.srinivasa@samsung.com>
src/EmMailListForm.cpp
src/EmMoveMailForm.cpp

index 82600d2..23f136b 100755 (executable)
@@ -3157,7 +3157,7 @@ MailListForm::GetItemCount(void)
                height = __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16);
        }
 
-       if (__mode == EDIT_MODE)
+       if (__mode == EDIT_MODE && height >= __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16) - __pSelectedLabel->GetHeight())
        {
                height = height - __pSelectedLabel->GetHeight();
        }
index 8881a4b..dbf7d0a 100755 (executable)
@@ -79,7 +79,7 @@ EmailMoveMailForm::OnInitializing(void)
        AppLogDebug("ENTER");
        result r = E_SUCCESS;
 
-       SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER);
+       SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE);
        SetOrientation(ORIENTATION_AUTOMATIC_FOUR_DIRECTION);
        SetFormBackEventListener(this);
 
@@ -401,7 +401,7 @@ EmailMoveMailForm::OnUserEventReceivedN(RequestId requestId, IList *pArgs)
                        break;
 
                default:
-                       // Empty implementation
+                       return;
                        break;
                } // switch __toMailboxType