DCM-948 : AddControlAnimatorEventListener is not working
authorHyeJin Lee <hyejin79.lee@samsung.com>
Tue, 26 Mar 2013 11:08:34 +0000 (20:08 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 27 Mar 2013 10:30:56 +0000 (19:30 +0900)
Change-Id: I9f1477b744a8743ba88b75e939fbc0a73c3826d4

src/ui/animations/FUiAnim_AnimationManager.cpp

index 494824d..f328521 100644 (file)
@@ -744,6 +744,12 @@ _AnimationManager::IsImplicitAnimationEnabled(void) const
 _TransactionNode*
 _AnimationManager::GetCurrentTransaction(bool withGroup) const
 {
+       // default transaction is always committed.
+       if (__pCurrentTransaction && __pCurrentTransaction->IsCommitted())
+       {
+               return null;
+       }
+
        if (withGroup == false)
        {
                return __pCurrentTransactionExceptGroup;