If the bundle data has "__K_SERVICE_THREAD", the request will be
delivered to the service thread.
Change-Id: Id5fba4c8b49a561085029001c61a33f096de7f1e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
namespace tizen_cpp {
+constexpr const char K_SERVICE_THREAD[] = "__K_SERVICE_THREAD";
+
class AppCoreUiBase::Impl {
public:
Impl(AppCoreUiBase* parent, unsigned int hint)
impl_->state_ != Impl::AS_PAUSED)
return 0;
- if (type == AUL_START)
+ if (type == AUL_START) {
impl_->ExitFromSuspend();
+ if (!b.GetString(K_SERVICE_THREAD).empty()) {
+ impl_->service_->OnReceive(type, std::move(b));
+ return 0;
+ }
+ }
+
AppCoreBase::OnReceive(type, b);
switch (type) {