From 530479f6b4573ff0ef3ff0413114718c49c75e76 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Mon, 23 Aug 2021 19:25:23 +0200 Subject: [PATCH] sm6250-common: biometrics: 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: I7a28d82caee2b8503b974a8226b29240eb072ceb --- ...d.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc | 1 - 1 file changed, 1 deletion(-) diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc index 7efe889..e531436 100644 --- a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc +++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc @@ -2,7 +2,6 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2. class late_start user system group system input uhid - writepid /dev/cpuset/system-background/tasks on post-fs-data mkdir /data/vendor/fpc 0770 system system