Android Question Intent Set & Add Flags

George_G

Member
Licensed User
Hello everyone.

I want add these two lines in my code.

lvIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
lvIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);

Is there anyway to do it?

Thank you in advance.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…