From 4f7d9d0188c7f428aa82cdea8767c151ea3ac023 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Wed, 13 Jan 2021 06:16:22 +0100 Subject: [PATCH] sdm660-common: biometrics: fingerprint: Revert "fpc: keep fpc in system-background" While Google found that fingerprint HAL is insensitive to increased CPU throughput, we have not found that to be the case. Allowing more CPUs makes fingerprint unlock up to 2x faster in some tests. SM8250 device with fingerprint on display: - Before: 3128ms - After: 944ms SDM845 device with fingerprint on the power button: - Before: 1146ms - After: 688ms This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e. Change-Id: Ia51ceb43ac940dfdae733919fbd685156d082568 Signed-off-by: pix106 --- ....hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc | 1 - 1 file changed, 1 deletion(-) diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc index 412484b5..da54d159 100644 --- a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc +++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc @@ -58,7 +58,6 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2. class late_start user system group system uhid input - writepid /dev/cpuset/system-background/tasks service vendor.goodix_script /vendor/bin/init.goodix.sh class late_start