Update FileBrowserActivity.java
This commit is contained in:
parent
69e0b11ac9
commit
d0fd983c2e
|
@ -170,7 +170,7 @@ public class FileBrowserActivity extends FCLActivity implements View.OnClickList
|
||||||
}
|
}
|
||||||
if (view == openExternal) {
|
if (view == openExternal) {
|
||||||
if (currentPath.toFile().getAbsolutePath().equals(Environment.getExternalStorageDirectory().getAbsolutePath())) {
|
if (currentPath.toFile().getAbsolutePath().equals(Environment.getExternalStorageDirectory().getAbsolutePath())) {
|
||||||
return;
|
currentPath = currentPath.resolve("FCL");
|
||||||
}
|
}
|
||||||
Uri uri = FileProvider.getUriForFile(this, getString(R.string.file_browser_provider), currentPath.toFile());
|
Uri uri = FileProvider.getUriForFile(this, getString(R.string.file_browser_provider), currentPath.toFile());
|
||||||
Intent intent = new Intent(Intent.ACTION_SEND);
|
Intent intent = new Intent(Intent.ACTION_SEND);
|
||||||
|
|
Loading…
Reference in New Issue