[android-developers] Bitmap mutability dependent on location

2010-08-30 Thread Ed
Hi all, Found a bit of a weird one which might be related to this post - http://groups.google.com/group/android-developers/browse_thread/thread/b0e2048495d61e0c I've check the public issue tracker for android and can't see anything related to this. Basically I'm setting an icon in a menu,

Re: [android-developers] Bitmap mutability dependent on location

2010-08-30 Thread Romain Guy
Mutating a drawable does not making the Bitmap it may contain mutable. You have to check whether the Bitmap you get is mutable. Bitmaps loaded from resources are never mutable, you must create a mutable copy first (see the Bitmap.create/copy documentation.) On Mon, Aug 30, 2010 at 12:53 AM, Ed