Fix exception

This commit is contained in:
Alexander Sytnyk 2017-07-31 12:46:02 +03:00
parent c43537b131
commit 46dd3a9160

View file

@ -96,7 +96,7 @@ public class UploadOpenstreetmapPointAsyncTask
@Override @Override
protected void onPostExecute(Map<OsmPoint, String> loadErrorsMap) { protected void onPostExecute(Map<OsmPoint, String> loadErrorsMap) {
if (progress != null) { if (progress != null) {
progress.dismiss(); progress.dismissAllowingStateLoss();
} }
listener.uploadEnded(loadErrorsMap); listener.uploadEnded(loadErrorsMap);
} }