diff options
Diffstat (limited to 'app/src/main/java/org/traccar/manager/MainFragment.java')
-rw-r--r-- | app/src/main/java/org/traccar/manager/MainFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/traccar/manager/MainFragment.java b/app/src/main/java/org/traccar/manager/MainFragment.java index 4d71e25..4d88b2f 100644 --- a/app/src/main/java/org/traccar/manager/MainFragment.java +++ b/app/src/main/java/org/traccar/manager/MainFragment.java @@ -143,7 +143,7 @@ public class MainFragment extends WebViewFragment { openFileCallback = null; } if (openFileCallback2 != null) { - openFileCallback2.onReceiveValue(new Uri[] { result }); + openFileCallback2.onReceiveValue(result != null ? new Uri[] { result } : new Uri[0]); openFileCallback2 = null; } } |