Context wants FLAG_ACTIVITY_NEW_TASK but I've already set that flag
Problem has been fixed, I think this is simply the case of an "order of operation" scenario
heres what allowed this thing to work:
ll.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
if(chooser) {
Intent intent = Intent.createChooser(i, "Complete With");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mContext.startActivity(intent);
} else
mContext.startActivity(i);
}
});
also added a "final" modifier to the parameter in the method declaration
public LinearLayout ContentClickableRowWithIcon(Drawable icon, String title, final Intent i, final Boolean chooser)