Update FileBrowserActivity.java

This commit is contained in:
ShirosakiMio 2024-07-22 10:54:43 +08:00
parent 69e0b11ac9
commit d0fd983c2e
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class FileBrowserActivity extends FCLActivity implements View.OnClickList
}
if (view == openExternal) {
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());
Intent intent = new Intent(Intent.ACTION_SEND);