Loading services/java/com/android/server/am/ActivityManagerService.java +9 −0 Original line number Diff line number Diff line Loading @@ -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. Loading Loading @@ -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(); Loading Loading @@ -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; } Loading Loading
services/java/com/android/server/am/ActivityManagerService.java +9 −0 Original line number Diff line number Diff line Loading @@ -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. Loading Loading @@ -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(); Loading Loading @@ -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; } Loading