diff options
| author | 2013-03-01 20:39:03 +0000 | |
|---|---|---|
| committer | 2013-03-01 16:06:48 -0800 | |
| commit | bbb57f3331c7182399ed82e9c4f93a965677dde3 (patch) | |
| tree | adf03e3e4c5de3bdc7ade7f954232c3c635f51ca /libs/gui | |
| parent | 98ca63e6d15e47a9b62971f0db6424c13c226019 (diff) | |
Revert "Change SurfaceControl setPosition to take floats"
Temporary, to fix weekend build, until we get Nvidia code drop.
This reverts commit 9a867a8798fa6ea21f6341db31e38ea64fde6c83
DO NOT MERGE
Change-Id: I7b5dbc4db46ef3d97dc8598057d5487d6971178b
Diffstat (limited to 'libs/gui')
| -rw-r--r-- | libs/gui/SurfaceControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index e621b22a05..ef52269b0a 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -106,7 +106,7 @@ status_t SurfaceControl::setLayer(int32_t layer) { const sp<SurfaceComposerClient>& client(mClient); return client->setLayer(mSurface, layer); } -status_t SurfaceControl::setPosition(float x, float y) { +status_t SurfaceControl::setPosition(int32_t x, int32_t y) { status_t err = validate(); if (err < 0) return err; const sp<SurfaceComposerClient>& client(mClient); |