From aba417d3abfef9ab0e1f77c8175a8802270caeb6 Mon Sep 17 00:00:00 2001 From: Michael Plass Date: Thu, 5 Mar 2020 13:16:17 -0800 Subject: [WifiServiceImpl] Remove gratuitous enableRssiPolling call There should be no reason to call enableRssiPolling here, ClientModeImpl enables and disables polling as needed. Bug: 65033024 Test: atest com.android.server.wifi Change-Id: I6d2959f6b14e64461473471cc063a72674a5da05 --- service/java/com/android/server/wifi/WifiServiceImpl.java | 1 - 1 file changed, 1 deletion(-) (limited to 'service') diff --git a/service/java/com/android/server/wifi/WifiServiceImpl.java b/service/java/com/android/server/wifi/WifiServiceImpl.java index 6e339044a..e23245497 100644 --- a/service/java/com/android/server/wifi/WifiServiceImpl.java +++ b/service/java/com/android/server/wifi/WifiServiceImpl.java @@ -303,7 +303,6 @@ public class WifiServiceImpl extends BaseWifiService { mCountryCode = mWifiInjector.getWifiCountryCode(); mClientModeImpl = mWifiInjector.getClientModeImpl(); mActiveModeWarden = mWifiInjector.getActiveModeWarden(); - mClientModeImpl.enableRssiPolling(true); //TODO(b/65033024) strange startup mScanRequestProxy = mWifiInjector.getScanRequestProxy(); mSettingsStore = mWifiInjector.getWifiSettingsStore(); mPowerManager = mContext.getSystemService(PowerManager.class); -- cgit v1.2.3