From 5bd02e3e1fb4235366962ae739b97b918c5e4600 Mon Sep 17 00:00:00 2001 From: Vishnu Nair Date: Fri, 1 Oct 2021 14:51:13 -0700 Subject: libgui: remove dead code in layer state Test: builds & presubmit Change-Id: Ide8e53777620c3d4eb50d0b1455c04ac1cf96da7 --- libs/gui/LayerState.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/gui/LayerState.cpp') diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index cf61209d6c..f848e4ffde 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -50,7 +50,6 @@ layer_state_t::layer_state_t() transform(0), transformToDisplayInverse(false), crop(Rect::INVALID_RECT), - orientedDisplaySpaceRect(Rect::INVALID_RECT), dataspace(ui::Dataspace::UNKNOWN), surfaceDamageRegion(), api(-1), @@ -100,7 +99,6 @@ status_t layer_state_t::write(Parcel& output) const SAFE_PARCEL(output.write, transparentRegion); SAFE_PARCEL(output.writeUint32, transform); SAFE_PARCEL(output.writeBool, transformToDisplayInverse); - SAFE_PARCEL(output.write, orientedDisplaySpaceRect); SAFE_PARCEL(output.writeUint32, static_cast(dataspace)); SAFE_PARCEL(output.write, hdrMetadata); @@ -195,7 +193,6 @@ status_t layer_state_t::read(const Parcel& input) SAFE_PARCEL(input.read, transparentRegion); SAFE_PARCEL(input.readUint32, &transform); SAFE_PARCEL(input.readBool, &transformToDisplayInverse); - SAFE_PARCEL(input.read, orientedDisplaySpaceRect); uint32_t tmpUint32 = 0; SAFE_PARCEL(input.readUint32, &tmpUint32); -- cgit v1.2.3-59-g8ed1b