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

Commit 46be1f15 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Modify isShowing method in Dialog"

parents 119cf2bc ca1c4d27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ public class Dialog implements DialogInterface, Window.Callback,
     * @return Whether the dialog is currently showing.
     */
    public boolean isShowing() {
        return mShowing;
        return mDecor == null ? false : mDecor.getVisibility() == View.VISIBLE;
    }

    /**