Fix issue where SIM PIN message would be visible

am: 00ce73a418

Change-Id: I9402d4f1ed7115a38866e8945604dd300f52acdd
This commit is contained in:
Lucas Dupin
2019-08-02 09:52:55 -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));