[SQUASH] RMX1921: Update fingerprint changes
RMX1921: drop AOD+FOD related code
* also don't blank display after doze, not required anymore as now we handle it in-kernel
Author: dev-harsh1998 <dev-harsh1998@hotmail.com>
RMX1921: biometrics: rework fingerprint
RMX1921: biometrics: add some delay before turning the dimlayer on
*when the screen is turning off and some color composition is enabled we can see the display colors change, with this commit we force the dimlayer to wait for the screen being turned off before changing the color composition
Author: MohitSethi99 <gamedevmohit@gmail.com>
RMX1921: biometric: disable dimlayer on authenticated
*only if fingerid!=0
*inspired by dev-harsh1998/android_device_realme_X2@3f7152f buth without any callback
RMX1921: fingerprint: report fingerprint pressed on our special node
* With commit Thatisjigen/android_kernel_realme_sdm710@5ee0cf7 I've create a node to track fingerprint press status, trigger it to 1 when pressed, later a service will be added to track file modifications and pulse doze when pressed
* That way we are going to track the pressed status and via userspace trigger a doze_pulse to handle AoD
* Send also a fake proximity event that will make proximity start when in aod, that way userspace will handle the doze pulse being triggered by the proximity state change
RMX1921: handle aod fod and proximity callback
* treewide edit: in sensors we make the proximity wake by movement while at it register also light sensor in proximityservice we check if while in aod fod is pressed, if it's pressed then pulse doze and make it recognize the event
in fingerprint hal we set the pressed state in a kernel node
RMX1921: fingerprint: bail the aod hack out when enrolling
* it breaks enrolling cause of unknown reasons with new kernel
Signed-off-by: kaderbava <ksbava7325@gmail.com>
Loading
Please register or sign in to comment