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

Commit 901fc12f authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 75181b42: another attempt at fixing the build

parents 20ea16fe 673b56b4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -298,6 +298,7 @@ public:
    virtual sp<OverlayRef> createOverlay(
            uint32_t w, uint32_t h, int32_t format, int32_t orientation);
    virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage);
    virtual status_t setBufferCount(int bufferCount);

    // new functions
    void clearStat();
@@ -339,6 +340,11 @@ sp<GraphicBuffer> MSurface::requestBuffer(int bufferIdx, int usage) {
    return NULL;
}

status_t MSurface::setBufferCount(int bufferCount) {
    INFO(__func__);
    return NULL;
}

void MSurface::clearStat() {
    Mutex::Autolock _l(mLock);
    registerBuffersCount = 0;