diff options
author | William Faulk <wfaulk@webassign.net> | 2015-05-04 17:15:10 -0400 |
---|---|---|
committer | William Faulk <wfaulk@webassign.net> | 2015-05-04 17:15:10 -0400 |
commit | 7e7892ff2ee6c49e6971483b759337dd216a96b7 (patch) | |
tree | 0e1797c4a07df12255a3152c8e2eb4afdedf3859 | |
parent | 44b47e185d351718f105d7247c727c5f4d6bd0a4 (diff) | |
download | open-keychain-7e7892ff2ee6c49e6971483b759337dd216a96b7.tar.gz open-keychain-7e7892ff2ee6c49e6971483b759337dd216a96b7.tar.bz2 open-keychain-7e7892ff2ee6c49e6971483b759337dd216a96b7.zip |
revert unneeded changes for old temp Bluetooth share file
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/KeychainApplication.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/KeychainApplication.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/KeychainApplication.java index 161979ce3..710dbf8aa 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/KeychainApplication.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/KeychainApplication.java @@ -40,8 +40,6 @@ import org.sufficientlysecure.keychain.util.PRNGFixes; import org.sufficientlysecure.keychain.util.Preferences; import org.sufficientlysecure.keychain.util.TlsHelper; -import java.io.File; -import java.io.FilenameFilter; import java.security.Security; import java.util.HashMap; @@ -90,17 +88,6 @@ public class KeychainApplication extends Application { } } - // Clean up leftover Bluetooth Share files - for (File toDelete : this.getExternalCacheDir().listFiles(new FilenameFilter() { - @Override - public boolean accept(File dir, String filename) { - if (filename.matches("^key-[0-9a-fA-F]{8}\\.pgp\\.asc$")) { - return true; - } - return false; - } - })) { toDelete.delete(); } - brandGlowEffect(getApplicationContext(), getApplicationContext().getResources().getColor(R.color.primary)); |