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

Commit b7c19472 authored by tiansiming [田思明]'s avatar tiansiming [田思明] Committed by android-build-merger
Browse files

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

am: 4b38e958

Change-Id: Icbd590ffa9a8d0c744bac8a97780857c18595100
parents ffec0b0f 4b38e958
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;
    }

    /**