commit | 6213cb9aa9f9765414fd2ca984e42a6de0b7530a | [log] [tgz] |
---|---|---|
author | SongFerng Wang <songferngwang@google.com> | Wed Jul 03 08:10:12 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jul 03 08:10:12 2024 +0000 |
tree | 4ab7312e57f987cc645a2afc034d64d2aa2fdef3 | |
parent | 362a5f9450c1aa68f015898b400c70ebc97845d5 [diff] | |
parent | e55e9dc90bb00fad13998adf4f9e4ab277e644bf [diff] |
Merge "Fix UI flashing after changing network mode" into main
diff --git a/src/com/android/settings/network/telephony/MobileNetworkEidPreferenceController.kt b/src/com/android/settings/network/telephony/MobileNetworkEidPreferenceController.kt index 1e635a5..621465e 100644 --- a/src/com/android/settings/network/telephony/MobileNetworkEidPreferenceController.kt +++ b/src/com/android/settings/network/telephony/MobileNetworkEidPreferenceController.kt
@@ -91,7 +91,6 @@ ) return } - preference.isVisible = false val viewModel by lazyViewModel coroutineScope = viewLifecycleOwner.lifecycleScope @@ -127,7 +126,6 @@ preference.title = title preference.dialogTitle = title preference.summary = eid - preference.isVisible = eid.isNotEmpty() } override fun handlePreferenceTreeClick(preference: Preference): Boolean {
diff --git a/src/com/android/settings/network/telephony/MobileNetworkImeiPreferenceController.kt b/src/com/android/settings/network/telephony/MobileNetworkImeiPreferenceController.kt index a6fb7ba..6b3f903 100644 --- a/src/com/android/settings/network/telephony/MobileNetworkImeiPreferenceController.kt +++ b/src/com/android/settings/network/telephony/MobileNetworkImeiPreferenceController.kt
@@ -113,7 +113,6 @@ private fun refreshUi(){ preference.title = title preference.summary = imei - preference.isVisible = true } override fun handlePreferenceTreeClick(preference: Preference): Boolean {