This commit is contained in:
Chumva 2018-05-10 18:50:51 +03:00
parent a8d63a65d0
commit f3e2b3e56a

View file

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