Fix AlertDialog.setIcon() not working when called after show() pt.2
BUG: 26183328 Change-Id: I2bd8ff0315e04dd33fe720f0e5c32dec06747afc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user