summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Albert Chaulk <achaulk@google.com> 2017-01-27 14:21:34 -0500
committer Alex Sakhartchouk <alexst@google.com> 2017-01-31 16:29:42 -0500
commit479c60c85c40fd3536b0c88036e838dc1a4c56a0 (patch)
tree9f6034273a86390db5b39f7a2e221dc23a51b9ad /libs/gui/LayerState.cpp
parent27c5ac029619efe630a258aae92e2c496733c677 (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/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index fbf76a1f50..bb552aa67c 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -43,8 +43,6 @@ status_t layer_state_t::write(Parcel& output) const
output.writeStrongBinder(reparentHandle);
output.writeUint64(frameNumber);
output.writeInt32(overrideScalingMode);
- output.writeUint32(type);
- output.writeUint32(appid);
output.write(transparentRegion);
return NO_ERROR;
}
@@ -74,8 +72,6 @@ status_t layer_state_t::read(const Parcel& input)
reparentHandle = input.readStrongBinder();
frameNumber = input.readUint64();
overrideScalingMode = input.readInt32();
- type = input.readUint32();
- appid = input.readUint32();
input.read(transparentRegion);
return NO_ERROR;
}