mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
i have no idea how but this actually fixes it
This commit is contained in:
parent
c66de56cce
commit
75ea409dbd
1 changed files with 4 additions and 0 deletions
|
@ -109,11 +109,15 @@ Result ILibraryAppletAccessor::PopOutData(Out<SharedPointer<IStorage>> out_stora
|
|||
system.GetAppletManager().RequestApplicationToForeground();
|
||||
// todo: is_appliaction is false because TrackApplet will not accept replacing the currently tracked applet
|
||||
system.GetAppletManager().TrackApplet(caller, false);
|
||||
caller->SetInteractibleLocked(false);
|
||||
caller->SetInteractibleLocked(true);
|
||||
caller->lifecycle_manager.SetResumeNotificationEnabled(true);
|
||||
caller->lifecycle_manager.SetFocusState(FocusState::InFocus);
|
||||
caller->lifecycle_manager.RequestResumeNotification();
|
||||
caller->lifecycle_manager.RequestResumeNotification();
|
||||
caller->UpdateSuspensionStateLocked(true);
|
||||
bool result = caller->lifecycle_manager.UpdateRequestedFocusState();
|
||||
caller->lifecycle_manager.SignalSystemEventIfNeeded();
|
||||
LOG_DEBUG(Service_AM, "result: {}, exit: {}", result, caller->lifecycle_manager.GetExitRequested());
|
||||
} else {
|
||||
LOG_CRITICAL(Service_AM, "Caller applet pointer is invalid.");
|
||||
|
|
Loading…
Reference in a new issue