sm7125: fingerprint: Use dim layer kernel defined value

Change-Id: I8f10fcb0edf992b6aab8581a28922bfb2eacafa0
tirimbino
Bruno Martins 2 years ago committed by Ruchit Marathe
parent de06fdce50
commit 1ed7be92c6
  1. 3
      fingerprint/Android.bp
  2. 6
      fingerprint/UdfpsExtension.cpp

@ -4,4 +4,7 @@ cc_library_static {
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include"
],
header_libs: [
"generated_kernel_headers",
],
}

@ -15,9 +15,13 @@
*/
#include <compositionengine/UdfpsExtension.h>
#include <drm/sde_drm.h>
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
(void) touched;
if (touched) {
z |= FOD_PRESSED_LAYER_ZORDER;
}
return z;
}

Loading…
Cancel
Save