From 8699877eefdaa53facda99c11058a8c6bb74f36f Mon Sep 17 00:00:00 2001 From: pjgowtham Date: Sun, 29 Sep 2024 01:36:20 +0530 Subject: [PATCH] dubai: fingerprint: Set dim layer zOrder Requires: I367b2c395aeb8cb7cb9e3cc38eca98477befe007 Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf (cherry picked from commit 2e3a0cda79ef7a1cf9dff430cfaa83cea1b46551) --- fingerprint/UdfpsExtension.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fingerprint/UdfpsExtension.cpp b/fingerprint/UdfpsExtension.cpp index f51a9e3..83f35b0 100644 --- a/fingerprint/UdfpsExtension.cpp +++ b/fingerprint/UdfpsExtension.cpp @@ -1,12 +1,15 @@ /* - * Copyright (C) 2022 The LineageOS Project - * + * Copyright (C) 2022-2024 The LineageOS Project * SPDX-License-Identifier: Apache-2.0 */ #include #include +uint32_t getUdfpsDimZOrder(uint32_t z) { + return z; +} + uint32_t getUdfpsZOrder(uint32_t z, bool touched) { if (touched) { z |= FOD_PRESSED_LAYER_ZORDER;