499 Audio Playback Talkgroup Display (#500)

* Resolves issue with non-aliased talkgroup values not displaying in
audio playback (left/right/mono) windows.

* Adds buildSdr build target back into gradle script.
This commit is contained in:
Denny Sheirer
2019-01-21 09:22:31 +00:00
committed by GitHub
parent 43b285a50a
commit 59f0844fcc
2 changed files with 18 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
/*
* ******************************************************************************
* sdrtrunk
* Copyright (C) 2014-2018 Dennis Sheirer
* Copyright (C) 2014-2019 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -238,6 +238,11 @@ public class AudioChannelPanel extends JPanel implements Listener<AudioEvent>, S
identifier = Joiner.on(", ").skipNulls().join(mAliases);
}
if(identifier == null && mIdentifier != null)
{
identifier = mTalkgroupFormatPreference.format(mIdentifier);
}
if(identifier == null)
{
identifier = "-----";