Fix adding available channel to wrong queue (#2169)

Available channel was added to P1 queue instead of P2 queue.
This commit is contained in:
Randy
2025-03-09 05:40:38 -06:00
committed by GitHub
parent a46abf7da8
commit 7d69d829b5

View File

@@ -1799,7 +1799,7 @@ public class P25TrafficChannelManager extends TrafficChannelManager implements I
.findFirst()
.ifPresent(rejectedFrequency -> {
mAllocatedTrafficChannelMap.remove(rejectedFrequency);
mAvailablePhase1TrafficChannelQueue.add(channel);
mAvailablePhase2TrafficChannelQueue.add(channel);
//Leave the tracked event in the map so that it doesn't get recreated. The channel
//processing manager set the 'tuner not available' in the details already
@@ -1827,4 +1827,4 @@ public class P25TrafficChannelManager extends TrafficChannelManager implements I
}
}
}
}
}