am 38b65726: Revert "Compatibility work around for bad graphics driver dependency."

* commit '38b657265ccc5ae45bd7860a68b0d9373b47a2f3':
  Revert "Compatibility work around for bad graphics driver dependency."
This commit is contained in:
Iliyan Malchev 2012-09-27 15:54:09 -07:00 committed by Android Git Automerger
commit 76d4bd3e42
2 changed files with 0 additions and 14 deletions

View File

@ -67,11 +67,6 @@ public:
// Get information about a display // Get information about a display
static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info); 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 // surface creation / destruction

View File

@ -552,15 +552,6 @@ status_t SurfaceComposerClient::getDisplayInfo(
return ComposerService::getComposerService()->getDisplayInfo(display, info); 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() ScreenshotClient::ScreenshotClient()