From acd719db2d75cccdb54dc96868a279ce51da2caf Mon Sep 17 00:00:00 2001 From: Vincent Vidal Date: Tue, 18 Aug 2020 14:42:49 +0200 Subject: [PATCH] davinci: fod: Use FOD_PRESSED_LAYER_ZORDER instead of magic number Change-Id: I93d8519ca43db307abdf958354920da10776aa80 --- fod/FodExtension.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fod/FodExtension.cpp b/fod/FodExtension.cpp index cc5d64d..1a0358e 100644 --- a/fod/FodExtension.cpp +++ b/fod/FodExtension.cpp @@ -14,11 +14,13 @@ * limitations under the License. */ +#include +#include #include uint32_t getFodZOrder(uint32_t z, bool touched) { if (touched) { - z |= 0x20000000u; + z |= FOD_PRESSED_LAYER_ZORDER; } return z;