Updated AndroidX core

pull/189/head
M66B 4 years ago
parent 92513fca31
commit 4fbec3a44b

@ -237,7 +237,7 @@ configurations.all {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
def core_version = "1.5.0-alpha04" def core_version = "1.5.0-alpha05"
def appcompat_version = "1.3.0-alpha02" def appcompat_version = "1.3.0-alpha02"
def activity_version = "1.2.0-beta01" def activity_version = "1.2.0-beta01"
def fragment_version = "1.3.0-beta01" def fragment_version = "1.3.0-beta01"

@ -208,6 +208,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
try { try {
File file = attachment.getFile(context); File file = attachment.getFile(context);
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file); Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
// TODO: consider using getUriForFile(..., displayName)
Intent send = new Intent(); Intent send = new Intent();
send.setAction(Intent.ACTION_SEND); send.setAction(Intent.ACTION_SEND);

Loading…
Cancel
Save