|
@@ -198,7 +198,7 @@ public class HostageDBOpenHelper extends SQLiteOpenHelper {
|
|
|
|
|
|
private void insertMessageRecordWithOnConflict(MessageRecord record, SQLiteDatabase db){
|
|
|
ContentValues recordValues = new ContentValues();
|
|
|
- //recordValues.put(PacketEntry.COLUMN_NAME_ID, record.getId()); // Log Message Number
|
|
|
+ recordValues.put(PacketEntry.COLUMN_NAME_ID, record.getId()); // Log Message Number
|
|
|
recordValues.put(PacketEntry.COLUMN_NAME_ATTACK_ID, record.getAttack_id()); // Log Attack ID
|
|
|
recordValues.put(PacketEntry.COLUMN_NAME_TYPE, record.getType().name()); // Log Type
|
|
|
recordValues.put(PacketEntry.COLUMN_NAME_PACKET_TIMESTAMP, record.getTimestamp()); // Log Timestamp
|