Skip to content

Commit

Permalink
Merge pull request #1618 from nespjin/fix/pick_files_returns_null_on_…
Browse files Browse the repository at this point in the history
…redmi_note9

Fixed an issue where null was returned when picking up files
  • Loading branch information
Miguel Ruivo authored Nov 11, 2024
2 parents a5ea096 + 1742460 commit 0e932e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private void startFileExplorer() {
}

if (intent.resolveActivity(this.activity.getPackageManager()) != null) {
this.activity.startActivityForResult(Intent.createChooser(intent, null), REQUEST_CODE);
this.activity.startActivityForResult(intent, REQUEST_CODE);
} else {
Log.e(TAG, "Can't find a valid activity to handle the request. Make sure you've a file explorer installed.");
finishWithError("invalid_format_type", "Can't handle the provided file type.");
Expand Down

0 comments on commit 0e932e0

Please sign in to comment.