I just checked the git history and the bug was fixed in Android 3.0.

On Fri, Jul 6, 2012 at 1:33 AM, Olof Hedman <[email protected]> wrote:

> Thanks for confirming.
> Do you know where I can find information on when it was fixed?
> Ideally I'd like to only use the workaround when its needed.
>
> Cheers,
> Olof
>
> On Thursday, July 5, 2012 7:29:49 PM UTC+2, Romain Guy (Google) wrote:
>>
>> It's an unfortunate bug that was fixed in 3.x or 4.x.
>> On Jul 5, 2012 8:05 AM, "Olof Hedman" wrote:
>>
>>> Hi,
>>>
>>> I'm investigating a bug that I've so far only reproduced on a Samsung
>>> i5500 running Android 2.2.
>>>
>>> I'm first creating a bitmap using ALPHA_8 config, like so:
>>>
>>> Bitmap textBmp = Bitmap.createBitmap(textureW, textureH, Bitmap.Config.
>>> ALPHA_8);
>>>
>>> Then I want to make an immutable copy of a subregion, so I use:
>>>
>>> Bitmap textureBmp = Bitmap.createBitmap(textBmp, 0, 0, subW, subH);
>>>
>>> I expect it to return an ALPHA_8 bitmap, and it also does this on my ICS
>>> devices, but on the above phone it suddenly is ARGB_8888 !
>>>
>>> Is this a known problem? Anything I can do, except creating my bitmap
>>> manually and make a canvas and do a blit?
>>>
>>>
>>> Cheers,
>>>
>>> Olof
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@**
>>> googlegroups.com <[email protected]>
>>> To unsubscribe from this group, send email to
>>> android-developers+**[email protected]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Romain Guy
Android framework engineer
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to