by Petro parashenko
** READ THE DESCRIPTION BELOW **
This flow is for running app that has problems with XPOSED installer such as games like MARVEL FUTURE FIGHT, SEVEN KNIGHTS, RUSH-N-KRUSH, EVIL BANE, etc that detect xposed installer. Xposed modules do not hide xposed from these games either ( such as rootcloak, denying permissions, etc ).
So instead, it renames de.robv.android.xposed.installer to de.robv.android.xposed.installer2 when running these app, and rename it back to de.robv.android.xposed.installer when the app is closed.
Customize to your app that you need
Change the package in the start app, when foreground app, and kill app blocks in the flowchart to any app you want.
Credit goes to DeepPurple72 for sharing the original fix at http://forum.xda-developers.com/xposed/xposed-security-alert-code-2-netmarble-t3400258/