use autovalue for RevokeKeyringParcel

This commit is contained in:
Vincent Breitmoser
2017-05-22 12:17:59 +02:00
parent 81bceb9e16
commit 820a308ba0
3 changed files with 17 additions and 45 deletions

View File

@@ -151,7 +151,7 @@ public class DeleteKeyDialogActivity extends FragmentActivity {
return new CryptoOperationHelper.Callback<RevokeKeyringParcel, RevokeResult>() {
@Override
public RevokeKeyringParcel createOperationInput() {
return new RevokeKeyringParcel(mMasterKeyIds[0], true,
return RevokeKeyringParcel.createRevokeKeyringParcel(mMasterKeyIds[0], true,
(ParcelableHkpKeyserver) getIntent().getParcelableExtra(EXTRA_KEYSERVER));
}