From 45dc0da0bc8ecf82dc0610a82f9f36448f5fa421 Mon Sep 17 00:00:00 2001 From: pjgowtham Date: Sun, 29 Sep 2024 01:36:20 +0530 Subject: [PATCH] sm7125-common: fingerprint: Set dim layer zOrder Requires: I367b2c395aeb8cb7cb9e3cc38eca98477befe007 Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf --- fingerprint/UdfpsExtension.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fingerprint/UdfpsExtension.cpp b/fingerprint/UdfpsExtension.cpp index 8ff3159..a8814fe 100644 --- a/fingerprint/UdfpsExtension.cpp +++ b/fingerprint/UdfpsExtension.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 The LineageOS Project + * Copyright (C) 2022-2024 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,10 @@ #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;