diff options
author | Christian S <christian@pix-art.de> | 2016-03-26 11:17:48 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2016-03-26 11:17:48 +0100 |
commit | 927dde01a827a91a24495bd868575cefd981f8c2 (patch) | |
tree | f09ed178937f28b85d1499951cff3faa64988250 /src/main/java/eu/siacs/conversations/crypto/PgpEngine.java | |
parent | 67eb44af3c5012cdc2da3af4ae94cf7fa51a3ef1 (diff) | |
parent | 46be514b4db1cb8c17037ac6cd307078e4794a12 (diff) |
Merge branch 'siacs/master' into development
Diffstat (limited to 'src/main/java/eu/siacs/conversations/crypto/PgpEngine.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/crypto/PgpEngine.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java index 0afcb9e10..7ca5bea07 100644 --- a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java +++ b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java @@ -2,7 +2,6 @@ package eu.siacs.conversations.crypto; import android.app.PendingIntent; import android.content.Intent; -import android.net.Uri; import org.openintents.openpgp.OpenPgpSignatureResult; import org.openintents.openpgp.util.OpenPgpApi; @@ -106,9 +105,7 @@ public class PgpEngine { PgpEngine.this.mXmppConnectionService .updateMessage(message); inputFile.delete(); - Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); - intent.setData(Uri.fromFile(outputFile)); - mXmppConnectionService.sendBroadcast(intent); + mXmppConnectionService.getFileBackend().updateMediaScanner(outputFile); callback.success(message); return; case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: |