Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4905eb4 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix build: SurfaceTextureClient to Surface rename

Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480
parent f25c5086
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }