From 7e263332e0c68f67868cb3245bf42f41e847d816 Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Wed, 22 Jul 2009 15:22:59 -0700 Subject: [PATCH] Remove recently-added android.opengl.Version API There's another already-existing way of obtaining this information, the ConfigurationInfo.reqGlEsVersion field returned from ActivityManager.getDeviceConfigurationInfo. --- api/current.xml | 50 ------------------------- opengl/java/android/opengl/Version.java | 47 ----------------------- 2 files changed, 97 deletions(-) delete mode 100644 opengl/java/android/opengl/Version.java diff --git a/api/current.xml b/api/current.xml index a730ed0830b07..46969e0ade2c1 100644 --- a/api/current.xml +++ b/api/current.xml @@ -91622,56 +91622,6 @@ - - - - - - - - - - - * A device that supports a given API level must also support - * numerically smaller API levels. - *

- * A device that supports a given API level may not necessarily - * support every feature of that API level. API-specific techniques may - * be used to determine whether specific features are supported. - * - * @return the highest OpenGL ES API level supported by the current device. - */ - public static int getOpenGLESVersion() { - return SystemProperties.getInt("ro.opengles.version", OPENGLES_11); - } - - /** - * The version number for OpenGL ES 1.1. - */ - public final static int OPENGLES_11 = 11; - - /** - * The version number for OpenGL ES 2.0. - */ - public final static int OPENGLES_20 = 20; -}