mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-04-24 23:18:50 +02:00
do not attempt sharing directories
This commit is contained in:
parent
ca7c6c886c
commit
86cdd270d9
@ -342,6 +342,7 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
|||||||
final ArrayList<Uri> uris = new ArrayList<>(itemIndexes.size());
|
final ArrayList<Uri> uris = new ArrayList<>(itemIndexes.size());
|
||||||
for (int i : itemIndexes) {
|
for (int i : itemIndexes) {
|
||||||
final File file = new File(mItems.get(i).getPath());
|
final File file = new File(mItems.get(i).getPath());
|
||||||
|
if (!file.isDirectory())
|
||||||
uris.add(Uri.fromFile(file));
|
uris.add(Uri.fromFile(file));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user