Dry
java.lang.UnsupportedOperationException at android.view.GLES20Canvas.clipPath (Gles20canvas.java: 287) at Br.com.iba.view.PageCurlView.drawCurl (pagecurlview.java:284) at Br.com.iba.view.PageCurlView.onDraw (Pagecurlview.java:353) at Android.view.View.draw (View.java: 9291)
In the canvas of the Clippath method to draw the image, on the NEXUS5 run no problem, but to red rice phone on the No, show no effect, after a change of a Huawei mobile phone to try, direct crash, so good, better than not collapse but show no effect to better, After searching on the StackOverflow, a solution was found.
The reason is because hardware acceleration is not supported.
Solve
null);
I'm the dividing line of the king of the Land Tiger.
Reference: Http://stackoverflow.com/questions/7401319/use-hardwareacceleration-flag-with-canvas-clippath
Android--Canvas java.lang.UnsupportedOperationException