|
@@ -136,11 +136,7 @@ public class SyncRecord implements Parcelable, Serializable {
|
|
|
|
|
|
public AttackRecord getAttackRecord(){
|
|
|
if (this.attackRecord == null){
|
|
|
- boolean autoincrement = !this.device.equals(SyncDevice.currentDevice().getDeviceID());
|
|
|
- AttackRecord record = new AttackRecord(autoincrement);
|
|
|
-
|
|
|
- if (!autoincrement)
|
|
|
- record.setAttack_id(this.attack_id);
|
|
|
+ AttackRecord record = new AttackRecord(true);
|
|
|
|
|
|
this.attack_id = record.getAttack_id();
|
|
|
record.setProtocol(this.protocol);
|