fix logic error in openpgpservice

This commit is contained in:
Vincent Breitmoser committed 2017-05-02 07:36:36 +02:00
1 parent 9ec3bc6126
commit bf8507bab8
1 file changed
+1 -1
@@ -219,7 +219,7 @@ public class OpenPgpService extends Service {
Intent signKeyIdIntent = getSignKeyMasterId(data);
// NOTE: Fallback to return account settings (Old API)
if (signKeyIdIntent.getIntExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_ERROR)
!= OpenPgpApi.RESULT_CODE_SUCCESS) {
== OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED) {
return signKeyIdIntent;
}