Loading packages/Keyguard/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,7 @@ <!-- display airplane mode in lock sreen when phone is in APM mode --> <bool name="config_display_APM">false</bool> <!-- show cancel button on SIM PIN lock screen--> <bool name="config_show_cancel_button">false</bool> </resources> packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java +8 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,14 @@ public class KeyguardSimPinView extends KeyguardAbsKeyInputView } }); } if (mContext.getResources().getBoolean(R.bool.config_show_cancel_button)) { showCancelButton(); } else { final View cancel = findViewById(R.id.key_cancel); if (cancel != null) { cancel.setVisibility(INVISIBLE); } } // The delete button is of the PIN keyboard itself in some (e.g. tablet) layouts, // not a separate view Loading Loading
packages/Keyguard/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,7 @@ <!-- display airplane mode in lock sreen when phone is in APM mode --> <bool name="config_display_APM">false</bool> <!-- show cancel button on SIM PIN lock screen--> <bool name="config_show_cancel_button">false</bool> </resources>
packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java +8 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,14 @@ public class KeyguardSimPinView extends KeyguardAbsKeyInputView } }); } if (mContext.getResources().getBoolean(R.bool.config_show_cancel_button)) { showCancelButton(); } else { final View cancel = findViewById(R.id.key_cancel); if (cancel != null) { cancel.setVisibility(INVISIBLE); } } // The delete button is of the PIN keyboard itself in some (e.g. tablet) layouts, // not a separate view Loading