|
|
|
@ -77,6 +77,7 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
|
|
|
|
|
public static final String OPEN_TASK = "openTask"; //$NON-NLS-1$
|
|
|
|
|
|
|
|
|
|
private static final String FILTER_MODE = "filterMode"; //$NON-NLS-1$
|
|
|
|
|
|
|
|
|
|
private static final int FILTER_MODE_NORMAL = 0;
|
|
|
|
|
private static final int FILTER_MODE_PEOPLE = 1;
|
|
|
|
|
private static final int FILTER_MODE_FEATURED = 2;
|
|
|
|
@ -261,6 +262,14 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected Bundle configureIntentAndExtrasWithFilter(Intent intent,
|
|
|
|
|
Filter filter) {
|
|
|
|
|
Bundle extras = super.configureIntentAndExtrasWithFilter(intent, filter);
|
|
|
|
|
getIntent().putExtra(FILTER_MODE, filterMode);
|
|
|
|
|
return extras;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param actionBar
|
|
|
|
|