Skip to content

Commit

Permalink
Update EnhancedNativeActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Dec 19, 2024
1 parent 3ff39f4 commit 6574f65
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).absolutePath; // Use app private path for now
String externalDirectoryPath = getExternalFilesDir(null).getAbsolutePath(); // Use app private path for now
File copiedFile = copyFileToExternalDirectory(selectedFileUri, externalDirectoryPath, filename); // TODO: Implement SAF

if (copiedFile != null) {
Expand Down

0 comments on commit 6574f65

Please sign in to comment.