[Tizen] Allow to add idler even if adaptor paused 28/302628/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 7 Dec 2023 06:23:02 +0000 (15:23 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Mon, 11 Dec 2023 08:21:48 +0000 (17:21 +0900)
commit8ce7667da6cee9e294bf1a832d49f306c9d5ab01
tree608dc00974c6378787aa0e769f8bac9e8c8f95a0
parentf0c28910e1fb5cf5f9b87bf597ad0aff0da5a53c
[Tizen] Allow to add idler even if adaptor paused

Let we install idler function even if Adaptor is paused.

Since the Adaptor pause state depend on by Windows visibility, not app state,
Application::AddIdle() API usage make some confused.

For example, We cannot call AddIdle() at Application::OnResume callback
because the Window::OnIconifyChanged signal still not comed.

To avoid it, let we just allow Idler function add even Adator is paused.

Change-Id: I943ef76d4e759e282675fbcbc06f0a87d95e9fea
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/adaptor/common/adaptor-impl.h
dali/internal/adaptor/common/adaptor.cpp
dali/internal/adaptor/common/application-impl.cpp
dali/internal/offscreen/common/offscreen-application-impl.cpp