diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-11-16 16:33:31 +0100 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-11-16 16:33:31 +0100 |
commit | 56cfb6bc5a5494cb31a3188d6bb4fa53074dbe6a (patch) | |
tree | 734f47c37a585b24a01e2101a32d5eee895e091b /org_apg/src/org/thialfihar/android/apg/service | |
parent | bbddc4c56dbb71c536aac736d197bcc8e49f6769 (diff) | |
download | open-keychain-56cfb6bc5a5494cb31a3188d6bb4fa53074dbe6a.tar.gz open-keychain-56cfb6bc5a5494cb31a3188d6bb4fa53074dbe6a.tar.bz2 open-keychain-56cfb6bc5a5494cb31a3188d6bb4fa53074dbe6a.zip |
Rework encrypt for files with intents
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/service')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/service/ApgIntentService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/service/ApgIntentService.java b/org_apg/src/org/thialfihar/android/apg/service/ApgIntentService.java index e3290ae65..8a6ca6b4c 100644 --- a/org_apg/src/org/thialfihar/android/apg/service/ApgIntentService.java +++ b/org_apg/src/org/thialfihar/android/apg/service/ApgIntentService.java @@ -295,7 +295,7 @@ public class ApgIntentService extends IntentService implements ProgressDialogUpd // OutputStream try { while (true) { - streamFilename = PGPMain.generateRandomString(32); + streamFilename = PGPMain.generateRandomFilename(32); if (streamFilename == null) { throw new PGPMain.ApgGeneralException( "couldn't generate random file name"); @@ -448,7 +448,7 @@ public class ApgIntentService extends IntentService implements ProgressDialogUpd // OutputStream try { while (true) { - streamFilename = PGPMain.generateRandomString(32); + streamFilename = PGPMain.generateRandomFilename(32); if (streamFilename == null) { throw new PGPMain.ApgGeneralException( "couldn't generate random file name"); |