api updated

This commit is contained in:
Daniel Gultsch 2014-03-06 20:18:34 +01:00
parent 3e52daf5e1
commit 1cf05fccdb
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 5f3c9f3eb9c3d2635a3f16d43742d7a12576474c Subproject commit ea2f3e1444ba0597425c8fb7f820f981b3da8cea

View file

@ -33,7 +33,7 @@ public class PgpEngine {
throw new UserInputRequiredException((PendingIntent) result.getParcelableExtra(OpenPgpApi.RESULT_INTENT)); throw new UserInputRequiredException((PendingIntent) result.getParcelableExtra(OpenPgpApi.RESULT_INTENT));
case OpenPgpApi.RESULT_CODE_ERROR: case OpenPgpApi.RESULT_CODE_ERROR:
throw new OpenPgpException( throw new OpenPgpException(
(OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS)); (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR));
default: default:
return null; return null;
} }
@ -91,7 +91,7 @@ public class PgpEngine {
break; break;
case OpenPgpApi.RESULT_CODE_ERROR: case OpenPgpApi.RESULT_CODE_ERROR:
throw new OpenPgpException( throw new OpenPgpException(
(OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS)); (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR));
} }
return 0; return 0;
} }