From 479c60c85c40fd3536b0c88036e838dc1a4c56a0 Mon Sep 17 00:00:00 2001 From: Albert Chaulk Date: Fri, 27 Jan 2017 14:21:34 -0500 Subject: 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 --- libs/gui/LayerState.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/gui/LayerState.cpp') 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; } -- cgit v1.2.3-59-g8ed1b