libcutils: Replace cutils/log.h with android/log.h
Replace references to cutils/log.h and log/log.h with android/log.h.
Point cutils/log.h to android/log.h. Adjust header order to comply
with Android Coding standards.
Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I4b00c0dff3a0a50cbb54301fdc5a6c29c21dab65
diff --git a/libcutils/trace-dev.c b/libcutils/trace-dev.c
index 099ab45..b91c7be 100644
--- a/libcutils/trace-dev.c
+++ b/libcutils/trace-dev.c
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "cutils-trace"
+
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
@@ -27,8 +29,7 @@
#include <cutils/properties.h>
#include <cutils/trace.h>
-#define LOG_TAG "cutils-trace"
-#include <log/log.h>
+#include <android/log.h>
/**
* Maximum size of a message that can be logged to the trace buffer.