sm8250-common: fod: Return touched z-order only
OnePlus places FP layer upon the dimlayer, causing the former one highlighted. Only return the z-order with fingerprint pressed to target the layer we need. Signed-off-by: alk3pInjection <webmaster@raspii.tech> Change-Id: I4666718018aa135a7d6387d957f136f23a5a5670
This commit is contained in:
parent
1a67d0fdc2
commit
2a0985f372
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@
|
|||
|
||||
#include <compositionengine/FodExtension.h>
|
||||
|
||||
uint32_t getFodZOrder(uint32_t, bool touched) {
|
||||
return touched ? 0xfc8 : 0xbd6;
|
||||
uint32_t getFodZOrder(uint32_t z, bool touched) {
|
||||
return touched ? 0xfc8 : z;
|
||||
}
|
||||
|
||||
uint64_t getFodUsageBits(uint64_t usageBits, bool) {
|
||||
|
|
Loading…
Reference in a new issue