Add 2 ANGLE deferlist settings
These will be used by the ANGLE Developer Options GUI to process the deferlist Test: logcat + various flash/wipe + system-driver scenarios Bug: 224558229 Change-Id: I47f940612f8be0c83f0be04c2cc1af7908e37382 Merged-In: I47f940612f8be0c83f0be04c2cc1af7908e37382
This commit is contained in:
@@ -14409,6 +14409,18 @@ public final class Settings {
|
||||
@Readable
|
||||
public static final String ANGLE_EGL_FEATURES = "angle_egl_features";
|
||||
|
||||
/**
|
||||
* Comma-separated list of package names that ANGLE may have issues with
|
||||
* @hide
|
||||
*/
|
||||
public static final String ANGLE_DEFERLIST = "angle_deferlist";
|
||||
|
||||
/**
|
||||
* Integer mode of the logic for applying `angle_deferlist`
|
||||
* @hide
|
||||
*/
|
||||
public static final String ANGLE_DEFERLIST_MODE = "angle_deferlist_mode";
|
||||
|
||||
/**
|
||||
* Show the "ANGLE In Use" dialog box to the user when ANGLE is the OpenGL driver.
|
||||
* The value is a boolean (1 or 0).
|
||||
|
||||
@@ -468,6 +468,10 @@ message GlobalSettingsProto {
|
||||
optional SettingProto updatable_driver_prerelease_opt_in_apps = 18;
|
||||
|
||||
optional SettingProto angle_egl_features = 19;
|
||||
// ANGLE - List of Apps that ANGLE may have issues with
|
||||
optional SettingProto angle_deferlist = 20;
|
||||
// ANGLE - Integer mode of the logic for applying `angle_deferlist`
|
||||
optional SettingProto angle_deferlist_mode = 21;
|
||||
}
|
||||
optional Gpu gpu = 59;
|
||||
|
||||
|
||||
@@ -770,6 +770,12 @@ class SettingsProtoDumpUtil {
|
||||
dumpSetting(s, p,
|
||||
Settings.Global.ANGLE_EGL_FEATURES,
|
||||
GlobalSettingsProto.Gpu.ANGLE_EGL_FEATURES);
|
||||
dumpSetting(s, p,
|
||||
Settings.Global.ANGLE_DEFERLIST,
|
||||
GlobalSettingsProto.Gpu.ANGLE_DEFERLIST);
|
||||
dumpSetting(s, p,
|
||||
Settings.Global.ANGLE_DEFERLIST_MODE,
|
||||
GlobalSettingsProto.Gpu.ANGLE_DEFERLIST_MODE);
|
||||
dumpSetting(s, p,
|
||||
Settings.Global.SHOW_ANGLE_IN_USE_DIALOG_BOX,
|
||||
GlobalSettingsProto.Gpu.SHOW_ANGLE_IN_USE_DIALOG);
|
||||
|
||||
@@ -512,6 +512,8 @@ public class SettingsBackupTest {
|
||||
Settings.Global.ANGLE_GL_DRIVER_SELECTION_PKGS,
|
||||
Settings.Global.ANGLE_GL_DRIVER_SELECTION_VALUES,
|
||||
Settings.Global.ANGLE_EGL_FEATURES,
|
||||
Settings.Global.ANGLE_DEFERLIST,
|
||||
Settings.Global.ANGLE_DEFERLIST_MODE,
|
||||
Settings.Global.UPDATABLE_DRIVER_ALL_APPS,
|
||||
Settings.Global.UPDATABLE_DRIVER_PRODUCTION_OPT_IN_APPS,
|
||||
Settings.Global.UPDATABLE_DRIVER_PRERELEASE_OPT_IN_APPS,
|
||||
|
||||
Reference in New Issue
Block a user