mirror of https://github.com/M66B/FairEmail.git
Direct contact search
This commit is contained in:
parent
424c702266
commit
126a5901a0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue