title: Exclude activity from recents menu by code
body: <p>I need to exclude an activity from appearing in recent launched menu, but i am not able of adding <code>android:excludeFromRecents="true"</code> in <code>AndroidManifest.xml</code>, I have to do it in runtime.</p>
  
  <p>Does anyone knows if there is possible to set <code>FLAG_EXCLUDE_FROM_RECENTS</code> to the activity?</p>