aboutsummaryrefslogtreecommitdiffstats
path: root/org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java
diff options
context:
space:
mode:
authorDominik <dominik@dominikschuermann.de>2012-06-20 15:27:45 +0300
committerDominik <dominik@dominikschuermann.de>2012-06-20 15:27:45 +0300
commitc5ed6ce6f7dcb892cbdfac5bd591cb4e6e798961 (patch)
tree8feec5c8e184126bbec595912cbae322594eff7b /org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java
parente9c01957f4797d13518115e7e26ed015547f0891 (diff)
downloadopen-keychain-c5ed6ce6f7dcb892cbdfac5bd591cb4e6e798961.tar.gz
open-keychain-c5ed6ce6f7dcb892cbdfac5bd591cb4e6e798961.tar.bz2
open-keychain-c5ed6ce6f7dcb892cbdfac5bd591cb4e6e798961.zip
seperating intent action constants into activities as it is best practice, restructering...
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java')
-rw-r--r--org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java b/org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java
index 290fe7479..ad51ce4da 100644
--- a/org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java
+++ b/org_apg/src/org/thialfihar/android/apg/ui/SecretKeyListActivity.java
@@ -164,13 +164,13 @@ public class SecretKeyListActivity extends KeyListActivity implements OnChildCli
private void createKey() {
PGPHelper.setEditPassPhrase("");
- Intent intent = new Intent(PGPHelper.Intent.CREATE_KEY);
+ Intent intent = new Intent(EditKeyActivity.ACTION_CREATE_KEY);
startActivityForResult(intent, Id.message.create_key);
}
private void editKey() {
long keyId = ((KeyListAdapter) mList.getExpandableListAdapter()).getGroupId(mSelectedItem);
- Intent intent = new Intent(PGPHelper.Intent.EDIT_KEY);
+ Intent intent = new Intent(EditKeyActivity.ACTION_EDIT_KEY);
intent.putExtra(PGPHelper.EXTRA_KEY_ID, keyId);
startActivityForResult(intent, Id.message.edit_key);
}