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

Commit dc4e7941 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Call Dialog#isShowing before dismissing the dialog" into main

parents 42ffb06b 3fc92bd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ public class LogAccessDialogActivity extends Activity implements
        public void handleMessage(android.os.Message msg) {
            switch (msg.what) {
                case MSG_DISMISS_DIALOG:
                    if (mAlert != null) {
                    if (mAlert != null && mAlert.isShowing()) {
                        mAlert.dismiss();
                        declineLogAccess();
                    }