Support driver country code display

This commit is contained in:
Mygod
2022-07-12 21:03:47 -04:00
parent bf856d77d5
commit f4e5e2f834
6 changed files with 20 additions and 0 deletions

View File

@@ -257,6 +257,9 @@ sealed class TetherManager(protected val parent: TetheringFragment) : Manager(),
}.filterNotNull()
if (list.isNotEmpty()) result.append(parent.getText(R.string.tethering_manage_wifi_supported_channels)
.format(locale, list.joinToString("; ")))
if (Build.VERSION.SDK_INT >= 33) capability.countryCode?.let {
result.append(parent.getText(R.string.tethering_manage_wifi_country_code).format(locale, it))
}
}
result
} ?: numClients?.let { numClients ->