Fix 3298889: Show continue button on PIN and password screens
This fixes the above bug by allowing the PIN and password screens to shrink to reveal the continue/cancel buttons when the IME is shown. This also fixes a minor resource bug where the title was showing "confirm your password/pin" instead of "choose your password/pin". Change-Id: I610c6018085e0c4ef1b6dc384566d06d1211f8ea
This commit is contained in:
@@ -218,8 +218,8 @@ public class ChooseLockPassword extends PreferenceActivity {
|
||||
// Update the breadcrumb (title) if this is embedded in a PreferenceActivity
|
||||
if (activity instanceof PreferenceActivity) {
|
||||
final PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
|
||||
int id = mIsAlphaMode ? R.string.lockpassword_confirm_your_password_header
|
||||
: R.string.lockpassword_confirm_your_pin_header;
|
||||
int id = mIsAlphaMode ? R.string.lockpassword_choose_your_password_header
|
||||
: R.string.lockpassword_choose_your_pin_header;
|
||||
CharSequence title = getText(id);
|
||||
preferenceActivity.showBreadCrumbs(title, title);
|
||||
}
|
||||
|
Reference in New Issue
Block a user