Merge "Make DEBUG_FPS_DIVISOR updatable via setting for possible experiments"
This commit is contained in:
@@ -9699,6 +9699,14 @@ public final class Settings {
|
||||
*/
|
||||
public static final String SYS_VDSO = "sys_vdso";
|
||||
|
||||
/**
|
||||
* An integer to reduce the FPS by this factor. Only for experiments. Need to reboot the
|
||||
* device for this setting to take full effect.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final String FPS_DEVISOR = "fps_divisor";
|
||||
|
||||
/**
|
||||
* App standby (app idle) specific settings.
|
||||
* This is encoded as a key=value list, separated by commas. Ex:
|
||||
|
||||
@@ -353,6 +353,7 @@ public class SettingsBackupTest {
|
||||
Settings.Global.SYS_STORAGE_THRESHOLD_MAX_BYTES,
|
||||
Settings.Global.SYS_STORAGE_THRESHOLD_PERCENTAGE,
|
||||
Settings.Global.SYS_VDSO,
|
||||
Settings.Global.FPS_DEVISOR,
|
||||
Settings.Global.TCP_DEFAULT_INIT_RWND,
|
||||
Settings.Global.TETHER_DUN_APN,
|
||||
Settings.Global.TETHER_DUN_REQUIRED,
|
||||
|
||||
@@ -23,6 +23,7 @@ import android.os.SystemProperties;
|
||||
import android.provider.Settings;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Slog;
|
||||
import android.view.ThreadedRenderer;
|
||||
|
||||
import com.android.internal.annotations.VisibleForTesting;
|
||||
import com.android.internal.util.Preconditions;
|
||||
@@ -39,6 +40,7 @@ class GlobalSettingsToPropertiesMapper {
|
||||
// List mapping entries in the following format:
|
||||
// {Settings.Global.SETTING_NAME, "system_property_name"},
|
||||
{Settings.Global.SYS_VDSO, "sys.vdso"},
|
||||
{Settings.Global.FPS_DEVISOR, ThreadedRenderer.DEBUG_FPS_DIVISOR},
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user