mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 18:47:33 -05:00
Resolves null pointer exception when updating identifier from values.
This commit is contained in:
@@ -3258,8 +3258,8 @@ public class P25DecoderState extends DecoderState
|
|||||||
broadcast( new Metadata( MetadataType.FROM, mFromTalkgroup, mFromAlias, true ) );
|
broadcast( new Metadata( MetadataType.FROM, mFromTalkgroup, mFromAlias, true ) );
|
||||||
|
|
||||||
if( mCurrentCallEvent != null &&
|
if( mCurrentCallEvent != null &&
|
||||||
mCurrentCallEvent.getFromID() == null ||
|
( mCurrentCallEvent.getFromID() == null ||
|
||||||
!mCurrentCallEvent.getFromID().contentEquals( from ) )
|
!mCurrentCallEvent.getFromID().contentEquals( from ) ) )
|
||||||
{
|
{
|
||||||
mCurrentCallEvent.setFromID( from );
|
mCurrentCallEvent.setFromID( from );
|
||||||
broadcast( mCurrentCallEvent );
|
broadcast( mCurrentCallEvent );
|
||||||
|
|||||||
Reference in New Issue
Block a user