|
|
@ -335,6 +335,7 @@ public class FragmentRule extends FragmentBase {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
|
|
|
|
pick.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_SENDER);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_SENDER);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -352,6 +353,7 @@ public class FragmentRule extends FragmentBase {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
|
|
|
|
pick.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_RECIPIENT);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_RECIPIENT);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -646,6 +648,7 @@ public class FragmentRule extends FragmentBase {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
|
|
|
|
|
|
|
pick.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_TO);
|
|
|
|
startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_TO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|