what changed between v1.8 and v1.1 result in the method `Bitmap#isMutable` return false?
See original GitHub issueFollowing code:when downloading image with imagepipeline
CloseableBitmap closeableBitmap = (CloseableBitmap) imageReference.get();
Bitmap bitmap = closeableBitmap.getUnderlyingBitmap();
GLog.d(TAG, "isMutable:" + bitmap.isMutable());
why return false? in previous version here return true? what changed?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Diff - platform/frameworks/layoutlib - Google Git
-20,13 +20,18 @@ import com.android.ide.common.rendering.api. ... Accumulator to store the value of the 1+ constants. int result = 0; boolean found = false; ......
Read more >PixelCamera/ImageSaver.java at master - GitHub
If is_hdr==true, this should be 1 or 3 images, and the images are combined/converted to a ... If is_hdr==false, then multiple images are...
Read more >PackageManager - Android Developers
org.xmlpull.v1.sax2 ... isLowRamDevice() method returns false. ... but asynchronously persists the package manager state after returning from the call, ...
Read more >How to show Animated GIF image in android application?
Open build.gradle (Module: app); put in dependencies: compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.+'.
Read more >PackageManager - Android SDK | Android Developers
Added in API level 1 ... This method was deprecated in API level 8. ... Map from the current package names in use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oprisnik The issue caused by different size of reused bitmap is similar to the issue Android Oreo - can’t load some PNG - BitmapFactory: bitmap marked for reuse (3944728 bytes) can’t fit new bitmap (7889456 bytes). A immutable bitmap returned also result from the change for issue #2021. so I close the issue
oh, i understand. the question also means what if i decode a png image with alhpa using RGB_565? it could reuse bitmap in Fresco, so we allocate a size of
width * height * (size of RGB_565, also 2)
. in native , it really change to ARGB_8888 because of having alpha, although we use a colortype of RGB_565. it needwidth * height * (size of ARGB_8888, also 4)
. so the crash happend