This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Android: handle case when we don’t receive file open events while sharing.
tags/2021-05-28
Lukasz Kozakiewicz
7 years ago
parent
8e28a68bd0
commit
ef482e6c37
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
modules/juce_gui_basics/native/juce_android_ContentSharer.cpp
+ 2
- 1
modules/juce_gui_basics/native/juce_android_ContentSharer.cpp
View File
@@ -158,7 +158,8 @@ public:
{
--numOpenedHandles;
if (fileWasRead && numOpenedHandles == 0)
// numOpenedHandles may get negative if we don't receive open handle event.
if (fileWasRead && numOpenedHandles <= 0)
{
MessageManager::callAsync ([this]
{
Write
Preview
Loading…
Cancel
Save