SEPolicy: Add game sysprop read access for system_app
To allow Settings application to read game default
frame rate system properties, adding access to system_app
game_manager_config_prop includes
"persist.graphics.game_default_frame_rate.enabled" for
toggling the system UI toggle, which is updated in
GameManagerService. This will only be read in Settings to
determine if the toggle is on or off.
Bug: 286084594
Test: m; boot;
Change-Id: I3d5795a8a462c25eeae90aade6eaf08c06f540c3
diff --git a/private/system_app.te b/private/system_app.te
index 4f344cc..720bb7f 100644
--- a/private/system_app.te
+++ b/private/system_app.te
@@ -157,6 +157,9 @@
allow system_app system_server:udp_socket {
connect getattr read recvfrom sendto write getopt setopt };
+# allow system apps to read game manager related sysrops
+get_prop(system_app, game_manager_config_prop)
+
# Settings app reads ro.oem_unlock_supported
get_prop(system_app, oem_unlock_prop)