- if (runningKitKat) {
- // Show the KitKat password encryption message.
- kitKatPasswordEncryptionTextView.setVisibility(View.VISIBLE);
-
- // Hide the OpenPGP required text view and the file location card.
- openKeychainRequiredTextView.setVisibility(View.GONE);
- fileLocationCardView.setVisibility(View.GONE);
- } else {
- // Hide the OpenPGP layout items.
- openKeychainRequiredTextView.setVisibility(View.GONE);
- openKeychainImportInstructionsTextView.setVisibility(View.GONE);
-
- // Show the password encryption layout items.
- encryptionPasswordTextInputLayout.setVisibility(View.VISIBLE);
+ // Hide the OpenPGP layout items.
+ openKeychainRequiredTextView.setVisibility(View.GONE);
+ openKeychainImportInstructionsTextView.setVisibility(View.GONE);