diff options
author | 2017-01-27 14:21:34 -0500 | |
---|---|---|
committer | 2017-01-31 16:29:42 -0500 | |
commit | 479c60c85c40fd3536b0c88036e838dc1a4c56a0 (patch) | |
tree | 9f6034273a86390db5b39f7a2e221dc23a51b9ad /libs/gui/SurfaceControl.cpp | |
parent | 27c5ac029619efe630a258aae92e2c496733c677 (diff) |
Refactor how layer metadata for use by VR is propagated
from WindowManager based on feedback in frameworks/base.
Since windowType and ownerUid are immutable, they are sent
on creation instead of separate IPC.
Bug: 30984984
Test: built locally
Change-Id: I380b3cdcf6aec471fc23f1e27846ab80492e8add
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
-rw-r--r-- | libs/gui/SurfaceControl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index 2d05b78483..0362216258 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -107,11 +107,6 @@ status_t SurfaceControl::setLayer(int32_t layer) { if (err < 0) return err; return mClient->setLayer(mHandle, layer); } -status_t SurfaceControl::setLayerInfo(uint32_t type, uint32_t appid) { - status_t err = validate(); - if (err < 0) return err; - return mClient->setLayerInfo(mHandle, type, appid); -} status_t SurfaceControl::setPosition(float x, float y) { status_t err = validate(); if (err < 0) return err; |