diff options
author | William Faulk <wfaulk@webassign.net> | 2015-05-04 13:58:20 -0400 |
---|---|---|
committer | William Faulk <wfaulk@webassign.net> | 2015-05-04 16:46:16 -0400 |
commit | af1809eebc1ce9caf8de4a23a6ecfc919890e59b (patch) | |
tree | ed9c5287595f85e95f4ff7f84573d2c17cc7db5c /OpenKeychain/src/main/java/org/sufficientlysecure/keychain | |
parent | be3e52884f363de83fd058db1e99e55866413ba4 (diff) | |
download | open-keychain-af1809eebc1ce9caf8de4a23a6ecfc919890e59b.tar.gz open-keychain-af1809eebc1ce9caf8de4a23a6ecfc919890e59b.tar.bz2 open-keychain-af1809eebc1ce9caf8de4a23a6ecfc919890e59b.zip |
Use FILE_EXTENSION constants
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvShareFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvShareFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvShareFragment.java index bbca45479..6fc2de335 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvShareFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvShareFragment.java @@ -235,7 +235,7 @@ public class ViewKeyAdvShareFragment extends LoaderFragment implements String primaryUserId = UncachedKeyRing.decodeFromData(content.getBytes()). getPublicKey().getPrimaryUserIdWithFallback(); final File contentFile = new File(getActivity().getExternalCacheDir(), - primaryUserId + ".pgp.asc"); + primaryUserId + Constants.FILE_EXTENSION_PGP_ALTERNATE + Constants.FILE_EXTENSION_ASC); FileWriter contentFileWriter = new FileWriter(contentFile, false); BufferedWriter contentWriter = new BufferedWriter(contentFileWriter); contentWriter.write(content); |