Skip to content

Commit cee693b

Browse files
authored
Merge pull request graphhopper#739 from devemux86/issue_738
Android sample: fix progress dialog leak, graphhopper#738
2 parents 0128d79 + 437d713 commit cee693b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/graphhopper/android/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ protected void onProgressUpdate( Integer... values )
384384

385385
protected void onPostExecute( Object _ignore )
386386
{
387-
dialog.hide();
387+
dialog.dismiss();
388388
if (hasError())
389389
{
390390
String str = "An error happened while retrieving maps:" + getErrorMessage();

0 commit comments

Comments
 (0)