summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoshe Barash <mosimchah@gmail.com>2019-12-13 06:40:01 +0100
committerMoshe Barash <mosimchah@gmail.com>2019-12-13 06:44:19 +0100
commit9d1046de3989a03c6dd98d016bbdd101f2a5722b (patch)
treeca731b8a354fbd60f0840e4bc13c3e69629d3a9c
parent737c1421120e85779ebbfda96d43b1b1b0eb0f1f (diff)
Revert "Revert "common: Ditch qemu_hw_mainkeys rules""p9.0
This reverts commit 737c1421120e85779ebbfda96d43b1b1b0eb0f1f. Reason for revert: no neverallows please, this can be moved back to legacy Change-Id: I19414a412fc15be21c0cecc99c420a878b6df10a
-rw-r--r--common/private/platform_app.te2
-rw-r--r--common/private/system_server.te2
-rw-r--r--common/public/property.te1
-rw-r--r--common/public/property_contexts1
4 files changed, 0 insertions, 6 deletions
diff --git a/common/private/platform_app.te b/common/private/platform_app.te
index 8670239..8156095 100644
--- a/common/private/platform_app.te
+++ b/common/private/platform_app.te
@@ -1,8 +1,6 @@
# Allow NFC service to be found
allow platform_app nfc_service:service_manager find;
-get_prop(platform_app, qemu_hw_mainkeys_prop)
-
# Allow FOD HAL service to be found
hal_client_domain(platform_app, hal_lineage_fod)
diff --git a/common/private/system_server.te b/common/private/system_server.te
index fc36722..4e31a51 100644
--- a/common/private/system_server.te
+++ b/common/private/system_server.te
@@ -1,7 +1,5 @@
allow system_server storage_stub_file:dir getattr;
-set_prop(system_server, qemu_hw_mainkeys_prop)
-
# Pocket judge
allow system_server pocket_service:service_manager { add find };
diff --git a/common/public/property.te b/common/public/property.te
deleted file mode 100644
index fa08540..0000000
--- a/common/public/property.te
+++ /dev/null
@@ -1 +0,0 @@
-type qemu_hw_mainkeys_prop, property_type;
diff --git a/common/public/property_contexts b/common/public/property_contexts
deleted file mode 100644
index 4169b44..0000000
--- a/common/public/property_contexts
+++ /dev/null
@@ -1 +0,0 @@
-qemu.hw.mainkeys u:object_r:qemu_hw_mainkeys_prop:s0