Please sign in to comment.
Fix WebpBitmapFactoryImpl.createBitmap() being called with wrong class
Summary: When JNI debugging is enabled, ART is very pedantic about what class you are passing when invoking static method. In this case, this is causing a crash: runtime.cc:476] JNI DETECTED ERROR IN APPLICATION: can't call static android.graphics.Bitmap com.facebook.webpsupport.WebpBitmapFactoryImpl.createBitmap(int, int, android.graphics.BitmapFactory$Options) with class java.lang.Class<android.graphics.Bitmap> runtime.cc:476] in call to CallStaticObjectMethodV runtime.cc:476] from android.graphics.Bitmap com.facebook.webpsupport.WebpBitmapFactoryImpl.nativeDecodeByteArray(byte, int, int, android.graphics.BitmapFactory$Options, float, byte) Closes #1607 Reviewed By: massimocarli, oprisnik Differential Revision: D4386800 Pulled By: foghina fbshipit-source-id: 876e0fb944ebb42f5ace242b67f119c57ca2464a
- Loading branch information...
Showing with 1 addition and 1 deletion.