I mainly want to blank the screen in the recent apps list due to sensitive data being shown. For this, the solution is to use:
getWindow().addFlags(WindowMan
I think what you need is:
android:excludeFromRecents="true"
put that in your android manifest inside your (activity you want to exclude from recents)
(activity you want to exclude from recents)