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

Commit 476da772 authored by Chris Banes's avatar Chris Banes
Browse files

Fix AlertDialog.setIcon() not working when called after show()

BUG: 26183328
Change-Id: I86a5a299c9afa105c62a709d2a60b8b2e5b590dc
parent 35a57bc5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -359,6 +359,7 @@ public class AlertController {

        if (mIconView != null) {
            if (resId != 0) {
                mIconView.setVisibility(View.VISIBLE);
                mIconView.setImageResource(mIconId);
            } else {
                mIconView.setVisibility(View.GONE);