hidl: fingerprint: UdfpsExtension: Set dim layer zOrder
It is Only used by SM8450+
Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
diff --git a/hidl/fingerprint/UdfpsExtension.cpp b/hidl/fingerprint/UdfpsExtension.cpp
index 7daf9b8..1fd1241 100644
--- a/hidl/fingerprint/UdfpsExtension.cpp
+++ b/hidl/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.
@@ -22,6 +22,10 @@
#include <drm/sde_drm.h>
#endif
+uint32_t getUdfpsDimZOrder(uint32_t z) {
+ return 0x41000005;
+}
+
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
#ifdef FOD_PRESSED_LAYER_ZORDER
return touched ? z | FOD_PRESSED_LAYER_ZORDER : z;