|
|
|
@ -101,12 +101,13 @@ Result ILibraryAppletAccessor::PushInData(SharedPointer<IStorage> storage) { |
|
|
|
|
|
|
|
Result ILibraryAppletAccessor::PopOutData(Out<SharedPointer<IStorage>> out_storage) { |
|
|
|
LOG_DEBUG(Service_AM, "called"); |
|
|
|
if (auto caller_applet = m_applet->caller_applet.lock(); caller_applet) { |
|
|
|
Event m_system_event = caller_applet->lifecycle_manager.GetSystemEvent(); |
|
|
|
m_system_event.Signal(); |
|
|
|
caller_applet->lifecycle_manager.RequestResumeNotification(); |
|
|
|
m_system_event.Clear(); |
|
|
|
} |
|
|
|
if (auto caller_applet = m_applet->caller_applet.lock(); caller_applet) { |
|
|
|
Event m_system_event = caller_applet->lifecycle_manager.GetSystemEvent(); |
|
|
|
m_system_event.Signal(); |
|
|
|
caller_applet->lifecycle_manager.RequestResumeNotification(); |
|
|
|
m_system_event.Clear(); |
|
|
|
caller_applet->lifecycle_manager.SignalSystemEventIfNeeded(); |
|
|
|
} |
|
|
|
R_RETURN(m_broker->GetOutData().Pop(out_storage.Get())); |
|
|
|
} |
|
|
|
|
|
|
|
|