You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
fixes to make Picasso Image Loader work
This library is used by newer NewPipe versions
This commit is contained in:
@@ -1208,7 +1208,7 @@ public final class Bitmap {
|
||||
* @return number of bytes between rows of the native bitmap pixels.
|
||||
*/
|
||||
public final int getRowBytes() {
|
||||
return nativeRowBytes(mNativeBitmap);
|
||||
return nativeRowBytes(pixbuf);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1574,7 +1574,8 @@ public final class Bitmap {
|
||||
* and therefore is harmless.
|
||||
*/
|
||||
public void prepareToDraw() {
|
||||
nativePrepareToDraw(mNativeBitmap);
|
||||
// nativePrepareToDraw(mNativeBitmap);
|
||||
System.out.println("Bitmap.prepareToDraw() called");
|
||||
}
|
||||
|
||||
private static class BitmapFinalizer {
|
||||
|
||||
Reference in New Issue
Block a user