Fix fingerprint crypto operations.
This fixes a bug introduced in the HIDL port where fingerprint no
longer notifies keystore of authentications.
Test: keyguard, FingerprintDialog
Fixes bug 34200870
Change-Id: I8b1aef9469ff4f4218573a6cde4c3a151512c226
(cherry picked from commit 2796009e4aa7c52a18a96d2186fd60b0577fa87c)
diff --git a/public/hal_fingerprint.te b/public/hal_fingerprint.te
index 426b73a..0d08f55 100644
--- a/public/hal_fingerprint.te
+++ b/public/hal_fingerprint.te
@@ -20,4 +20,7 @@
# For memory allocation
allow hal_fingerprint ion_device:chr_file r_file_perms;
+# Allow fingerprint to find and call keystore binder interfaces
+binder_use(hal_fingerprint);
+
r_dir_file(hal_fingerprint, cgroup)
diff --git a/public/system_server.te b/public/system_server.te
index 6dd5d23..3245f41 100644
--- a/public/system_server.te
+++ b/public/system_server.te
@@ -155,6 +155,7 @@
binder_call(system_server, binderservicedomain)
binder_call(system_server, dumpstate)
binder_call(system_server, fingerprintd)
+binder_call(system_server, hal_fingerprint)
binder_call(system_server, gatekeeperd)
binder_call(system_server, installd)
binder_call(system_server, netd)