summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2022-06-21 19:36:14 +0530
committerMichael Bestas <mkbestas@lineageos.org>2022-06-24 12:45:21 +0200
commit4fee50b713bccc61bc78f93b156c472d477e90c5 (patch)
tree275eef1e7933e8950ce30fbf6816f0e3ee2be8ad
parent490115c0d06eae20c4bdacf4305420fe7d6a1c2a (diff)
Drop rules for gallery app
* No longer used Change-Id: I91cd325d188dc45c183194003d0c16ea518d880f
-rw-r--r--common/private/gallery_app.te29
-rw-r--r--common/private/seapp_contexts1
2 files changed, 0 insertions, 30 deletions
diff --git a/common/private/gallery_app.te b/common/private/gallery_app.te
deleted file mode 100644
index e3453bf..0000000
--- a/common/private/gallery_app.te
+++ /dev/null
@@ -1,29 +0,0 @@
-type gallery_app, domain, coredomain;
-
-app_domain(gallery_app)
-net_domain(gallery_app)
-
-# Access standard system services
-allow gallery_app app_api_service:service_manager find;
-allow gallery_app audioserver_service:service_manager find;
-allow gallery_app cameraserver_service:service_manager find;
-allow gallery_app drmserver_service:service_manager find;
-allow gallery_app mediaextractor_service:service_manager find;
-allow gallery_app mediaserver_service:service_manager find;
-allow gallery_app mediametrics_service:service_manager find;
-allow gallery_app nfc_service:service_manager find;
-allow gallery_app surfaceflinger_service:service_manager find;
-
-allow gallery_app hidl_token_hwservice:hwservice_manager find;
-
-# Allow to read and execute camera app modules
-typeattribute gallery_app system_executes_vendor_violators;
-allow gallery_app vendor_file:file { rx_file_perms };
-
-# Read and write system app data files passed over Binder.
-# Motivating case was /data/data/com.android.settings/cache/*.jpg for
-# cropping or taking user photos.
-allow gallery_app system_app_data_file:file { read write getattr };
-
-# Binder call with gpuservice
-binder_call(gallery_app, gpuservice)
diff --git a/common/private/seapp_contexts b/common/private/seapp_contexts
index 0b94f96..66eb073 100644
--- a/common/private/seapp_contexts
+++ b/common/private/seapp_contexts
@@ -1,3 +1,2 @@
-user=_app isPrivApp=true seinfo=platform name=com.android.gallery3d domain=gallery_app type=app_data_file levelFrom=user
user=_app isPrivApp=true seinfo=platform name=org.lineageos.snap domain=snap_app type=app_data_file levelFrom=user
user=_app isPrivApp=true seinfo=platform name=org.lineageos.updater domain=updater_app type=app_data_file levelFrom=user