From 2e336496c3b3b78910cf1c496e21dc4909ee32ad Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Wed, 5 Mar 2014 15:40:26 -0800 Subject: [PATCH] FramebufferNativeWindow.h is obsolete This adds a deprecation #warning to the header. Change-Id: Ia32f16e491cb01d435ec8846dda3d9a7d1a9cfc5 --- include/ui/FramebufferNativeWindow.h | 2 ++ libs/gui/tests/BufferQueue_test.cpp | 1 - libs/gui/tests/CpuConsumer_test.cpp | 2 -- libs/gui/tests/IGraphicBufferProducer_test.cpp | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h index 5ec738f33..5cd8101d3 100644 --- a/include/ui/FramebufferNativeWindow.h +++ b/include/ui/FramebufferNativeWindow.h @@ -17,6 +17,8 @@ #ifndef ANDROID_FRAMEBUFFER_NATIVE_WINDOW_H #define ANDROID_FRAMEBUFFER_NATIVE_WINDOW_H +#warning "FramebufferNativeWindow is deprecated" + #include #include diff --git a/libs/gui/tests/BufferQueue_test.cpp b/libs/gui/tests/BufferQueue_test.cpp index 06f9a9297..aafa6ea93 100644 --- a/libs/gui/tests/BufferQueue_test.cpp +++ b/libs/gui/tests/BufferQueue_test.cpp @@ -23,7 +23,6 @@ #include #include -#include #include diff --git a/libs/gui/tests/CpuConsumer_test.cpp b/libs/gui/tests/CpuConsumer_test.cpp index b370a2d96..9f61a0906 100644 --- a/libs/gui/tests/CpuConsumer_test.cpp +++ b/libs/gui/tests/CpuConsumer_test.cpp @@ -33,8 +33,6 @@ #include #include -#include - #define CPU_CONSUMER_TEST_FORMAT_RAW 0 #define CPU_CONSUMER_TEST_FORMAT_Y8 0 #define CPU_CONSUMER_TEST_FORMAT_Y16 0 diff --git a/libs/gui/tests/IGraphicBufferProducer_test.cpp b/libs/gui/tests/IGraphicBufferProducer_test.cpp index d16177b14..4d38ff566 100644 --- a/libs/gui/tests/IGraphicBufferProducer_test.cpp +++ b/libs/gui/tests/IGraphicBufferProducer_test.cpp @@ -23,7 +23,6 @@ #include #include -#include #include