rename intent actions to use KEYRING instead of KEY

This commit is contained in:
Dominik Schürmann
2013-01-17 01:53:49 +01:00
parent 40f2355b1a
commit f334dea1b5
6 changed files with 18 additions and 16 deletions

View File

@@ -138,10 +138,10 @@
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="stateHidden" >
<intent-filter>
<action android:name="org.sufficientlysecure.keychain.action.EDIT_KEY" />
<action android:name="org.sufficientlysecure.keychain.action.EDIT_KEYRING" />
<!-- With permission ACCESS_API: -->
<action android:name="org.sufficientlysecure.keychain.action.CREATE_KEY" />
<action android:name="org.sufficientlysecure.keychain.action.CREATE_KEYRING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
@@ -153,7 +153,7 @@
android:launchMode="singleTop"
android:uiOptions="splitActionBarWhenNarrow" >
<intent-filter>
<action android:name="org.sufficientlysecure.keychain.action.SELECT_PUBLIC_KEYS" />
<action android:name="org.sufficientlysecure.keychain.action.SELECT_PUBLIC_KEYRINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
@@ -171,7 +171,7 @@
android:label="@string/title_selectSignature"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="org.sufficientlysecure.keychain.action.SELECT_SECRET_KEY" />
<action android:name="org.sufficientlysecure.keychain.action.SELECT_SECRET_KEYRING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

View File

@@ -67,8 +67,8 @@ import java.util.Vector;
public class EditKeyActivity extends SherlockFragmentActivity {
// possible intent actions for this activity
public static final String ACTION_CREATE_KEY = Constants.INTENT_PREFIX + "CREATE_KEY";
public static final String ACTION_EDIT_KEY = Constants.INTENT_PREFIX + "EDIT_KEY";
public static final String ACTION_CREATE_KEY = Constants.INTENT_PREFIX + "CREATE_KEYRING";
public static final String ACTION_EDIT_KEY = Constants.INTENT_PREFIX + "EDIT_KEYRING";
// possible extra keys
public static final String EXTRA_USER_IDS = "userIds";

View File

@@ -33,7 +33,7 @@ public class SelectPublicKeyActivity extends SherlockFragmentActivity {
// Not used in sourcode, but listed in AndroidManifest!
public static final String ACTION_SELECT_PUBLIC_KEYS = Constants.INTENT_PREFIX
+ "SELECT_PUBLIC_KEYS";
+ "SELECT_PUBLIC_KEYRINGS";
public static final String EXTRA_SELECTED_MASTER_KEY_IDS = "masterKeyIds";

View File

@@ -32,7 +32,7 @@ public class SelectSecretKeyActivity extends SherlockFragmentActivity {
// Not used in sourcode, but listed in AndroidManifest!
public static final String ACTION_SELECT_SECRET_KEY = Constants.INTENT_PREFIX
+ "SELECT_SECRET_KEY";
+ "SELECT_SECRET_KEYRING";
public static final String RESULT_EXTRA_MASTER_KEY_ID = "masterKeyId";
public static final String RESULT_EXTRA_USER_ID = "userId";