if (__pContentIdList != null && __pContentIdList->GetCount() > 0)
{
AppLogDebug("Starting timer");
- __pMoveProBar = new (std::nothrow) GlProgressBar(static_cast<IActionEventListener*>(this));
+ __pMoveProBar = new (std::nothrow) GlProgressBar(static_cast<IActionEventListener*>(this), static_cast<IPropagatedKeyEventListener*>(this));
__pMoveProBar->ShowFileProgressingPopup(__pContentIdList->GetCount(), _actionId);
__moveToCount = 0;
__moveTimer.Construct(*this);
}
}
+
+bool
+GlTimerBase::OnKeyReleased(Control& source, const Tizen::Ui::KeyEventInfo& keyEventInfo)
+{
+ AppLogDebug("ENTER");
+
+ if(keyEventInfo.GetKeyCode() == KEY_BACK)
+ {
+ CancelTimer();
+ }
+ return true;
+}