Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08a4ac39 authored by Romain Guy's avatar Romain Guy
Browse files

Dismiss a dialog if dimissed right after calling show().

Bug #2508607

Change-Id: Id1b3afcaabf700386f70a46bc2401154575149aa
parent 82ce6f1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ public class Dialog implements DialogInterface, Window.Callback,
    }

    private void dismissDialog() {
        if (mDecor == null || !mShowing || mDecor.getWindowToken() == null) {
        if (mDecor == null || !mShowing) {
            return;
        }