mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
commit
65185f7824
@ -99,6 +99,7 @@ public class OpenPgpData implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
|
dest.writeInt(type);
|
||||||
dest.writeString(string);
|
dest.writeString(string);
|
||||||
dest.writeInt(bytes.length);
|
dest.writeInt(bytes.length);
|
||||||
dest.writeByteArray(bytes);
|
dest.writeByteArray(bytes);
|
||||||
@ -109,6 +110,7 @@ public class OpenPgpData implements Parcelable {
|
|||||||
public static final Creator<OpenPgpData> CREATOR = new Creator<OpenPgpData>() {
|
public static final Creator<OpenPgpData> CREATOR = new Creator<OpenPgpData>() {
|
||||||
public OpenPgpData createFromParcel(final Parcel source) {
|
public OpenPgpData createFromParcel(final Parcel source) {
|
||||||
OpenPgpData vr = new OpenPgpData();
|
OpenPgpData vr = new OpenPgpData();
|
||||||
|
vr.type = source.readInt();
|
||||||
vr.string = source.readString();
|
vr.string = source.readString();
|
||||||
vr.bytes = new byte[source.readInt()];
|
vr.bytes = new byte[source.readInt()];
|
||||||
source.readByteArray(vr.bytes);
|
source.readByteArray(vr.bytes);
|
||||||
|
@ -99,6 +99,7 @@ public class OpenPgpData implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
|
dest.writeInt(type);
|
||||||
dest.writeString(string);
|
dest.writeString(string);
|
||||||
dest.writeInt(bytes.length);
|
dest.writeInt(bytes.length);
|
||||||
dest.writeByteArray(bytes);
|
dest.writeByteArray(bytes);
|
||||||
@ -109,6 +110,7 @@ public class OpenPgpData implements Parcelable {
|
|||||||
public static final Creator<OpenPgpData> CREATOR = new Creator<OpenPgpData>() {
|
public static final Creator<OpenPgpData> CREATOR = new Creator<OpenPgpData>() {
|
||||||
public OpenPgpData createFromParcel(final Parcel source) {
|
public OpenPgpData createFromParcel(final Parcel source) {
|
||||||
OpenPgpData vr = new OpenPgpData();
|
OpenPgpData vr = new OpenPgpData();
|
||||||
|
vr.type = source.readInt();
|
||||||
vr.string = source.readString();
|
vr.string = source.readString();
|
||||||
vr.bytes = new byte[source.readInt()];
|
vr.bytes = new byte[source.readInt()];
|
||||||
source.readByteArray(vr.bytes);
|
source.readByteArray(vr.bytes);
|
||||||
|
Loading…
Reference in New Issue
Block a user