use autovalue for ConsolidateInputParcel

This commit is contained in:
Vincent Breitmoser
2017-05-22 12:35:54 +02:00
parent 68ca88c87d
commit c444ccb781
4 changed files with 11 additions and 34 deletions

View File

@@ -67,7 +67,7 @@ public class ConsolidateDialogActivity extends FragmentActivity
@Override
public ConsolidateInputParcel createOperationInput() {
return new ConsolidateInputParcel(mRecovery);
return ConsolidateInputParcel.createConsolidateInputParcel(mRecovery);
}
@Override

View File

@@ -553,7 +553,7 @@ public class KeyListFragment extends RecyclerFragment<KeySectionedListAdapter>
@Override
public ConsolidateInputParcel createOperationInput() {
return new ConsolidateInputParcel(false); // we want to perform a full consolidate
return ConsolidateInputParcel.createConsolidateInputParcel(false); // we want to perform a full consolidate
}
@Override