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

BUG: 26183328
Change-Id: I2bd8ff0315e04dd33fe720f0e5c32dec06747afc
This commit is contained in:
Chris Banes
2015-12-17 10:00:26 +00:00
parent fbca8264e0
commit 12a47ac41e

View File

@@ -378,6 +378,7 @@ public class AlertController {
if (mIconView != null) {
if (icon != null) {
mIconView.setVisibility(View.VISIBLE);
mIconView.setImageDrawable(icon);
} else {
mIconView.setVisibility(View.GONE);