diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-03-08 11:19:34 +0100 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-03-08 11:19:34 +0100 |
commit | 8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401 (patch) | |
tree | 2f68c772756535527b30cb629af87fabbf0afacc /OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java | |
parent | 4851f7f8fc5ca82d60a55e95730bf6c11675979c (diff) | |
download | open-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.tar.gz open-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.tar.bz2 open-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.zip |
working unified list (no actions yet)
Diffstat (limited to 'OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java')
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java index d8de30b37..706b30d05 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainContract.java @@ -78,6 +78,7 @@ public class KeychainContract { public static final String PATH_PUBLIC = "public"; public static final String PATH_SECRET = "secret"; + public static final String PATH_UNIFIED = "unified"; public static final String PATH_BY_MASTER_KEY_ID = "master_key_id"; public static final String PATH_BY_KEY_ID = "key_id"; @@ -100,6 +101,10 @@ public class KeychainContract { /** Use if a single item is returned */ public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.thialfihar.apg.key_ring"; + public static Uri buildUnifiedKeyRingsUri() { + return CONTENT_URI.buildUpon().appendPath(PATH_UNIFIED).build(); + } + public static Uri buildPublicKeyRingsUri() { return CONTENT_URI.buildUpon().appendPath(PATH_PUBLIC).build(); } |