Merge "Update message in SIM PIN view when configuration changes" into mnc-dr-dev
This commit is contained in:
@@ -23,6 +23,7 @@ import com.android.internal.telephony.PhoneConstants;
|
|||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
|
import android.content.res.Configuration;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.AlertDialog.Builder;
|
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
|
@Override
|
||||||
protected int getPromtReasonStringRes(int reason) {
|
protected int getPromtReasonStringRes(int reason) {
|
||||||
// No message on SIM Pin
|
// No message on SIM Pin
|
||||||
|
|||||||
Reference in New Issue
Block a user