summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-03-16 15:51:53 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-03-18 15:46:55 +0100
commit3b1f7bcf8fd0ca2458eb26ec31a1bddf4bf7fd43 (patch)
tree3b022e6e90eaf1d5fd16b3e0a7d09dd9afd8cea0 /libs/gui/ISurfaceComposer.cpp
parent574c58d9922a99a0ab78efefabfad1977ef793c4 (diff)
Extract ParcelableUtils to avoid code duplication
Currently the SAFE_PARCEL macros are copies on multiple places. This CL extracts them in a single ParcelableUtils. Additionally in SAFE_PARCEL also the stringified error is printed. Bug: 179116474 Test: presubmit Change-Id: Ie09c3a9753b5742be14fe3cdb0061d5c64465e66
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
-rw-r--r--libs/gui/ISurfaceComposer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/ISurfaceComposer.cpp b/libs/gui/ISurfaceComposer.cpp
index 989abd9a15..f44f10a2ce 100644
--- a/libs/gui/ISurfaceComposer.cpp
+++ b/libs/gui/ISurfaceComposer.cpp
@@ -28,6 +28,7 @@
#include <gui/ISurfaceComposerClient.h>
#include <gui/LayerDebugInfo.h>
#include <gui/LayerState.h>
+#include <private/gui/ParcelUtils.h>
#include <stdint.h>
#include <sys/types.h>
#include <system/graphics.h>