Fix colors for remote activity

This commit is contained in:
Dominik Schürmann
2015-03-09 16:55:23 +01:00
parent bd1705410a
commit b2e5ac2820
3 changed files with 13 additions and 20 deletions

View File

@@ -288,7 +288,7 @@ public class OpenPgpService extends RemoteService {
}
} else if (pgpResult.success()) {
Intent result = new Intent();
if (!cleartextSign) {
if (pgpResult.getDetachedSignature() != null && !cleartextSign) {
result.putExtra(OpenPgpApi.RESULT_DETACHED_SIGNATURE, pgpResult.getDetachedSignature());
}
result.putExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_SUCCESS);