From c9bb915949cc11d8f38162db40375d056f48984c Mon Sep 17 00:00:00 2001 From: Exverge Date: Sun, 24 Mar 2024 19:58:09 +0100 Subject: [PATCH] is (not) application --- .../hle/service/am/service/library_applet_self_accessor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/am/service/library_applet_self_accessor.cpp b/src/core/hle/service/am/service/library_applet_self_accessor.cpp index 9bc2374bb3..0301fbd74f 100644 --- a/src/core/hle/service/am/service/library_applet_self_accessor.cpp +++ b/src/core/hle/service/am/service/library_applet_self_accessor.cpp @@ -181,8 +181,9 @@ Result ILibraryAppletSelfAccessor::ExitProcessAndReturn() { if(!m_applet->caller_applet.expired()) { std::shared_ptr 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();