mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
fix parcel method in ParcelableKeyRing
This commit is contained in:
parent
857b15cbd5
commit
22ea9c6047
@ -27,7 +27,9 @@ public class ParcelableKeyRing implements Parcelable {
|
||||
|
||||
public static final Creator<ParcelableKeyRing> CREATOR = new Creator<ParcelableKeyRing>() {
|
||||
public ParcelableKeyRing createFromParcel(final Parcel source) {
|
||||
return new ParcelableKeyRing(source.createByteArray());
|
||||
byte[] bytes = source.createByteArray();
|
||||
String expectedFingerprint = source.readString();
|
||||
return new ParcelableKeyRing(bytes, expectedFingerprint);
|
||||
}
|
||||
|
||||
public ParcelableKeyRing[] newArray(final int size) {
|
||||
|
Loading…
Reference in New Issue
Block a user