(Vector) Let we send finished signal only for matched sent play/stop from visual 09/309209/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 5 Apr 2024 13:28:08 +0000 (22:28 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 8 Apr 2024 02:59:15 +0000 (11:59 +0900)
commitd6421139d559d6cc63ea4843eae8fe688df896f6
tree4a4e382b91b55e41798f798825afdd0ffb5d763e
parente932cfe12f31e474de205a1d990665b064d902cb
(Vector) Let we send finished signal only for matched sent play/stop from visual

It is possible that AnimationFinished trigger comes "after" event thread Play action comes.

If then, user's Play action be skipped.

To avoid this case, let we give the id when play state changed to Play / Pause / Stop.
And send finished signal only if the id is matched what visual know.

Change-Id: I03409e65d2f6b947940ea5591959b106ff8de2bd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.cpp
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.h
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-task.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-task.h
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-thread.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-thread.h