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

Commit fc6096a7 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Modify isShowing method in Dialog" am: 46be1f15 am:...

Merge "Merge "Modify isShowing method in Dialog" am: 46be1f15 am: 4b38e958" into pi-dev-plus-aosp
parents cd6564d3 b7c19472
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;
    }

    /**