[Wi-Fi] Remove redundant code
Should not setSummary in ConnectedWifiEntryPreference because WifiEntryPreference updates summary by WifiEntry#getSummary Bug: 150911380 Test: manual See captive portal Wi-Fi summary 'Sign in to network' before logging in. Change-Id: Ibc47623d66b9d2844c0ca827081f205f0bab89e7
This commit is contained in:
@@ -38,15 +38,6 @@ public class ConnectedWifiEntryPreference extends LongPressWifiEntryPreference i
|
||||
setWidgetLayoutResource(R.layout.preference_widget_gear_optional_background);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void refresh() {
|
||||
super.refresh();
|
||||
|
||||
if (getWifiEntry().canSignIn()) {
|
||||
setSummary(R.string.wifi_tap_to_sign_in);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set gear icon click callback listener.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user