diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-09-12 20:09:38 +0200 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-09-12 20:09:38 +0200 |
commit | cbc3b8ae4ea047a61068c1a301aeb6556b46ec2b (patch) | |
tree | 63c772189412a0a2752041ed71e66a3a66af2848 /org_apg/src/org/thialfihar/android/apg/service | |
parent | 054ad2bb97d7140c2ff92064337fc3894555e132 (diff) | |
download | open-keychain-cbc3b8ae4ea047a61068c1a301aeb6556b46ec2b.tar.gz open-keychain-cbc3b8ae4ea047a61068c1a301aeb6556b46ec2b.tar.bz2 open-keychain-cbc3b8ae4ea047a61068c1a301aeb6556b46ec2b.zip |
intent improvements
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/service')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/service/ApgService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/service/ApgService.java b/org_apg/src/org/thialfihar/android/apg/service/ApgService.java index 624572b7b..89515db07 100644 --- a/org_apg/src/org/thialfihar/android/apg/service/ApgService.java +++ b/org_apg/src/org/thialfihar/android/apg/service/ApgService.java @@ -286,7 +286,7 @@ public class ApgService extends IntentService implements ProgressDialogUpdater { break; case TARGET_STREAM: /* Encrypting stream from content uri */ - Uri providerUri = Uri.parse(data.getString(PROVIDER_URI)); + Uri providerUri = (Uri) data.getParcelable(PROVIDER_URI); // InputStream InputStream in = getContentResolver().openInputStream(providerUri); @@ -440,7 +440,7 @@ public class ApgService extends IntentService implements ProgressDialogUpdater { break; case TARGET_STREAM: /* decrypting stream from content uri */ - Uri providerUri = Uri.parse(data.getString(PROVIDER_URI)); + Uri providerUri = (Uri) data.getParcelable(PROVIDER_URI); // InputStream InputStream in = getContentResolver().openInputStream(providerUri); |