From 769c053d7c5637d71afe0c5364888f25e10257fe Mon Sep 17 00:00:00 2001 From: Sasha Smundak Date: Thu, 31 Jan 2019 17:19:58 -0800 Subject: [PATCH] Explicitly include log/log.h or android/log.h instead of cutils/log.h Eliminates the warning. Test: treehugger Bug: 123758136 Change-Id: Ibe50261efc18d659a10129977342bc765a9ba9d5 --- camera/common/1.0/default/Exif.cpp | 2 +- gnss/1.0/default/GnssBatching.cpp | 2 +- gnss/1.0/default/ThreadCreationWrapper.h | 2 +- keymaster/3.0/default/KeymasterDevice.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/camera/common/1.0/default/Exif.cpp b/camera/common/1.0/default/Exif.cpp index 6054999a07..4de05c5de6 100644 --- a/camera/common/1.0/default/Exif.cpp +++ b/camera/common/1.0/default/Exif.cpp @@ -18,7 +18,7 @@ #define ATRACE_TAG ATRACE_TAG_CAMERA //#define LOG_NDEBUG 0 -#include +#include #include #include 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 // for wakelock consolidation #include -#include // for ALOGE +#include // for ALOGE #include 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 #include #include -#include typedef void (*threadEntryFunc)(void* ret); diff --git a/keymaster/3.0/default/KeymasterDevice.cpp b/keymaster/3.0/default/KeymasterDevice.cpp index 6fabbde992..7d3e6f25dc 100644 --- a/keymaster/3.0/default/KeymasterDevice.cpp +++ b/keymaster/3.0/default/KeymasterDevice.cpp @@ -19,7 +19,7 @@ #include "KeymasterDevice.h" -#include +#include #include #include