From 3de9cd9515171eb7ae9c8a696c4e1ce067e33fb3 Mon Sep 17 00:00:00 2001
From: Janis Danisevskis <jdanis@google.com>
Date: Tue, 27 Mar 2018 13:08:51 -0700
Subject: [PATCH] Keystore needs to be able to call apps

The ConfirmationUI API has a callback interface by which confirmation
results are presented to the calling app. This requires keystore to call
into apps.

Test: Device boots and no more denials when call back is delivered to
      apps.
Bug: 63928580
Change-Id: Ie23211aeb74c39956c3c3b8b32843d35afa1315a
---
 public/te_macros | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/te_macros b/public/te_macros
index 0e8dcf43c..2cb19757e 100644
--- a/public/te_macros
+++ b/public/te_macros
@@ -566,6 +566,7 @@ define(`use_keystore', `
   allow keystore $1:process getattr;
   allow $1 keystore_service:service_manager find;
   binder_call($1, keystore)
+  binder_call(keystore, $1)
 ')
 
 ###########################################
-- 
GitLab