sm7125: fingerprint: Use dim layer kernel defined value

Change-Id: I8f10fcb0edf992b6aab8581a28922bfb2eacafa0
fourteen-wip
Bruno Martins 2 years ago committed by Simon1511
parent 4f2013c55e
commit 9ec542c3dd
  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