Browse Source

Merge pull request #12837 from german77/cat

service: am: Focus state changed goes last
liamwhite 2 năm trước cách đây
mục cha
commit
06abf3205a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/hle/service/am/am.cpp

+ 1 - 1
src/core/hle/service/am/am.cpp

@@ -931,8 +931,8 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
     sleep_lock_event = service_context.CreateEvent("ICommonStateGetter::SleepLockEvent");
 
     // Configure applets to be in foreground state
-    msg_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
     msg_queue->PushMessage(AppletMessageQueue::AppletMessage::ChangeIntoForeground);
+    msg_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
 }
 
 ICommonStateGetter::~ICommonStateGetter() {