Loading src/com/android/settings/RegulatoryInfoDisplayActivity.kt +1 −1 Original line number Diff line number Diff line Loading @@ -69,6 +69,6 @@ class RegulatoryInfoDisplayActivity : Activity() { private fun getRegulatoryText(): CharSequence? { val regulatoryInfoText = resources.getText(R.string.regulatory_info_text) if (regulatoryInfoText.isNotBlank()) return regulatoryInfoText return featureFactory.hardwareInfoFeatureProvider?.countryIfOriginLabel return featureFactory.hardwareInfoFeatureProvider?.countryOfOriginLabel } } src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt +1 −1 Original line number Diff line number Diff line Loading @@ -27,5 +27,5 @@ interface HardwareInfoFeatureProvider { /** * The country of origin label. */ val countryIfOriginLabel: String val countryOfOriginLabel: String } Loading
src/com/android/settings/RegulatoryInfoDisplayActivity.kt +1 −1 Original line number Diff line number Diff line Loading @@ -69,6 +69,6 @@ class RegulatoryInfoDisplayActivity : Activity() { private fun getRegulatoryText(): CharSequence? { val regulatoryInfoText = resources.getText(R.string.regulatory_info_text) if (regulatoryInfoText.isNotBlank()) return regulatoryInfoText return featureFactory.hardwareInfoFeatureProvider?.countryIfOriginLabel return featureFactory.hardwareInfoFeatureProvider?.countryOfOriginLabel } }
src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt +1 −1 Original line number Diff line number Diff line Loading @@ -27,5 +27,5 @@ interface HardwareInfoFeatureProvider { /** * The country of origin label. */ val countryIfOriginLabel: String val countryOfOriginLabel: String }