diff options
-rw-r--r-- | service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java | 1 | ||||
-rw-r--r-- | service/java/com/android/server/wifi/aware/WifiAwareService.java | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java b/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java index 47f3030ec..da6bb24bb 100644 --- a/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java +++ b/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java @@ -57,6 +57,7 @@ public class WifiAwareNativeManager { } public void start() { + mHalDeviceManager.initialize(); mHalDeviceManager.registerStatusListener( new HalDeviceManager.ManagerStatusListener() { @Override diff --git a/service/java/com/android/server/wifi/aware/WifiAwareService.java b/service/java/com/android/server/wifi/aware/WifiAwareService.java index 40baf7eed..9aa561354 100644 --- a/service/java/com/android/server/wifi/aware/WifiAwareService.java +++ b/service/java/com/android/server/wifi/aware/WifiAwareService.java @@ -53,7 +53,6 @@ public final class WifiAwareService extends SystemService { } HalDeviceManager halDeviceManager = wifiInjector.getHalDeviceManager(); - halDeviceManager.initialize(); WifiAwareStateManager wifiAwareStateManager = new WifiAwareStateManager(); WifiAwareNativeCallback wifiAwareNativeCallback = new WifiAwareNativeCallback( |