fingerprint: Add support for TARGET_USES_FOD_ZPOS
Change-Id: Iaf79d5393169b986197be058ac2166d2e448dfa0
This commit is contained in:
@@ -37,4 +37,7 @@ cc_library_static {
|
||||
include_dirs: [
|
||||
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
|
||||
],
|
||||
header_libs: [
|
||||
"generated_kernel_headers",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -15,9 +15,14 @@
|
||||
*/
|
||||
|
||||
#include <compositionengine/UdfpsExtension.h>
|
||||
#include <drm/sde_drm.h>
|
||||
|
||||
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
|
||||
#ifdef FOD_PRESSED_LAYER_ZORDER
|
||||
return touched ? z | FOD_PRESSED_LAYER_ZORDER : z;
|
||||
#else
|
||||
return touched ? 0x41000033 : z;
|
||||
#endif
|
||||
}
|
||||
|
||||
uint64_t getUdfpsUsageBits(uint64_t usageBits, bool /*touched*/) {
|
||||
|
||||
Reference in New Issue
Block a user