mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Package visibility changes
This commit is contained in:
@@ -252,11 +252,10 @@ public class ActivityEML extends ActivityBase {
|
||||
if (!TextUtils.isEmpty(apart.attachment.name))
|
||||
create.putExtra(Intent.EXTRA_TITLE, apart.attachment.name);
|
||||
Helper.openAdvanced(create);
|
||||
if (create.resolveActivity(getPackageManager()) == null)
|
||||
if (create.resolveActivity(getPackageManager()) == null) // system whitelisted
|
||||
ToastEx.makeText(ActivityEML.this, R.string.title_no_saf, Toast.LENGTH_LONG).show();
|
||||
else
|
||||
startActivityForResult(Helper.getChooser(ActivityEML.this, create), REQUEST_ATTACHMENT);
|
||||
|
||||
}
|
||||
});
|
||||
rvAttachment.setAdapter(adapter);
|
||||
|
||||
Reference in New Issue
Block a user