Fix Passpoint network details privacy and ssid
Allow changing the privacy setting for Passpoint networks, which are considered subscriptions but not saved networks. Also use getSsid() for the SSID pref. Bug: 70983952 Test: manual build and visual verification Change-Id: I8a4309421b28bccaf2bd62a23dca8cef133d5af1
This commit is contained in:
@@ -623,9 +623,9 @@ public class WifiDetailPreferenceController2 extends AbstractPreferenceControlle
|
||||
}
|
||||
|
||||
private void refreshSsid() {
|
||||
if (mWifiEntry.isSubscription()) {
|
||||
if (mWifiEntry.isSubscription() && mWifiEntry.getSsid() != null) {
|
||||
mSsidPref.setVisible(true);
|
||||
mSsidPref.setSummary(mWifiEntry.getTitle());
|
||||
mSsidPref.setSummary(mWifiEntry.getSsid());
|
||||
} else {
|
||||
mSsidPref.setVisible(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user