diff options
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ConsolidateResult.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ConsolidateResult.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ConsolidateResult.java index 44177563f..c8a469545 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ConsolidateResult.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ConsolidateResult.java @@ -18,10 +18,29 @@ package org.sufficientlysecure.keychain.service.results; +import android.os.Parcel; + public class ConsolidateResult extends OperationResult { public ConsolidateResult(int result, OperationLog log) { super(result, log); } + /** + * Construct from a parcel - trivial because we have no extra data. + */ + public ConsolidateResult(Parcel source) { + super(source); + } + + public static Creator<ConsolidateResult> CREATOR = new Creator<ConsolidateResult>() { + public ConsolidateResult createFromParcel(final Parcel source) { + return new ConsolidateResult(source); + } + + public ConsolidateResult[] newArray(final int size) { + return new ConsolidateResult[size]; + } + }; + } |