is (not) application

This commit is contained in:
Exverge 2024-03-24 19:58:09 +01:00
parent dd5d36a796
commit c9bb915949

View file

@ -181,8 +181,9 @@ Result ILibraryAppletSelfAccessor::ExitProcessAndReturn() {
if(!m_applet->caller_applet.expired()) {
std::shared_ptr<Applet> applet = m_applet->caller_applet.lock();
if(applet == nullptr) R_SUCCEED();
LOG_INFO(Service_AM, "HAS CALLER");
system.GetAppletManager().TrackApplet(applet, true);
LOG_INFO(Service_AM, "tracking caller applet");
// todo: is_application is set to false as window_system doesn't allow re-tracking without replacing the application
system.GetAppletManager().TrackApplet(applet, false);
applet->lifecycle_manager.SetFocusState(FocusState::InFocus);
}
R_SUCCEED();