mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 18:07:35 +00:00
* Mark the pressed fingerprint layer. Change-Id: I49891f89350839ff93ff1a762a83996bfd56ec18
20 lines
386 B
C++
20 lines
386 B
C++
/*
|
|
* Copyright (C) 2022 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <compositionengine/UdfpsExtension.h>
|
|
#include <display/drm/sde_drm.h>
|
|
|
|
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
|
|
if (touched) {
|
|
z |= FOD_PRESSED_LAYER_ZORDER;
|
|
}
|
|
return z;
|
|
}
|
|
|
|
uint64_t getUdfpsUsageBits(uint64_t usageBits, bool) {
|
|
return usageBits;
|
|
}
|