@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (resultCode != Activity.RESULT_OK) { return; } switch (requestCode) { case SUBACTIVITY_ACCOUNT_FILTER: { AccountFilterUtil.handleAccountFilterResult( mContactListFilterController, resultCode, data); } break; } }
@Override public boolean onMenuItemClick(MenuItem item) { AccountFilterUtil.startAccountFilterActivityForResult( DialtactsActivity.this, SUBACTIVITY_ACCOUNT_FILTER); return true; }