Merge pull request #12837 from german77/cat

service: am: Focus state changed goes last
This commit is contained in:
liamwhite 2024-01-29 09:09:00 -05:00 committed by GitHub
commit 06abf3205a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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