From c4905eb49d20667381f3cda7c6f6894234404bd3 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 15 Feb 2013 16:34:04 -0800 Subject: [PATCH] fix build: SurfaceTextureClient to Surface rename Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480 --- include/gui/Surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gui/Surface.h b/include/gui/Surface.h index a48e7e45a..bfd5a11d0 100644 --- a/include/gui/Surface.h +++ b/include/gui/Surface.h @@ -57,7 +57,7 @@ public: static status_t writeToParcel(const sp& surface, Parcel* parcel); static sp readFromParcel(const Parcel& data); - bool isValid(const sp& surface) const { + static bool isValid(const sp& surface) { return surface != NULL && surface->getIGraphicBufferProducer() != NULL; }