Disable the PIN keyboard when enabling encryption

Fixes #854
This commit is contained in:
Alexander Bakker 2021-11-28 19:27:40 +01:00
parent 07b0b26caf
commit 4c977a6371

View file

@ -121,6 +121,7 @@ public class SecurityPreferencesFragment extends PreferencesFragment {
.setNegativeButton(android.R.string.no, null) .setNegativeButton(android.R.string.no, null)
.create()); .create());
} }
return false; return false;
}); });
@ -383,6 +384,7 @@ public class SecurityPreferencesFragment extends PreferencesFragment {
} }
getActivity().startService(new Intent(getActivity(), NotificationService.class)); getActivity().startService(new Intent(getActivity(), NotificationService.class));
_pinKeyboardPreference.setChecked(false);
updateEncryptionPreferences(); updateEncryptionPreferences();
} }