Add tetherApplyDnsInterfaces() binder interface.
Bug: 9580643
(cherry picked from commit 212c405c296ed869eda927e683734aff80248872)
Change-Id: I0f636266bbaa8c39847ea1e0ffbfdea789b3de53
diff --git a/server/NetdNativeService.cpp b/server/NetdNativeService.cpp
index 5ee8202..10629ef 100644
--- a/server/NetdNativeService.cpp
+++ b/server/NetdNativeService.cpp
@@ -201,5 +201,12 @@
return binder::Status::ok();
}
+binder::Status NetdNativeService::tetherApplyDnsInterfaces(bool *ret) {
+ NETD_BIG_LOCK_RPC(CONNECTIVITY_INTERNAL);
+
+ *ret = gCtls->tetherCtrl.applyDnsInterfaces();
+ return binder::Status::ok();
+}
+
} // namespace net
} // namespace android