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

Commit 35d7a94c authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by Android Git Automerger
Browse files

am de08cdc0: Merge change 8262 into donut

Merge commit 'de08cdc0'

* commit 'de08cdc0':
  Implement the device ConfigurationInfo.reqGlEsVersion field.
parents f88c0a06 de08cdc0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -728,6 +728,11 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
     */
    Configuration mConfiguration = new Configuration();
    /**
     * Hardware-reported OpenGLES version.
     */
    final int GL_ES_VERSION;
    /**
     * List of initialization arguments to pass to all processes when binding applications to them.
     * For example, references to the commonly used services.
@@ -1401,6 +1406,9 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
        mUsageStatsService = new UsageStatsService( new File(
                systemDir, "usagestats").toString());
        GL_ES_VERSION = SystemProperties.getInt("ro.opengles.version",
            ConfigurationInfo.GL_ES_VERSION_UNDEFINED);
        mConfiguration.makeDefault();
        mProcessStats.init();
        
@@ -11888,6 +11896,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
                    && mConfiguration.keyboard != Configuration.KEYBOARD_NOKEYS) {
                config.reqInputFeatures |= ConfigurationInfo.INPUT_FEATURE_HARD_KEYBOARD;
            }
            config.reqGlEsVersion = GL_ES_VERSION;
        }
        return config;
    }