parametrize FileImportCache for filename

This commit is contained in:
Vincent Breitmoser
2014-08-17 00:49:14 +02:00
parent c00343d516
commit aa625d4fbf
4 changed files with 10 additions and 8 deletions

View File

@@ -503,7 +503,8 @@ public class ImportKeysActivity extends ActionBarActivity {
// to prevent Java Binder problems on heavy imports
// read FileImportCache for more info.
try {
FileImportCache<ParcelableKeyRing> cache = new FileImportCache<ParcelableKeyRing>(this);
FileImportCache<ParcelableKeyRing> cache =
new FileImportCache<ParcelableKeyRing>(this, "key_import.pcl");
cache.writeCache(selectedEntries);
intent.putExtra(KeychainIntentService.EXTRA_DATA, data);