title: GLES10.glGetIntegerv returns 0 in Lollipop only
body: <p>This piece of code used to work in my Nexus 7 2012 KitKat:</p>
  
  <pre><code>int[] maxSize = new int[1];
  GLES10.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, maxSize, 0);
  </code></pre>
  
  <p>In KitKat I can obtain the max pixel value correctly, but after the upgrade to factory image Lollipop this snippet of code causes problem as it only returns 0. The logcat showed this output when it reached this method:</p>
  
  <pre><code>E/libEGL﹕ call to OpenGL ES API with no current context (logged once per thread)
  </code></pre>
  
  <p>I already have <code>android:hardwareAccelerated="true"</code> in my Manifest.xml. Is there any API changes that I am not aware of, that causes the above code unusable? Please advise.</p>