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

Commit 32039452 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Add OWNERS for GlobalSettingsToPropertiesMapper

Also mention that properties being added should be whitelisted in SELinux

Test: Manual
Bug: 76082713
Change-Id: I17cebca7be98377c4b76744d9e9e69ac70c1d6dd
parent 6ed6340e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -36,9 +36,11 @@ class GlobalSettingsToPropertiesMapper {

    private static final String TAG = "GlobalSettingsToPropertiesMapper";

    private static final String[][] sGlobalSettingsMapping = new String[][] {
    // List mapping entries in the following format:
    //  {Settings.Global.SETTING_NAME, "system_property_name"},
    // {Settings.Global.SETTING_NAME, "system_property_name"}
    // Important: Property being added should be whitelisted by SELinux policy or have one of the
    // already whitelisted prefixes in system_server.te, e.g. sys.
    private static final String[][] sGlobalSettingsMapping = new String[][] {
        {Settings.Global.SYS_VDSO, "sys.vdso"},
        {Settings.Global.FPS_DEVISOR, ThreadedRenderer.DEBUG_FPS_DIVISOR},
        {Settings.Global.DISPLAY_PANEL_LPM, "sys.display_panel_lpm"},
+4 −0
Original line number Diff line number Diff line
per-file GlobalSettingsToPropertiesMapper.java=fkupolov@google.com
per-file GlobalSettingsToPropertiesMapper.java=omakoto@google.com
per-file GlobalSettingsToPropertiesMapper.java=svetoslavganov@google.com
per-file GlobalSettingsToPropertiesMapper.java=yamasani@google.com
 No newline at end of file