From 77565571fc884e74cdf7a7b9ed0cbf37a70b6747 Mon Sep 17 00:00:00 2001 From: Jiwen 'Steve' Cai Date: Mon, 15 Oct 2018 11:31:29 -0700 Subject: Remove DetachedBufferHandle from libui DetachedBufferHandle was a temporary measure introduced in Android P to bridge BufferHub and GraphicBuffer. In Android Q however, GraphicBuffer will be directly backed by BufferHub, thus DetachedBufferHandle becomes redundant. Also note that removing DetachedBufferHandle from libui should bare no impact on vendors for two reasons: 1. BufferHub in P is only enabled for Daydream ready devices (i.e. Pixel lines and VR AIO devices). No other vendors should have BufferHub enabled. 2. DetachedBufferHandle.h was hidden from vndk and thus vendors shouldn't get access to it anyway. Bug: 117522732 Test: Build system Change-Id: I3828eaa9499051e5ad5e4e270b5c26bae5f2c707 --- libs/ui/BufferHubBuffer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'libs/ui/BufferHubBuffer.cpp') diff --git a/libs/ui/BufferHubBuffer.cpp b/libs/ui/BufferHubBuffer.cpp index a6e6d73819..8cc1a4e3b4 100644 --- a/libs/ui/BufferHubBuffer.cpp +++ b/libs/ui/BufferHubBuffer.cpp @@ -37,7 +37,6 @@ #pragma clang diagnostic pop #include -#include #include -- cgit v1.2.3-59-g8ed1b