From 8a40e7c132d8a51a8c93d1d5a451f113365f9849 Mon Sep 17 00:00:00 2001 From: Andrei-Valentin Onea Date: Thu, 30 Jan 2020 21:38:35 +0000 Subject: [PATCH] Revert "Make platform_compat discoverable everywhere" Revert "Add new permissions to test" Revert submission 1210143-platformcompat-permissions Reason for revert: http://b/142942524 Reverted Changes: I3601b12d5: Add new permissions to test I65d425aac: Make platform_compat discoverable everywhere I1c8cbb656: Add permissions for using PlatformCompat methods Change-Id: I356c1d1c4d1213eea6e5585b23faa40722b1a01a --- private/platform_app.te | 1 + public/service.te | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/private/platform_app.te b/private/platform_app.te index 3beec38e0..76eaae673 100644 --- a/private/platform_app.te +++ b/private/platform_app.te @@ -68,6 +68,7 @@ allow platform_app system_api_service:service_manager find; allow platform_app vr_manager_service:service_manager find; allow platform_app gpu_service:service_manager find; allow platform_app stats_service:service_manager find; +allow platform_app platform_compat_service:service_manager find; # Allow platform apps to interact with gpuservice binder_call(platform_app, gpuservice) diff --git a/public/service.te b/public/service.te index d82fa548d..d9bf83df4 100644 --- a/public/service.te +++ b/public/service.te @@ -101,7 +101,7 @@ type lowpan_service, system_api_service, system_server_service, service_manager_ type ethernet_service, app_api_service, system_server_service, service_manager_type; type biometric_service, app_api_service, system_server_service, service_manager_type; type bugreport_service, system_api_service, system_server_service, service_manager_type; -type platform_compat_service, app_api_service, system_server_service, service_manager_type; +type platform_compat_service, system_server_service, service_manager_type; type face_service, app_api_service, system_server_service, service_manager_type; type fingerprint_service, app_api_service, system_server_service, service_manager_type; type gfxinfo_service, system_api_service, system_server_service, service_manager_type;