statsd: mark libstats_jni as jni_libs

This helps the build system to convey the information to linkerconfig so
that jni_libs are available via libnativeloader.

Bug: 168077238
Bug: 150767721
Test: presubmit
Merged-In: Ie32e88355828c8f696cce9d128eebb6da70026f1
Change-Id: Ie32e88355828c8f696cce9d128eebb6da70026f1
(cherry picked from commit 89a04ace6af9be9eb86a62be8ca8b63c52abf80b)
(cherry picked from commit 24c1939874ea16d1dcfb5e2a569b67240150f7d6)
diff --git a/apex/Android.bp b/apex/Android.bp
index e75fa88..ede8852 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -19,8 +19,10 @@
 }
 
 apex_defaults {
-    native_shared_libs: [
+    jni_libs: [
         "libstats_jni",
+    ],
+    native_shared_libs: [
         "libstatspull",
         "libstatssocket",
     ],