diff --git a/src/com/android/settings/RegulatoryInfoDisplayActivity.kt b/src/com/android/settings/RegulatoryInfoDisplayActivity.kt index 6b5ccc79047..4038aa8a43b 100644 --- a/src/com/android/settings/RegulatoryInfoDisplayActivity.kt +++ b/src/com/android/settings/RegulatoryInfoDisplayActivity.kt @@ -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 } } diff --git a/src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt b/src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt index e9866d73263..4b2666f1de1 100644 --- a/src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt +++ b/src/com/android/settings/deviceinfo/hardwareinfo/HardwareInfoFeatureProvider.kt @@ -27,5 +27,5 @@ interface HardwareInfoFeatureProvider { /** * The country of origin label. */ - val countryIfOriginLabel: String + val countryOfOriginLabel: String }