Replace getNetworkPrefixLength() with public API
Use public API getPrefixLength() instead Test: build pass Change-Id: Ib85aa12dc22ac5b03c9bb7101beaf340014eb4fd
This commit is contained in:
@@ -1283,7 +1283,7 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
mIpAddressView.setText(
|
mIpAddressView.setText(
|
||||||
staticConfig.ipAddress.getAddress().getHostAddress());
|
staticConfig.ipAddress.getAddress().getHostAddress());
|
||||||
mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress
|
mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress
|
||||||
.getNetworkPrefixLength()));
|
.getPrefixLength()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (staticConfig.gateway != null) {
|
if (staticConfig.gateway != null) {
|
||||||
|
Reference in New Issue
Block a user