Direct contact search

This commit is contained in:
M66B 2022-08-27 09:39:14 +02:00
parent 424c702266
commit 126a5901a0
1 changed files with 3 additions and 2 deletions

View File

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