Replace getNetworkPrefixLength() with public API

Use public API getPrefixLength() instead

Test: build pass

Change-Id: Ib85aa12dc22ac5b03c9bb7101beaf340014eb4fd
This commit is contained in:
Aaron Huang
2019-10-17 13:52:36 +08:00
parent 0f9ad6d7f9
commit 9251280615

View File

@@ -1283,7 +1283,7 @@ public class WifiConfigController implements TextWatcher,
mIpAddressView.setText(
staticConfig.ipAddress.getAddress().getHostAddress());
mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress
.getNetworkPrefixLength()));
.getPrefixLength()));
}
if (staticConfig.gateway != null) {