summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-06-23 19:04:00 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-23 19:04:00 +0000
commit8345f77720c49b9d7e082094a106ccb23ea906bb (patch)
tree45ad9759dc00195a96bf3bfb98cf5fd2d4d39e10 /service
parent2a43452d959e87ad47b9b4a5e16d56050ca0d56a (diff)
parent972db8f5f7f09614625609a15270bc5940f0ecae (diff)
Merge "[AWARE] Move initialization from main system server thread" into oc-dr1-dev am: db83149363
am: 972db8f5f7 Change-Id: Iae31c22bcc72558e2a44b8d366878bddd43dddd0
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java1
-rw-r--r--service/java/com/android/server/wifi/aware/WifiAwareService.java1
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(