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

Commit 00fe3ad7 authored by Steven Moreland's avatar Steven Moreland
Browse files

system/core: use proper nativehelper headers

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

Test: modules using system/core find headers
Bug: 63762847
Change-Id: I86240f7857dd815100cab32ad261aa9a0a54329c
parent d1354734
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ extern "C" {
}

#include <android-base/memory.h>
#include <UniquePtr.h>
#include <gatekeeper/gatekeeper.h>
#include <nativehelper/UniquePtr.h>

#include <iostream>
#include <unordered_map>
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

#include "SoftGateKeeper.h"

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

using namespace gatekeeper;

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

#include <gtest/gtest.h>
#include <hardware/hw_auth_token.h>
#include <UniquePtr.h>
#include <nativehelper/UniquePtr.h>

#include "../SoftGateKeeper.h"

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */

#include "nativeloader/native_loader.h"
#include "ScopedUtfChars.h"
#include <nativehelper/ScopedUtfChars.h>

#include <dlfcn.h>
#ifdef __ANDROID__
+1 −1
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
#include <algorithm>
#include <fstream>

#include <UniquePtr.h>
#include <gtest/gtest.h>
#include <nativehelper/UniquePtr.h>
#include <openssl/engine.h>

#include <hardware/keymaster0.h>