Passphrase dialog: Button to switch between keyboard layouts

This commit is contained in:
Dominik Schürmann
2016-07-10 20:02:16 +02:00
parent 0011c5adac
commit 0ad0023fac
139 changed files with 98 additions and 17 deletions

View File

@@ -206,6 +206,12 @@ public class Preferences {
editor.commit();
}
public void setUseNumKeypadForSecurityTokenPin(boolean useNumKeypad) {
SharedPreferences.Editor editor = mSharedPreferences.edit();
editor.putBoolean(Pref.USE_NUMKEYPAD_FOR_SECURITY_TOKEN_PIN, useNumKeypad);
editor.commit();
}
public boolean getUseArmor() {
return mSharedPreferences.getBoolean(Pref.USE_ARMOR, false);
}