fingerprint: inscreen: allow to set_fod_rect at boot
authorJesse Chan <jc@lineageos.org>
Fri, 8 May 2020 16:26:54 +0000 (00:26 +0800)
committerJan Altensen <info@stricted.net>
Sat, 16 May 2020 15:41:10 +0000 (17:41 +0200)
commit5502112367b6715547b02b9e8db9320eff49482d
treea7045681455ff92a293635f6a868bb44d86f5d1e
parent4c9e74f53b0279f3d9bf2549d5bb102f2604794b
fingerprint: inscreen: allow to set_fod_rect at boot

We found that stock firmware calculates the fod rect
from resolution and a set of inscreen fingerprint
sensor position data at boot and then use set_fod_rect
command to tell the Kernel TSP driver.

Then the Kernel TSP driver wrote it to "sponge"
(presumably firmware of touchscreen panel).

It is not yet known what exactly was done with this
data but it is good to keep in line with stock
firmware when we can.

Change-Id: Id44d399a8dc482c7d6f320a3bbfea1282ac4f83a
Signed-off-by: Jesse Chan <jc@lineageos.org>
hidl/fingerprint/inscreen/FingerprintInscreen.cpp
hidl/fingerprint/inscreen/include/samsung_fingerprint_inscreen.h