Fix issue where SIM PIN message would be visible

am: 00ce73a418

Change-Id: Iccead985c72780fbf0cf4083a2a8c203a976eee3
This commit is contained in:
Lucas Dupin
2019-08-02 09:53:05 -07:00
committed by android-build-merger

View File

@@ -123,7 +123,7 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView {
msg = rez.getString(R.string.kg_sim_lock_esim_instructions, msg);
}
if (mSecurityMessageDisplay != null) {
if (mSecurityMessageDisplay != null && getVisibility() == VISIBLE) {
mSecurityMessageDisplay.setMessage(msg);
}
mSimImageView.setImageTintList(ColorStateList.valueOf(color));