mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Avoid another crash in Android launcher
This commit is contained in:
parent
5faaf175f9
commit
702f57d5cc
@ -133,6 +133,12 @@ public class ExportDataController extends LauncherSettingController<Void, Void>
|
||||
}
|
||||
}
|
||||
|
||||
if (exported == null)
|
||||
{
|
||||
publishProgress("Failed to copy file " + child.getName());
|
||||
return false;
|
||||
}
|
||||
|
||||
try(
|
||||
final OutputStream targetStream = owner.getContentResolver()
|
||||
.openOutputStream(exported.getUri());
|
||||
|
Loading…
Reference in New Issue
Block a user