summaryrefslogtreecommitdiff
path: root/service/java/com/android/server/wifi/WifiDiagnostics.java
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2016-07-28 16:59:37 -0700
committermukesh agrawal <quiche@google.com>2016-08-02 18:09:24 -0700
commitd68fa5a0cb9715a20cc06010b40ccbe6ba8cb64c (patch)
tree46eaf11c029960b2ac2594c0df1bf4456bd5652c /service/java/com/android/server/wifi/WifiDiagnostics.java
parent235d4d28542d8007c9609a84af0ac7b4c4bba02a (diff)
downloadwifi-d68fa5a0cb9715a20cc06010b40ccbe6ba8cb64c.tar.gz
move WifiDiagnostics creation from facade to injector
We're about to change the WifiDiagnostics ctor, to take an extra argument. As long as we're going to be mucking with the WifiDiagnostics ctor, let's move the WifiDiagnostics construction call over to WifiInjector. (WifiInjector is where kuh@ and all the cool kids hang out these days). Additional benefits of this change: - The change slightly simplifes the WifiStateMachine constructor. - The change makes the behavior of WifiStateMachineTest more uniform. Previously, the test would sometimes use a mock BaseWifiDiagnostics, and sometimes use a (real) WifiDiagnostics. Which path we took would depend on board-specific resource settings. BUG=30566652 TEST=wifitests/runtests.sh Change-Id: Iee374b9ef49db9264c544e666de5d4621defdfc7
Diffstat (limited to 'service/java/com/android/server/wifi/WifiDiagnostics.java')
0 files changed, 0 insertions, 0 deletions