mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
Android: Create URL object without checking the filepath in Process::openDocument() to avoid hitting an assertion when opening URLs
This commit is contained in:
parent
2e3a41cbb1
commit
9bad19151b
1 changed files with 1 additions and 1 deletions
|
|
@ -629,7 +629,7 @@ bool File::moveToTrash() const
|
|||
|
||||
JUCE_API bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String&)
|
||||
{
|
||||
URL targetURL (File {fileName});
|
||||
URL targetURL (File::createFileWithoutCheckingPath (fileName));
|
||||
auto* env = getEnv();
|
||||
|
||||
const LocalRef<jstring> action (javaString ("android.intent.action.VIEW"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue