浏览代码

increasaed own device max id

Julien Clauter 10 年之前
父节点
当前提交
2e669a0347
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/de/tudarmstadt/informatik/hostage/logging/AttackRecord.java

+ 1 - 0
src/de/tudarmstadt/informatik/hostage/logging/AttackRecord.java

@@ -71,6 +71,7 @@ public class AttackRecord implements Parcelable, Serializable {
             this.sync_id = attack_id;
 
             SyncDevice currentDevice = SyncDevice.currentDevice();
+            currentDevice.setHighest_attack_id(attack_id);
             this.setDevice(currentDevice.getDeviceID());
         }