What is difference between setFlags and addFlags for intent. Could any one explain it please. Help Appreciated.
public Intent addFlags(int flags) { mFlags |= flags; return this; } public Intent setFlags(int flags) { mFlags = flags; return this; }
Just found this from the source code,for reference.