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

Commit b278ea0c authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android Git Automerger
Browse files

am 27f26df6: am 05b11bf3: Merge "Update message in SIM PIN view when...

am 27f26df6: am 05b11bf3: Merge "Update message in SIM PIN view when configuration changes" into mnc-dr-dev

* commit '27f26df6':
  Update message in SIM PIN view when configuration changes
parents 51a05d74 27f26df6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import com.android.internal.telephony.PhoneConstants;

import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
@@ -95,6 +96,12 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView {
        }
    }

    @Override
    protected void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        resetState();
    }

    @Override
    protected int getPromtReasonStringRes(int reason) {
        // No message on SIM Pin