commit | 9251280615a635ec41b9ec11900a379bbee694b6 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu Oct 17 13:52:36 2019 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Thu Oct 24 10:51:53 2019 +0000 |
tree | 3f46fcfe6bd5b4d46792c1d9724d9d297ececff0 | |
parent | 0f9ad6d7f94894b2cecec06be589c46cb56b2481 [diff] |
Replace getNetworkPrefixLength() with public API Use public API getPrefixLength() instead Test: build pass Change-Id: Ib85aa12dc22ac5b03c9bb7101beaf340014eb4fd
diff --git a/src/com/android/settings/wifi/WifiConfigController.java b/src/com/android/settings/wifi/WifiConfigController.java index 0be7c2b..793ba4c 100644 --- a/src/com/android/settings/wifi/WifiConfigController.java +++ b/src/com/android/settings/wifi/WifiConfigController.java
@@ -1283,7 +1283,7 @@ mIpAddressView.setText( staticConfig.ipAddress.getAddress().getHostAddress()); mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress - .getNetworkPrefixLength())); + .getPrefixLength())); } if (staticConfig.gateway != null) {