Allow libstatssocket to be dynamically loaded

This change is needed for libstatspush_compat to properly function on R
devices.

Test: m com.android.resolv
Bug: 149229317
Change-Id: I55740632a4aae889505231efeeebe2809a659a7a
diff --git a/Android.bp b/Android.bp
index a79b14b..b54cf1d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -103,6 +103,11 @@
     header_libs: [
         "libnetd_client_headers",
     ],
+    runtime_libs: [
+        // Causes the linkerconfig to create a namespace link from resolv to the
+        // libstatssocket library within the statsd apex
+        "libstatssocket",
+    ],
     export_include_dirs: ["include"],
 
     product_variables: {