From 3ddf381e8d9d13bb477297cd82cd98584d221c61 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Wed, 13 Jan 2021 06:16:22 +0100 Subject: [PATCH] dubai: fingerprint: Don't keep HAL 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 Change-Id: I43d6096bd0ee8c6c30a81104858e42725689d696 --- .../android.hardware.biometrics.fingerprint@2.3-service.dubai.rc | 1 - 1 file changed, 1 deletion(-) diff --git a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc index 22c789d..fcb4488 100644 --- a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc +++ b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc @@ -5,4 +5,3 @@ service fps_hal.dubai /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3 class late_start user system group system input uhid - writepid /dev/cpuset/system-background/tasks