summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorWei Wang <weiwa@google.com>2016-04-08 14:24:09 -0700
committerWei Wang <weiwa@google.com>2016-04-15 12:45:34 -0700
commitbd3353a6c41896ed74d53b056ca1aefb2196c979 (patch)
treea8379ad2131dcd3b0396f5bcd021b05d0dce91ba /core/java
parent825fa4d5ae7b2907ee1769d09e6333306de2a92e (diff)
Use ConnectivityThread for RttManager.
Bug:27432949 Change-Id: I80fc02ff78981ca4798844c4d869b0eb60fbd84b
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/SystemServiceRegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/SystemServiceRegistry.java b/core/java/android/app/SystemServiceRegistry.java
index bdc4404057e5..63475c4a8776 100644
--- a/core/java/android/app/SystemServiceRegistry.java
+++ b/core/java/android/app/SystemServiceRegistry.java
@@ -541,7 +541,8 @@ final class SystemServiceRegistry {
public RttManager createService(ContextImpl ctx) {
IBinder b = ServiceManager.getService(Context.WIFI_RTT_SERVICE);
IRttManager service = IRttManager.Stub.asInterface(b);
- return new RttManager(ctx.getOuterContext(), service);
+ return new RttManager(ctx.getOuterContext(), service,
+ ConnectivityThread.getInstanceLooper());
}});
registerService(Context.ETHERNET_SERVICE, EthernetManager.class,