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 95642bbc3f64dc69499313ae4ed49d1d1026b97d)
(cherry picked from commit 39c94c04934645be0be46317396a89e9cb49cfea)
diff --git a/apex/statsd/Android.bp b/apex/statsd/Android.bp
index e75fa88..ede8852 100644
--- a/apex/statsd/Android.bp
+++ b/apex/statsd/Android.bp
@@ -19,8 +19,10 @@
 }
 
 apex_defaults {
-    native_shared_libs: [
+    jni_libs: [
         "libstats_jni",
+    ],
+    native_shared_libs: [
         "libstatspull",
         "libstatssocket",
     ],