Change-Id: Idf56f8ecb560823035c0cbe026b360f118305343
Signed-off-by: Dmytro Dragan <dm.dragan@samsung.com>
void setListener(IAttachPanelListener *l);
void show(bool value);
bool isVisible() const;
+ bool isFullExpanded() const;
private:
AttachPanel(const AttachPanel&) = delete;
return res;
}
+bool AttachPanel::isFullExpanded() const
+{
+ attach_panel_state_e res = ATTACH_PANEL_STATE_HIDDEN;
+ if(m_Handle)
+ attach_panel_get_state(m_Handle, &res);
+ return res == ATTACH_PANEL_STATE_FULL;
+}
+
attach_panel_h AttachPanel::getAttachPanel()
{
if(m_Handle)
{
MSG_LOG("");
item.getParent().destroy();
+ if (m_AttachPanel.isFullExpanded())
+ m_AttachPanel.show(false);
m_pConvList->setMode(ConvList::SelectMode);
updateNavibar();
}
{
MSG_LOG("");
item.getParent().destroy();
+ if (m_AttachPanel.isFullExpanded())
+ m_AttachPanel.show(false);
createNewMsgThread();
if(m_pRecipPanel)
m_pRecipPanel->setEntryFocus(true);