Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f91ca58e authored by Steven Moreland's avatar Steven Moreland
Browse files

com.android.server: use proper nativehelper headers

libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: com.android.server finds headers
Bug: 63762847
Merged-In: Icb3018f520004f65e8dd565d6e1d563551548eba
Change-Id: Ib36fec53c30760af5dac4097b3eceda6c4c6c7f0
parent 49e2a9a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,8 +31,8 @@
#include <android_os_MessageQueue.h>
#include <core_jni_helpers.h>
#include <jni.h>
#include <JNIHelp.h>
#include <ScopedPrimitiveArray.h>
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedPrimitiveArray.h>
#include <ScopedUtfChars.h>
#include <utils/Log.h>
#include <utils/Looper.h>
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
#define LOG_TAG "ConsumerIrService"

#include "jni.h"
#include "JNIHelp.h"
#include <nativehelper/JNIHelp.h>
#include "android_runtime/AndroidRuntime.h"

#include <stdlib.h>
@@ -25,7 +25,7 @@
#include <utils/Log.h>
#include <hardware/hardware.h>
#include <hardware/consumerir.h>
#include <ScopedPrimitiveArray.h>
#include <nativehelper/ScopedPrimitiveArray.h>

namespace android {

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

#define LOG_NDEBUG 0

#include "JNIHelp.h"
#include <nativehelper/JNIHelp.h>
#include "jni.h"
#include "hardware/hardware.h"
#include "hardware/gps_internal.h"
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#include "JNIHelp.h"
#include "jni.h"

#include <ScopedUtfChars.h>
#include <nativehelper/ScopedUtfChars.h>

#include <limits.h>