synchronize around attributes in toContentValues()
This commit is contained in:
parent
c7bd635996
commit
e5378df39c
|
@ -576,7 +576,9 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
||||||
values.put(CREATED, created);
|
values.put(CREATED, created);
|
||||||
values.put(STATUS, status);
|
values.put(STATUS, status);
|
||||||
values.put(MODE, mode);
|
values.put(MODE, mode);
|
||||||
|
synchronized (this.attributes) {
|
||||||
values.put(ATTRIBUTES, attributes.toString());
|
values.put(ATTRIBUTES, attributes.toString());
|
||||||
|
}
|
||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue