Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ade3d74f authored by Aaron Liu's avatar Aaron Liu
Browse files

Set setMessage after user activity.

User Activity sets message to empty string in parent class
"AbsInputViewController". Set 4-8 digit error message after this
invocation in order to persist the message.

Fixes: 266778824
Test: set a 9 digit pin in sim pin screen.
Change-Id: Icd964a7dfc5719d75d40f037977b6846ab559c32
parent 897e289b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -141,10 +141,10 @@ public class KeyguardSimPinViewController
        // GSM 02.17 version 5.0.1, Section 5.6 PIN Management
        if ((entry.length() < 4) || (entry.length() > 8)) {
            // otherwise, display a message to the user, and don't submit.
            mMessageAreaController.setMessage(
                    com.android.systemui.R.string.kg_invalid_sim_pin_hint);
            mView.resetPasswordText(true /* animate */, true /* announce */);
            getKeyguardSecurityCallback().userActivity();
            mMessageAreaController.setMessage(
                    com.android.systemui.R.string.kg_invalid_sim_pin_hint);
            return;
        }