change user_id primary key in database, use keyring rather than unified query in consolidate

This commit is contained in:
Vincent Breitmoser
2015-03-11 18:28:36 +01:00
parent 82a2a76a33
commit 9ff4d7b2bc
3 changed files with 26 additions and 14 deletions

View File

@@ -109,6 +109,15 @@ public class WrappedUserAttribute implements Serializable {
}
public byte[][] getSubpackets() {
UserAttributeSubpacket[] subpackets = mVector.toSubpacketArray();
byte[][] ret = new byte[subpackets.length][];
for (int i = 0; i < subpackets.length; i++) {
ret[i] = subpackets[i].getData();
}
return ret;
}
private void readObjectNoData() throws ObjectStreamException {
}