From 880dd700643a96fdd4be684f3a893caa1492ed12 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Tue, 30 Mar 2021 22:18:45 +0000 Subject: [PATCH] Fix cuttlefish test fail due to sepolicy of Wirecutter Need to grant gpu_device dir search permission to be able to render UI on cuttlefish. Fixes: 183995046 Test: atest WirecutterTests Change-Id: I122e541188ce659381769339e3f9e6b720441a92 --- ambient/exo_wirecutter_app.te | 1 + 1 file changed, 1 insertion(+) diff --git a/ambient/exo_wirecutter_app.te b/ambient/exo_wirecutter_app.te index c8b63b8f..4fb10062 100644 --- a/ambient/exo_wirecutter_app.te +++ b/ambient/exo_wirecutter_app.te @@ -4,4 +4,5 @@ app_domain(exo_wirecutter_app) allow exo_wirecutter_app app_api_service:service_manager find; allow exo_wirecutter_app fwk_stats_hwservice:hwservice_manager find; +allow exo_wirecutter_app gpu_device:dir search; binder_call(exo_wirecutter_app, statsd)