commit | 8edc0b70525e2c89ef864fc27b3ce73cefa983dc | [log] [tgz] |
---|---|---|
author | Quang Luong <qal@google.com> | Mon Nov 20 08:24:24 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Nov 20 08:24:24 2023 +0000 |
tree | 05f6cead8b7ac339c9e127cc873b9887dceff946 | |
parent | 5d9571bceef63ba6261b7a082a1b47a29ac746d6 [diff] | |
parent | 0b77afa8336c994b67c7ef71c2f4db1f784b9c08 [diff] |
Merge "Use WifiEntry.shouldShowSsid() to show SSID" into main
diff --git a/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java b/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java index faa0c3b..b67c848 100644 --- a/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java +++ b/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2.java
@@ -644,7 +644,7 @@ } private void refreshSsid() { - if (mWifiEntry.isSubscription() && mWifiEntry.getSsid() != null) { + if (mWifiEntry.shouldShowSsid() && mWifiEntry.getSsid() != null) { mSsidPref.setVisible(true); mSsidPref.setSummary(mWifiEntry.getSsid()); } else {