title: android 4.1 composer->captureScreen(...) failed
body: <p>I use JNI way, <code>composer -&gt; captureScreen(...)</code> to capture final surfaceflinger composed screen, like <a href="http://code.metager.de/source/xref/android/4.1.1/frameworks/native/services/surfaceflinger/tests/Transaction_test.cpp" rel="nofollow">this sample</a> in source code.</p>
  
  <p>and build success on android 4.1, but there are error happened at runtime: the <code>captureScreen(...)</code> returns <code>err = 1</code>, and <code>heap = null</code>.</p>
  
  <p>I googled <a href="http://iqwen.net/question/54584" rel="nofollow">this link</a> is the same fail, still no answer.</p>