Permalink
Browse files

Added details about the Force Close w/ hardware acceleration.

  • Loading branch information...
1 parent 16a313b commit 17d1380ca2d3cd8589d67cd74c56d6a60a1ec633 @lvillani committed Jun 9, 2012
Showing with 40 additions and 0 deletions.
  1. +40 −0 README.md
View
40 README.md
@@ -24,6 +24,46 @@ To work-around this bug you have to disable hardware acceleration for the
android:hardwareAccelerated="false"/>
+Bug Details
+-----------
+
+On Android 4.0.0 and later, when hardware acceleration is enabled, the
+`CropImage` activity throws an unmanaged exception. The sources were imported
+from Android 2.1 and it is possible for some graphics operation to raise
+errors on newer platforms.
+
+Stacktrace follows:
+
+ java.lang.UnsupportedOperationException
+ at android.view.GLES20Canvas.clipPath(GLES20Canvas.java:413)
+ at com.android.camera.HighlightView.draw(HighlightView.java:101)
+ at com.android.camera.CropImageView.onDraw(CropImage.java:783)
+ at android.view.View.draw(View.java:10978)
+ at android.view.View.getDisplayList(View.java:10417)
+ at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597)
+ at android.view.View.getDisplayList(View.java:10380)
+ at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597)
+ at android.view.View.getDisplayList(View.java:10380)
+ at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597)
+ at android.view.View.getDisplayList(View.java:10380)
+ at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597)
+ at android.view.View.getDisplayList(View.java:10380)
+ at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597)
+ at android.view.View.getDisplayList(View.java:10380)
+ at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842)
+ at android.view.ViewRootImpl.draw(ViewRootImpl.java:1910)
+ at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634)
+ at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
+ at android.os.Handler.dispatchMessage(Handler.java:99)
+ at android.os.Looper.loop(Looper.java:137)
+ at android.app.ActivityThread.main(ActivityThread.java:4424)
+ at java.lang.reflect.Method.invokeNative(Native Method)
+ at java.lang.reflect.Method.invoke(Method.java:511)
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
+ at dalvik.system.NativeStart.main(Native Method)
+
+
Project Information

0 comments on commit 17d1380

Please sign in to comment.