add Java APIs needed for WhatsApp MainActivity and ConversationActivity

This commit is contained in:
Julian Winkler
2024-08-25 11:20:01 +02:00
parent 9d8e091799
commit c492e1f03f
74 changed files with 903 additions and 69 deletions

View File

@@ -28,6 +28,11 @@ public class BitmapDrawable extends Drawable {
this.paintable = bitmap.getTexture();
}
public BitmapDrawable(Bitmap bitmap) {
this.bitmap = bitmap;
this.paintable = bitmap.getTexture();
}
public Bitmap getBitmap() {
return bitmap;
}