summaryrefslogtreecommitdiffstats
path: root/biometrics/fingerprint/2.0
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2018-03-21 15:42:09 -0700
committerBruno Martins <bgcngm@gmail.com>2018-09-05 16:56:33 +0200
commit4d2eae696430c1a98a7010138b22630dcac6590e (patch)
tree0efc08f4b917814aa7f79f74dc179be60b697dab /biometrics/fingerprint/2.0
parenta5d8eedc1046a426d280d1f76e2599d1a623e88a (diff)
downloadandroid_hardware_lineage_interfaces-4d2eae696430c1a98a7010138b22630dcac6590e.tar.gz
android_hardware_lineage_interfaces-4d2eae696430c1a98a7010138b22630dcac6590e.tar.bz2
android_hardware_lineage_interfaces-4d2eae696430c1a98a7010138b22630dcac6590e.zip
fpc: keep fpc in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also has a tendency to spin while waiting for FP hardware. Limit FPC to the system-background cpuset in order to avoid increased power consumption when accidentally touching the fingerprint sensor. bug 76115243 Test: fingerprint in system-background cpuset on taimen Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
Diffstat (limited to 'biometrics/fingerprint/2.0')
-rw-r--r--biometrics/fingerprint/2.0/android.hardware.biometrics.fingerprint@2.0-service.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/biometrics/fingerprint/2.0/android.hardware.biometrics.fingerprint@2.0-service.rc b/biometrics/fingerprint/2.0/android.hardware.biometrics.fingerprint@2.0-service.rc
index 1eb64f0..7d7ee76 100644
--- a/biometrics/fingerprint/2.0/android.hardware.biometrics.fingerprint@2.0-service.rc
+++ b/biometrics/fingerprint/2.0/android.hardware.biometrics.fingerprint@2.0-service.rc
@@ -5,3 +5,4 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.
class late_start
user system
group system input
+ writepid /dev/cpuset/system-background/tasks