Drop dependency on libnativehelper
Pending changes to libnativehelper API mean modules should not depend
on it as a stable API.
Bug: 157711673
Test: atest FrameworkStatsdTest LibStatsPullTests
Change-Id: I708a1489b5a1e30185b7e3677393c446074dc96c
diff --git a/apex/Android.bp b/apex/Android.bp
index 15d7495..e75fa88 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -62,8 +62,8 @@
cc_library_shared {
name: "libstats_jni",
srcs: ["jni/**/*.cpp"],
+ header_libs: ["libnativehelper_header_only"],
shared_libs: [
- "libnativehelper", // Has stable abi - should not be copied into apex.
"liblog", // Has a stable abi - should not be copied into apex.
"libstatssocket",
],