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

Commit 38b65726 authored by Iliyan Malchev's avatar Iliyan Malchev Committed by Android (Google) Code Review
Browse files

Revert "Compatibility work around for bad graphics driver dependency."

This reverts commit a50b51c0

Change-Id: Ibdcd776a7f241dbb2475403ea04f939249774c41
parent 1e83690c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -67,11 +67,6 @@ public:
    // Get information about a display
    static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info);

    // TODO: Remove me.  Do not use.
    // This is a compatibility shim for one product whose drivers are depending on
    // this legacy function (when they shouldn't).
    static status_t getDisplayInfo(int32_t displayId, DisplayInfo* info);

    // ------------------------------------------------------------------------
    // surface creation / destruction

+0 −9
Original line number Diff line number Diff line
@@ -552,15 +552,6 @@ status_t SurfaceComposerClient::getDisplayInfo(
    return ComposerService::getComposerService()->getDisplayInfo(display, info);
}

// TODO: Remove me.  Do not use.
// This is a compatibility shim for one product whose drivers are depending on
// this legacy function (when they shouldn't).
status_t SurfaceComposerClient::getDisplayInfo(
        int32_t displayId, DisplayInfo* info)
{
    return getDisplayInfo(getBuiltInDisplay(displayId), info);
}

// ----------------------------------------------------------------------------

ScreenshotClient::ScreenshotClient()