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

Commit a449853e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rename updatable graphics driver to Game Update Package."

parents 06ba0a7d b33ffca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ public class GraphicsEnvironment {

        String applicationPackageName = context.getPackageName();
        String devOptInApplicationName = coreSettings.getString(
                Settings.Global.UPDATED_GFX_DRIVER_DEV_OPT_IN_APP);
                Settings.Global.GUP_DEV_OPT_IN_APPS);
        boolean devOptIn = applicationPackageName.equals(devOptInApplicationName);
        boolean whitelisted = onWhitelist(context, driverPackageName, ai.packageName);
        if (!devOptIn && !whitelisted) {
+8 −3
Original line number Diff line number Diff line
@@ -11982,11 +11982,16 @@ public final class Settings {
                "angle_gl_driver_selection_values";
        /**
         * App that is selected to use updated graphics driver.
         * Apps that are selected to use Game Update Package.
         * @hide
         */
        public static final String UPDATED_GFX_DRIVER_DEV_OPT_IN_APP =
                "updated_gfx_driver_dev_opt_in_app";
        public static final String GUP_DEV_OPT_IN_APPS = "gup_dev_opt_in_apps";
        /**
         * Apps on the black list that are forbidden to useGame Update Package.
         * @hide
         */
        public static final String GUP_BLACK_LIST = "gup_black_list";
        /**
         * Ordered GPU debug layer list for Vulkan
+5 −3
Original line number Diff line number Diff line
@@ -436,9 +436,11 @@ message GlobalSettingsProto {
        // Ordered GPU debug layer list for GLES
        // i.e. <layer1>:<layer2>:...:<layerN>
        optional SettingProto debug_layers_gles = 7;
        // App opt in to load updated graphics driver instead of
        // native graphcis driver through developer options.
        optional SettingProto updated_gfx_driver_dev_opt_in_app = 8;
        // Apps opt in to load graphics driver from Game Update Package
        // instead of native graphcis driver through developer options.
        optional SettingProto gup_dev_opt_in_apps = 8;
        // Apps on the black list that are forbidden to useGame Update Package.
        optional SettingProto gup_black_list = 9;
    }
    optional Gpu gpu = 59;

+2 −1
Original line number Diff line number Diff line
@@ -475,7 +475,8 @@ public class SettingsBackupTest {
                    Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_ALL_ANGLE,
                    Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_PKGS,
                    Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_VALUES,
                    Settings.Global.UPDATED_GFX_DRIVER_DEV_OPT_IN_APP,
                    Settings.Global.GUP_DEV_OPT_IN_APPS,
                    Settings.Global.GUP_BLACK_LIST,
                    Settings.Global.GPU_DEBUG_LAYER_APP,
                    Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING,
                    Settings.Global.INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT,
+1 −1
Original line number Diff line number Diff line
@@ -1138,7 +1138,7 @@
    <string name="notice_header" translatable="false"></string>

    <!-- UI debug setting: opt in to use updated graphics driver? [CHAR LIMIT=100] -->
    <string name="updated_gfx_driver_dev_opt_in_app_summary">Opt in app to use updated graphcis driver in developement</string>
    <string name="gup_dev_opt_in_app_summary">Opt in app to use Game Update Package in developement</string>

    <!-- Name of the phone device [CHAR LIMIT=NONE] -->
    <string name="media_transfer_phone_device_name">Phone speaker</string>
Loading