Merge "Replace getNetworkPrefixLength() with public API"

This commit is contained in:
Aaron Huang
2019-10-25 05:15:16 +00:00
committed by Gerrit Code Review

View File

@@ -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) {