diff --git a/private/bufferhubd.te b/private/bufferhubd.te index 31328ac73229498d1222f43ba4d805357af865d2..012eb20270cb536f73ae5c02e199a76706106312 100644 --- a/private/bufferhubd.te +++ b/private/bufferhubd.te @@ -1,7 +1,3 @@ typeattribute bufferhubd coredomain; init_daemon_domain(bufferhubd) - -# Permission for create binder service "bufferhubd" -binder_use(bufferhubd); -add_service(bufferhubd, buffer_hub_service); diff --git a/private/service.te b/private/service.te index 660bc1ed7ccee8e296edbbb07365e374baf37943..3fec8825a777cbcd7c68feb024999a109ffeab08 100644 --- a/private/service.te +++ b/private/service.te @@ -1,3 +1,2 @@ -type buffer_hub_service, service_manager_type; type stats_service, service_manager_type; type statscompanion_service, system_server_service, service_manager_type; diff --git a/private/service_contexts b/private/service_contexts index 43479b32aa342b31335b13c0d9daa4bff546344a..9b81e68c5a486d9cdf7b17f52fac7cab0193f28e 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -23,7 +23,6 @@ biometric u:object_r:biometric_service:s0 bluetooth_manager u:object_r:bluetooth_manager_service:s0 bluetooth u:object_r:bluetooth_service:s0 broadcastradio u:object_r:broadcastradio_service:s0 -bufferhubd u:object_r:buffer_hub_service:s0 carrier_config u:object_r:radio_service:s0 clipboard u:object_r:clipboard_service:s0 com.android.net.IProxyService u:object_r:IProxyService_service:s0 diff --git a/private/shell.te b/private/shell.te index 885714dc4afce8573643c78007e3bd25c3f23494..8867112af5aa729764ad9f00b111a3f02a49e504 100644 --- a/private/shell.te +++ b/private/shell.te @@ -52,9 +52,6 @@ binder_call(shell, statsd); allow shell perfetto_traces_data_file:dir rw_dir_perms; allow shell perfetto_traces_data_file:file r_file_perms; -# Allow shell-based "dumpsys" to call into bufferhubd. -binder_call(shell, bufferhubd); - # Allow shell to run adb shell cmd gpu commands. binder_call(shell, gpuservice);