commit | 0b77afa8336c994b67c7ef71c2f4db1f784b9c08 | [log] [tgz] |
---|---|---|
author | Quang Anh Luong <qal@google.com> | Wed Nov 15 16:38:04 2023 +0900 |
committer | Quang Luong <qal@google.com> | Wed Nov 15 07:42:03 2023 +0000 |
tree | 6994d98ed18c5471320400574ca9e2aa006db249 | |
parent | af9bbb9faff258532838abe25388006a97ebd3eb [diff] |
Use WifiEntry.shouldShowSsid() to show SSID Bug: 300205461 Test: build Change-Id: Ifd82297cbc6a84b05cbba70e96470ea2a52aaa0e
diff --git a/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java b/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java index 5ab8807..31c6737 100644 --- a/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java +++ b/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java
@@ -648,7 +648,7 @@ } private void refreshSsid() { - if (mWifiEntry.isSubscription() && mWifiEntry.getSsid() != null) { + if (mWifiEntry.shouldShowSsid() && mWifiEntry.getSsid() != null) { mSsidPref.setVisible(true); mSsidPref.setSummary(mWifiEntry.getSsid()); } else {