fingerprint: Fix sde_drm.h include path on 5.4+ kernel

Change-Id: Idac59471ae329eabf8484cc1238c35dabaa64827
This commit is contained in:
LuK1337
2022-02-15 09:14:16 +01:00
parent 3dacefed22
commit 39f46bc3fd

View File

@@ -15,7 +15,12 @@
*/
#include <compositionengine/UdfpsExtension.h>
#if __has_include(<display/drm/sde_drm.h>)
#include <display/drm/sde_drm.h>
#elif __has_include(<drm/sde_drm.h>)
#include <drm/sde_drm.h>
#endif
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
#ifdef FOD_PRESSED_LAYER_ZORDER