diff options
author | Mathias Agopian <mathias@google.com> | 2013-02-15 16:34:04 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-02-15 16:34:04 -0800 |
commit | c4905eb49d20667381f3cda7c6f6894234404bd3 (patch) | |
tree | e66b6c010448a8592764173d104819ef711569f6 /include/gui/Surface.h | |
parent | f25c5086cf46eb029d887f34f25a09220e44958c (diff) | |
download | frameworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.zip frameworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.tar.gz frameworks_native-c4905eb49d20667381f3cda7c6f6894234404bd3.tar.bz2 |
fix build: SurfaceTextureClient to Surface rename
Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480
Diffstat (limited to 'include/gui/Surface.h')
-rw-r--r-- | include/gui/Surface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h index a48e7e4..bfd5a11 100644 --- a/include/gui/Surface.h +++ b/include/gui/Surface.h @@ -57,7 +57,7 @@ public: static status_t writeToParcel(const sp<Surface>& surface, Parcel* parcel); static sp<Surface> readFromParcel(const Parcel& data); - bool isValid(const sp<Surface>& surface) const { + static bool isValid(const sp<Surface>& surface) { return surface != NULL && surface->getIGraphicBufferProducer() != NULL; } |