aboutsummaryrefslogtreecommitdiffstats
path: root/org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java
diff options
context:
space:
mode:
authorDominik <dominik@dominikschuermann.de>2012-09-08 19:55:17 +0200
committerDominik <dominik@dominikschuermann.de>2012-09-08 19:55:17 +0200
commit3995c96149695cf553cde692ead61f8eb6ff1cef (patch)
tree5046c0ac14e9e99045572f9e5f3425451f94931d /org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java
parent86bcdc046e701f29fdcedd147a5269f840ae06b0 (diff)
downloadopen-keychain-3995c96149695cf553cde692ead61f8eb6ff1cef.tar.gz
open-keychain-3995c96149695cf553cde692ead61f8eb6ff1cef.tar.bz2
open-keychain-3995c96149695cf553cde692ead61f8eb6ff1cef.zip
fix signature view, cleanup
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java')
-rw-r--r--org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java b/org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java
index c151da07c..1e2423bd1 100644
--- a/org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java
+++ b/org_apg/src/org/thialfihar/android/apg/ui/EditKeyActivity.java
@@ -397,62 +397,6 @@ public class EditKeyActivity extends SherlockFragmentActivity {
}
}
- // @Override
- // protected Dialog onCreateDialog(int id) {
- // switch (id) {
- // case Id.dialog.new_pass_phrase: {
- // AlertDialog.Builder alert = new AlertDialog.Builder(this);
- //
- // if (isPassphraseSet()) {
- // alert.setTitle(R.string.title_changePassPhrase);
- // } else {
- // alert.setTitle(R.string.title_setPassPhrase);
- // }
- // alert.setMessage(R.string.enterPassPhraseTwice);
- //
- // LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
- // View view = inflater.inflate(R.layout.passphrase, null);
- // final EditText input1 = (EditText) view.findViewById(R.id.passphrase_passphrase);
- // final EditText input2 = (EditText) view.findViewById(R.id.passphrase_passphrase_again);
- //
- // alert.setView(view);
- //
- // alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
- // public void onClick(DialogInterface dialog, int id) {
- // removeDialog(Id.dialog.new_pass_phrase);
- //
- // String passPhrase1 = "" + input1.getText();
- // String passPhrase2 = "" + input2.getText();
- // if (!passPhrase1.equals(passPhrase2)) {
- // showDialog(Id.dialog.pass_phrases_do_not_match);
- // return;
- // }
- //
- // if (passPhrase1.equals("")) {
- // showDialog(Id.dialog.no_pass_phrase);
- // return;
- // }
- //
- // mNewPassPhrase = passPhrase1;
- // updatePassPhraseButtonText();
- // }
- // });
- //
- // alert.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
- // public void onClick(DialogInterface dialog, int id) {
- // removeDialog(Id.dialog.new_pass_phrase);
- // }
- // });
- //
- // return alert.create();
- // }
- //
- // default: {
- // return super.onCreateDialog(id);
- // }
- // }
- // }
-
private void saveClicked() {
try {
if (!isPassphraseSet()) {