diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-22 13:42:03 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-22 13:42:03 +0200 |
commit | 002a391a68688bf1b9a81cc8c667964cd0fe5d71 (patch) | |
tree | ccfccdbb08ca1e8b1b1a8aa7e85a6c8c6cc8d586 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter | |
parent | 22ea9c60475b20819a29b535b772b699526d0146 (diff) | |
parent | 012b895e4f4fce0b3846bc688bb2738bde4f819a (diff) | |
download | open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.tar.gz open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.tar.bz2 open-keychain-002a391a68688bf1b9a81cc8c667964cd0fe5d71.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ViewKeyKeysAdapter.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ViewKeyKeysAdapter.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ViewKeyKeysAdapter.java index f4942a2a0..dae287bbc 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ViewKeyKeysAdapter.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ViewKeyKeysAdapter.java @@ -53,6 +53,22 @@ public class ViewKeyKeysAdapter extends CursorAdapter { private ColorStateList mDefaultTextColor; + public static final String[] KEYS_PROJECTION = new String[] { + Keys._ID, + Keys.KEY_ID, + Keys.RANK, + Keys.ALGORITHM, + Keys.KEY_SIZE, + Keys.HAS_SECRET, + Keys.CAN_CERTIFY, + Keys.CAN_ENCRYPT, + Keys.CAN_SIGN, + Keys.IS_REVOKED, + Keys.CREATION, + Keys.EXPIRY, + Keys.FINGERPRINT + }; + public ViewKeyKeysAdapter(Context context, Cursor c, int flags) { super(context, c, flags); |