hidl: biometrics: 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 committed by Sebastiano Barezzi
parent 06a86b7809
commit 873c871046
No known key found for this signature in database
GPG Key ID: 47760583F393BC44

View File

@ -5,7 +5,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) {
if (touched) {