From eaa6bb7cc662b01fe0ec09431b618e2157751180 Mon Sep 17 00:00:00 2001
From: Craig Donner <cdonner@google.com>
Date: Tue, 7 Feb 2017 15:49:48 -0800
Subject: [PATCH] Allow untrusted apps to access VrManager.

There is only a single systemapi at the moment that is callable, and it is
protected by a signature/preinstalled permission.

Bug: 35059826,33297721
Test: manually on a marlin
Change-Id: I778864afc9d02f8b2bfcf6b92a9f975ee87c4724
---
 private/untrusted_app.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/private/untrusted_app.te b/private/untrusted_app.te
index 643f95293..176077321 100644
--- a/private/untrusted_app.te
+++ b/private/untrusted_app.te
@@ -78,6 +78,7 @@ allow untrusted_app nfc_service:service_manager find;
 allow untrusted_app radio_service:service_manager find;
 allow untrusted_app surfaceflinger_service:service_manager find;
 allow untrusted_app app_api_service:service_manager find;
+allow untrusted_app vr_manager_service:service_manager find;
 
 # Allow GMS core to access perfprofd output, which is stored
 # in /data/misc/perfprofd/. GMS core will need to list all
-- 
GitLab