mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-14 12:55:08 -05:00
revert unneeded changes for old temp Bluetooth share file
This commit is contained in:
parent
44b47e185d
commit
7e7892ff2e
@ -40,8 +40,6 @@ import org.sufficientlysecure.keychain.util.PRNGFixes;
|
|||||||
import org.sufficientlysecure.keychain.util.Preferences;
|
import org.sufficientlysecure.keychain.util.Preferences;
|
||||||
import org.sufficientlysecure.keychain.util.TlsHelper;
|
import org.sufficientlysecure.keychain.util.TlsHelper;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.FilenameFilter;
|
|
||||||
import java.security.Security;
|
import java.security.Security;
|
||||||
import java.util.HashMap;
|
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(),
|
brandGlowEffect(getApplicationContext(),
|
||||||
getApplicationContext().getResources().getColor(R.color.primary));
|
getApplicationContext().getResources().getColor(R.color.primary));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user