A strange issue in a vivo device

LF0

Member
I found that the open/close trigger of the application becomes unreliable when I use the system launcher.

When I open a system application (such as system settings), MacroDroid cannot detect that it has been opened. The application open trigger only fires when I interact with the settings. If I don't click on any setting option, it will never fire (even if the settings page has been opened).

When I switch to a third-party launcher (such as Microsoft Launcher) and open system settings, the trigger will fire normally.

This is very strange. Does anyone know the reason for this problem?
 

Endercraft

Moderator (& bug finder :D)
Show a floating text with [fg_app_name] as text and see if it changes when opening the app. If not most likely the OS doesn't report the app as being foreground until you interact with it.
 

LF0

Member
Thank you for your reply

Show a floating text with [fg_app_name] as text and see if it changes when opening the app. If not most likely the OS doesn't report the app as being foreground until you interact with it.

Yes, I've tried the floating text, and that's why I'm confused.

I just searched for some relevant information, and it told me that whether the app is in the foreground is reported by the launcher. So, it seems like the issue is that the system launcher wasn't correctly reporting it as a foreground app when system settings opened.

I have now replaced the system launcher with the Niagara launcher, and the app opening trigger is now working properly.
 
Top