diff options
| author | 2019-08-02 10:03:47 -0700 | |
|---|---|---|
| committer | 2019-08-02 10:03:47 -0700 | |
| commit | ded6d5d3bcd4fe2b529a793ccfc06a4367b321d8 (patch) | |
| tree | 379354cd75595fa6ef0908dce0975dbc36df6379 | |
| parent | e2a64f314d1cf6f1120b9512b13a3fbe6bc1549b (diff) | |
| parent | 98fe256cefdcb7dfb18d0f845356944e00737cf8 (diff) | |
Fix issue where SIM PIN message would be visible am: 00ce73a418
am: 98fe256cef
Change-Id: Ifcc7696c7c8bf666dfdf46dc6e55df84ac06a5d9
| -rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java index fb3a586677aa..69da990a0a73 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java @@ -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)); |