diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-19 17:07:52 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-19 17:07:52 +0200 |
commit | 313e571a61e22a7152e32366d747114233d25b6e (patch) | |
tree | d250292332dce208760847f150c4e627607d8028 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java | |
parent | 48c96184dcf2837f9be2e5bdb116bedd86098eb3 (diff) | |
parent | 58706425d62e40c0ecc9164a8fee089ca471e1fe (diff) | |
download | open-keychain-313e571a61e22a7152e32366d747114233d25b6e.tar.gz open-keychain-313e571a61e22a7152e32366d747114233d25b6e.tar.bz2 open-keychain-313e571a61e22a7152e32366d747114233d25b6e.zip |
Merge pull request #664 from mar-v-in/improve-file
Add Document/Storage API support
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java index c769da421..319ac2873 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/Constants.java @@ -17,6 +17,7 @@ package org.sufficientlysecure.keychain; +import android.os.Build; import android.os.Environment; import org.spongycastle.bcpg.CompressionAlgorithmTags; @@ -48,6 +49,8 @@ public final class Constants { public static final String CUSTOM_CONTACT_DATA_MIME_TYPE = "vnd.android.cursor.item/vnd.org.sufficientlysecure.keychain.key"; + public static boolean KITKAT = Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; + public static final class Path { public static final String APP_DIR = Environment.getExternalStorageDirectory() + "/OpenKeychain"; |