libnativehelper API split
Split JNIHelp.h into JNIHelp.h and JNIPlatformHelp.h. The former
contains methods that depend on public Java API. The latter contains
methods primarily intended for platform that depend on non-public Java
API fields and methods, e.g j.l.FileDescriptor.
Place JNIPlatformHelp.h and JniInvocation.h under include_platform/.
Remove API covered by JNIPlatform.h from
libnativehelper_compat_libc++. Any code that requires these methods
should use libnativehelper instead.
Rename platform_include/ to include_platform_header_only/.
Bug: 151443957
Test: atest CtsLibnativehelperTestCases
Test: Treehugger
Change-Id: If2f563ea5c82882d3a77a7b9af7c508bfa8acc6e
Merged-In: If2f563ea5c82882d3a77a7b9af7c508bfa8acc6e
Exempt-From-Owner-Approval: cherry pick
(cherry picked from commit e77eceff3521ff44382afc0540924247a57fa908)
diff --git a/include/nativehelper/toStringArray.h b/include/nativehelper/toStringArray.h
index 0ff45ec..4bdb297 100644
--- a/include/nativehelper/toStringArray.h
+++ b/include/nativehelper/toStringArray.h
@@ -16,12 +16,12 @@
#pragma once
-#include "libnativehelper_api.h"
-
#ifdef __cplusplus
#include <string>
#include <vector>
+
+#include "JNIHelp.h"
#include "ScopedLocalRef.h"
template <typename StringVisitor>