Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Dec 18, 2024
1 parent b42550d commit 3ff39f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public void loadURI(Uri selectedFileUri, boolean is_rom){
if (selectedFileUri != null) {
// Get the original file's path using its URI
// Copy the file to the external directory
String externalDirectoryPath = getExternalFilesDir(null); // Use app private path for now
String externalDirectoryPath = getExternalFilesDir(null).absolutePath; // Use app private path for now
File copiedFile = copyFileToExternalDirectory(selectedFileUri, externalDirectoryPath, filename); // TODO: Implement SAF

if (copiedFile != null) {
Expand Down

0 comments on commit 3ff39f4

Please sign in to comment.