We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd444c7 commit a04e1f4Copy full SHA for a04e1f4
1 file changed
app/src/main/java/io/github/takusan23/newradiosupporter/tool/LogcatPhysicalChannelConfig.kt
@@ -127,9 +127,10 @@ object LogcatPhysicalChannelConfig {
127
)
128
129
// プライマリーセルが 4G で、セカンダリーセルで 5G があれば Endc
130
+ // セカンダリーセルの情報は、getCellInfo() を優先する。null かもしれないので
131
!primaryCell.isNR && secondaryCellList.any { it.isNR } -> LogcatPhysicalChannelConfigResult.Endc(
132
primaryCell = primaryCell,
- secondaryCell = secondaryCellList.first()
133
+ secondaryCell = bandList.firstOrNull { it.isNR } ?: secondaryCellList.first()
134
135
136
// ない
0 commit comments