summaryrefslogtreecommitdiffstats
path: root/gnss
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-01-31 17:19:58 -0800
committerSasha Smundak <asmundak@google.com>2019-02-01 10:52:09 -0800
commit769c053d7c5637d71afe0c5364888f25e10257fe (patch)
tree2ac18d3cab606c3fd7705f9115c5592454490cfa /gnss
parent12e20e3f2a893b4cbed65c11f4d5c374126f823f (diff)
downloadplatform_hardware_interfaces-769c053d7c5637d71afe0c5364888f25e10257fe.tar.gz
platform_hardware_interfaces-769c053d7c5637d71afe0c5364888f25e10257fe.tar.bz2
platform_hardware_interfaces-769c053d7c5637d71afe0c5364888f25e10257fe.zip
Explicitly include log/log.h or android/log.h instead of cutils/log.h
Eliminates the warning. Test: treehugger Bug: 123758136 Change-Id: Ibe50261efc18d659a10129977342bc765a9ba9d5
Diffstat (limited to 'gnss')
-rw-r--r--gnss/1.0/default/GnssBatching.cpp2
-rw-r--r--gnss/1.0/default/ThreadCreationWrapper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnss/1.0/default/GnssBatching.cpp b/gnss/1.0/default/GnssBatching.cpp
index 02b38cb635..f2e2e45025 100644
--- a/gnss/1.0/default/GnssBatching.cpp
+++ b/gnss/1.0/default/GnssBatching.cpp
@@ -20,7 +20,7 @@
#include <Gnss.h> // for wakelock consolidation
#include <GnssUtils.h>
-#include <cutils/log.h> // for ALOGE
+#include <android/log.h> // for ALOGE
#include <vector>
namespace android {
diff --git a/gnss/1.0/default/ThreadCreationWrapper.h b/gnss/1.0/default/ThreadCreationWrapper.h
index df0a9e4a98..f401ce2cee 100644
--- a/gnss/1.0/default/ThreadCreationWrapper.h
+++ b/gnss/1.0/default/ThreadCreationWrapper.h
@@ -17,9 +17,9 @@
#ifndef ANDROID_HARDWARE_GNSS_THREADCREATIONWRAPPER_H
#define ANDROID_HARDWARE_GNSS_THREADCREATIONWRAPPER_H
+#include <log/log.h>
#include <pthread.h>
#include <vector>
-#include <cutils/log.h>
typedef void (*threadEntryFunc)(void* ret);