Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7375fb3e authored by Jiwen 'Steve' Cai's avatar Jiwen 'Steve' Cai
Browse files

VR services: don't writepid to /dev/cpuset/tasks

Currently bufferhubd and performanced's pid gets written into
/dev/cpuset/tasks. When start them on systems without cpuset support, it
will cause the creation of /dev/cpuset/tasks file by accident and
confuses Android system that cpuset is actually supported. Actually,
there is no need to explicitly put the service in the root cpuset, it
goes there by default if cpuset is supported.

Bug: 69057609
Bug: 64377040
Test: Build and boot system
Change-Id: Ia53345869fb5381b0e51e48ef6c7b85ddcfcafa1
parent a5bafdc5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2,5 +2,4 @@ service bufferhubd /system/bin/bufferhubd
  class core
  user system
  group system
  writepid /dev/cpuset/tasks
  socket pdx/system/buffer_hub/client stream 0660 system system u:object_r:pdx_bufferhub_client_endpoint_socket:s0
+0 −1
Original line number Diff line number Diff line
@@ -2,5 +2,4 @@ service performanced /system/bin/performanced
  class core
  user root
  group system readproc
  writepid /dev/cpuset/tasks
  socket pdx/system/performance/client stream 0666 system system u:object_r:pdx_performance_client_endpoint_socket:s0