Direct contact search

pull/209/head
M66B 2 years ago
parent 424c702266
commit 126a5901a0

@ -331,8 +331,9 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
} }
private void onActionSearch() { private void onActionSearch() {
Intent search = new Intent(context, ActivitySearch.class); Intent search = new Intent(context, ActivityView.class)
search.putExtra(Intent.EXTRA_PROCESS_TEXT, contact.email); .putExtra(Intent.EXTRA_PROCESS_TEXT, contact.email)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
context.startActivity(search); context.startActivity(search);
} }

Loading…
Cancel
Save