소스 검색

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());
         }