From d0fd983c2e089b5aadf5f86692269f42d70ca6eb Mon Sep 17 00:00:00 2001 From: ShirosakiMio <852468399@qq.com> Date: Mon, 22 Jul 2024 10:54:43 +0800 Subject: [PATCH] Update FileBrowserActivity.java --- .../com/tungsten/fcllibrary/browser/FileBrowserActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FCLLibrary/src/main/java/com/tungsten/fcllibrary/browser/FileBrowserActivity.java b/FCLLibrary/src/main/java/com/tungsten/fcllibrary/browser/FileBrowserActivity.java index c1ec04986..120c6ce4c 100644 --- a/FCLLibrary/src/main/java/com/tungsten/fcllibrary/browser/FileBrowserActivity.java +++ b/FCLLibrary/src/main/java/com/tungsten/fcllibrary/browser/FileBrowserActivity.java @@ -170,7 +170,7 @@ public void onClick(View view) { } 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);