I have two apps App-B launches App-A. If the user starts App B from inside App A I call finish on App-A so I have no problem.
If the user goes straight to App B from th
this will work correctly
i.addFlag(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);