Just a quick question, as I couldn’t quite understand it from the documentation.
If I set a flag – any flag, or several flags – on an Intent prior to launch, is this flag cleared when the Activity starts or is it persistent? What I mean is that let’s say I have an Intent and apply FLAG_ACTIVITY_CLEAR_TOP to it – it will launch with this flag every time, or just once after I set it?
The Flag will be applied if you start your Intent where you set the Flag. The flag is not bound to your activity but to your Intent object. Therefore the flags are applied if your use the Intent to start the activity.