am 7930a5a0: DO NOT MERGE Removing title bar to prevent false CTS failure on DisplayRefreshRateTest
* commit '7930a5a08ad8619241dd4dfe59fa8732c12d638a':
DO NOT MERGE Removing title bar to prevent false CTS failure on DisplayRefreshRateTest
diff --git a/tests/src/android/opengl/cts/GLSurfaceViewStubActivity.java b/tests/src/android/opengl/cts/GLSurfaceViewStubActivity.java
index 79da413..85ad172 100644
--- a/tests/src/android/opengl/cts/GLSurfaceViewStubActivity.java
+++ b/tests/src/android/opengl/cts/GLSurfaceViewStubActivity.java
@@ -19,6 +19,7 @@
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
+import android.view.Window;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
@@ -100,6 +101,7 @@
if (mRenderModeSet) {
mView.setRenderMode(mRenderMode);
}
+ this.requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(mView);
}