diff options
author | 2016-09-29 08:08:05 -0700 | |
---|---|---|
committer | 2017-01-12 11:27:12 -0800 | |
commit | 4dad9ce0a50a34f491ecc3ff95ea3e05ca95b724 (patch) | |
tree | 567b45df3682e1c1fcdcde6bc3c8e25b62d7505b | |
parent | e0ea99cc4ba89452b9b6b1baa33bddcb11f3351a (diff) |
Replace cutils/log.h and rationalize log/log.h and android/log.h
- cutils/log.h treat as deprecated and lead by example
- coding standard for header order
- include headers that are side effect of others.
Test: compile
Bug: 34250038
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
-rw-r--r-- | libs/binder/MemoryHeapBase.cpp | 2 | ||||
-rw-r--r-- | services/surfaceflinger/SurfaceInterceptor.cpp | 8 | ||||
-rw-r--r-- | services/surfaceflinger/SurfaceInterceptor.h | 3 |
3 files changed, 7 insertions, 6 deletions
diff --git a/libs/binder/MemoryHeapBase.cpp b/libs/binder/MemoryHeapBase.cpp index 9bb770226d..03f00be6a2 100644 --- a/libs/binder/MemoryHeapBase.cpp +++ b/libs/binder/MemoryHeapBase.cpp @@ -26,9 +26,9 @@ #include <unistd.h> #include <binder/MemoryHeapBase.h> -#include <log/log.h> #include <cutils/ashmem.h> #include <cutils/atomic.h> +#include <log/log.h> namespace android { diff --git a/services/surfaceflinger/SurfaceInterceptor.cpp b/services/surfaceflinger/SurfaceInterceptor.cpp index a12276ad58..60bc7f37ae 100644 --- a/services/surfaceflinger/SurfaceInterceptor.cpp +++ b/services/surfaceflinger/SurfaceInterceptor.cpp @@ -21,14 +21,12 @@ #include "SurfaceFlinger.h" #include "SurfaceInterceptor.h" -#include <android-base/file.h> - -#include <cutils/log.h> +#include <fstream> +#include <android-base/file.h> +#include <log/log.h> #include <utils/Trace.h> -#include <fstream> - namespace android { // ---------------------------------------------------------------------------- diff --git a/services/surfaceflinger/SurfaceInterceptor.h b/services/surfaceflinger/SurfaceInterceptor.h index 4695138873..9af6e612ec 100644 --- a/services/surfaceflinger/SurfaceInterceptor.h +++ b/services/surfaceflinger/SurfaceInterceptor.h @@ -21,6 +21,9 @@ #include <mutex> +#include <utils/SortedVector.h> +#include <utils/Vector.h> + namespace android { class BufferItem; |