From 1f0f77fcdf95fefb5ac7737f33a891e0bff42455 Mon Sep 17 00:00:00 2001
From: Haiqing Jiang <hqjiang1988@gmail.com>
Date: Fri, 27 Jul 2012 15:18:59 -0700
Subject: [PATCH] Allow CTS Test apps to access to system_data_file

---
 app.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app.te b/app.te
index 41866d909..b9b5a1750 100644
--- a/app.te
+++ b/app.te
@@ -117,7 +117,7 @@ allow untrusted_app sdcard:file create_file_perms;
 }
 # Native app support.
 bool app_ndk false;
-if (app_ndk) {
+if (app_ndk or android_cts) {
 allow untrusted_app system_data_file:file { execute open };
 }
 
-- 
GitLab