fix build: SurfaceTextureClient to Surface rename
Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480
This commit is contained in:
parent
f25c5086cf
commit
c4905eb49d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user