title: Android 4.0 compatibility issues with Canvas.clipPath
body: <p>Recently my application received quite a lot comments that "it's not working" on Android Ice Cream Sandwich with CM9. I'm not able to reproduce the error on the emulator running Android 4.0 and thanks to the way android market works there's no way I can't contact those people to ask about the details.</p>
  
  <p>Luckily, one crash error report caught my eye. I'm using <code>Canvas.clipPath</code> to draw rounded corners... and looks like some phones are throwing <code>UnsupportedOperationException</code> when trying to use that function. Quick look at Google reveals that it seems to be a problem when using hardware acceleration in Android 4.0 - so that's the potential reason of received comments.</p>
  
  <p>The question is - what's going on? Weren't applications hardware accelerated in previous android versions? Why such common function isn't supported? What's the workaround?</p>
  
  <p>Example usage of Canvas.clipPath can be found in my other post. Check the accepted answer here: <a href="https://stackoverflow.com/questions/6761907/android-rounded-corners-in-listview">Android rounded corners in ListView</a></p>
  
  <p>Thanks in advance</p>