dubai: fingerprint: Set dim layer zOrder
Requires: I367b2c395aeb8cb7cb9e3cc38eca98477befe007 Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf (cherry picked from commit 2e3a0cda79ef7a1cf9dff430cfaa83cea1b46551)
This commit is contained in:
parent
e76e506a4e
commit
8699877eef
1 changed files with 5 additions and 2 deletions
|
@ -1,12 +1,15 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022 The LineageOS Project
|
* Copyright (C) 2022-2024 The LineageOS Project
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <compositionengine/UdfpsExtension.h>
|
#include <compositionengine/UdfpsExtension.h>
|
||||||
#include <display/drm/sde_drm.h>
|
#include <display/drm/sde_drm.h>
|
||||||
|
|
||||||
|
uint32_t getUdfpsDimZOrder(uint32_t z) {
|
||||||
|
return z;
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
|
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
|
||||||
if (touched) {
|
if (touched) {
|
||||||
z |= FOD_PRESSED_LAYER_ZORDER;
|
z |= FOD_PRESSED_LAYER_ZORDER;
|
||||||
|
|
Loading…
Reference in a new issue