mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Fix ConsolidateResult, needed parcelable methods
This commit is contained in:
parent
1dd68c7120
commit
65c3d69d9a
@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
|
Loading…
Reference in New Issue
Block a user