Revert "A vendor ril depends on a native screen shot code."

This reverts commit 9b5782baf0.

A new ril for toro, hack no longer needed.
This commit is contained in:
Wink Saville 2012-08-30 11:53:55 -07:00
parent b82af2a8ae
commit 94f261556c
2 changed files with 0 additions and 13 deletions

View File

@ -148,11 +148,6 @@ class ScreenshotClient
public:
ScreenshotClient();
// 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 update();
// frees the previous screenshot and capture a new one
status_t update(const sp<IBinder>& display);
status_t update(const sp<IBinder>& display,

View File

@ -558,14 +558,6 @@ ScreenshotClient::ScreenshotClient()
: mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) {
}
// 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 ScreenshotClient::update() {
sp<ISurfaceComposer> sm(ComposerService::getComposerService());
return update(sm->getBuiltInDisplay(0));
}
status_t ScreenshotClient::update(const sp<IBinder>& display) {
sp<ISurfaceComposer> s(ComposerService::getComposerService());
if (s == NULL) return NO_INIT;