Fixes #740 - Adds Encrypted state to the Status column for P25 Phase 1 (#975)

This commit is contained in:
Robert Scullin
2020-10-25 06:46:02 -04:00
committed by GitHub
parent c6afb1c133
commit 57468ef932

View File

@@ -823,15 +823,20 @@ public class P25P1DecoderState extends DecoderState implements IChannelEventList
}
else
{
mCurrentCallEvent.setIdentifierCollection(getIdentifierCollection().copyOf());
mCurrentCallEvent.end(timestamp);
broadcast(mCurrentCallEvent);
if(type == DecodeEventType.CALL_ENCRYPTED)
{
mCurrentCallEvent.setEventDescription(type.toString());
mCurrentCallEvent.setDetails(details);
broadcast(new DecoderStateEvent(this, Event.CONTINUATION, State.ENCRYPTED));
}
else
{
broadcast(new DecoderStateEvent(this, Event.CONTINUATION, State.CALL));
}
mCurrentCallEvent.setIdentifierCollection(getIdentifierCollection().copyOf());
mCurrentCallEvent.end(timestamp);
broadcast(mCurrentCallEvent);
broadcast(new DecoderStateEvent(this, Event.CONTINUATION, State.CALL));
}
}