summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-07-18 16:53:54 -0700
committerSteven Moreland <smoreland@google.com>2017-07-18 17:00:35 -0700
commit05b35791c3079543c680efba0789f03cfddafacb (patch)
treed5a1c995530bc38814ea8d57f98b130eee7ec6ba
parentc530d631aa9db4522f8b3e6879cf2280a1a1c903 (diff)
downloadgatekeeper-05b35791c3079543c680efba0789f03cfddafacb.tar.gz
system/gatekeeper: 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/gatekeeper find headers Bug: 63762847 Change-Id: I1c238bec06b23ddff0550f3abc7670839f432b1b
-rw-r--r--gatekeeper.cpp2
-rw-r--r--include/gatekeeper/gatekeeper.h2
-rw-r--r--include/gatekeeper/gatekeeper_messages.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gatekeeper.cpp b/gatekeeper.cpp
index 44993cf..76fc8d6 100644
--- a/gatekeeper.cpp
+++ b/gatekeeper.cpp
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <UniquePtr.h>
#include <gatekeeper/gatekeeper.h>
+#include <nativehelper/UniquePtr.h>
#include <endian.h>
diff --git a/include/gatekeeper/gatekeeper.h b/include/gatekeeper/gatekeeper.h
index 7e1421f..4615b82 100644
--- a/include/gatekeeper/gatekeeper.h
+++ b/include/gatekeeper/gatekeeper.h
@@ -18,8 +18,8 @@
#define GATEKEEPER_H_
#include <stdint.h>
-#include <UniquePtr.h>
#include <hardware/hw_auth_token.h>
+#include <nativehelper/UniquePtr.h>
#include "gatekeeper_messages.h"
#include "password_handle.h"
diff --git a/include/gatekeeper/gatekeeper_messages.h b/include/gatekeeper/gatekeeper_messages.h
index 1ec1e18..305567c 100644
--- a/include/gatekeeper/gatekeeper_messages.h
+++ b/include/gatekeeper/gatekeeper_messages.h
@@ -17,7 +17,7 @@
#define GATEKEEPER_MESSAGES_H_
#include <stdint.h>
-#include <UniquePtr.h>
+#include <nativehelper/UniquePtr.h>
#include "gatekeeper_utils.h"