commit | f07dd9ac85d6f13b0662ca2e4cf2b9bb69325199 | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Tue Nov 05 13:51:16 2019 -0800 |
committer | David Su <dysu@google.com> | Mon Nov 18 10:16:51 2019 -0800 |
tree | 9bd5b642f5e73f73890c1c30d8e9b9922305b5f6 | |
parent | 975173096197db89632b550e1a4d765bfd3e5bfc [diff] |
SystemUI: Clean up WifiManager APIs Promoting WifiManager#registerSoftApCallback() and WifiManager#registerTrafficStateCallback() to @SystemApi. Changed method signatures to conform to API guidelines. Bug: 143970861 Test: atest HotspotControllerImplTest Change-Id: I1950173be3a62fc1cf8b745f97a503c386a11972
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java index a441f66..5a43321 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java
@@ -128,7 +128,7 @@ } public void handleBootCompleted() { - mWifiManager.registerTrafficStateCallback(new WifiTrafficStateCallback(), null); + mWifiManager.registerTrafficStateCallback(new WifiTrafficStateCallback()); } /**