Samsung enables FOD in TS driver (fod_enable) at all times except a small number of optical FOD sensor that doesn't have BiometricFeature .FEATURE_SUPPORT_AOD. As optical type sensor support is not implemented currently, this HAL is only used on device that has FOD always-on. This change follows behavior of stock firmware and without toggling of FOD enable state FOD should be more stable. Plus it allows setInteractive and config_powerDecoupleInteractiveModeFromDisplay to function properly with FOD. Currently setInteractive(0) happens before a onShowFODView (which is the current point to call fod_enable) can be triggered by the Doze, as TS driver only handles command when it is enabled, FOD doesn't work when there is a setInteractive(0) that disables TS. Change-Id: I22291cc62d81ffdaa5edd3f684f9788b0c0650c2tirimbino
parent
3b4d392992
commit
ec166e56e2
Loading…
Reference in new issue