diff options
author | 2021-03-16 15:51:53 +0100 | |
---|---|---|
committer | 2021-03-18 15:46:55 +0100 | |
commit | 3b1f7bcf8fd0ca2458eb26ec31a1bddf4bf7fd43 (patch) | |
tree | 3b022e6e90eaf1d5fd16b3e0a7d09dd9afd8cea0 /libs/gui/SurfaceControl.cpp | |
parent | 574c58d9922a99a0ab78efefabfad1977ef793c4 (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/SurfaceControl.cpp')
-rw-r--r-- | libs/gui/SurfaceControl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index 1dcfe2e804..7e2f8f9d36 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -39,6 +39,7 @@ #include <gui/Surface.h> #include <gui/SurfaceComposerClient.h> #include <gui/SurfaceControl.h> +#include <private/gui/ParcelUtils.h> namespace android { |